You're probably mistaken. The code above does not look like an oscillator. Check if you plotted it correctly and used right parameter values.