pulse response of opamp integrator
It might be the initial conditions that are wrong.


  Thanks a lot....From last two hours I am trying to figure out this
  weird behavior. Now I just added IC=0 in capacitor....I am getting
  triangular waveform.