I grounded the probe to primary ground and I checked signal on output terminals. Both terminals was showing signal. Got doubt and probed on secondary ground and there also I was getting output signal. Then I grounded the head unit ground to rca and the problem solved. But my main problem was not that. Main problem was amp keeps on but output suddenly goes off. I was thinking that getting signal on negative terminal probably was the problem.