{
var state = {y: [1, 0], t: 0}
var options = {tLimit: Math.PI * 2 * 100.0, tolerance: 1e-15}
var t1 = performance.now();
while (!state.limitReached) {
ode45(state, (yp, y, t) => {yp[0] = y[1], yp[1] = -y[0]}, options)
}
var t2 = performance.now();
console.log(t2 - t1)
return state
}