Also if h.diff(y) is a constant (no free symbols). While in that case, the ODE would be very simple, you should still be able to compute the infinitesimals.