Okay, well hopefully this is helpful to you:
View attachment 28676
Peak to peak on pitch oscillation is ~95 seconds.
As you can see things start to go wrong at 22:53 GET.
Unfortunately I can't get roll data with orbiters flight data recorder.
The attitude oscillations seem to me to indicate that control gain is too high, or thrusters are too strong.
I don't know how the Yaw gyros are slaved, but is it possible that there is a sign error somewhere. This one gets me a lot with Orbiter's left-handed coördinate system.
I make use heavily of oapiDebugString() to see what's going on in situations like this.