add tests for ODEModel_getJacobiElement() and ODEModel_freeJacobian()
constify
make it safer with given negative index