autocorrelation test of pvar gmm model

How to check the autocorrelation of residuals of panel VAR estimated using GMM?