Bug with solvers for stiffness in version 6.80.1 of OrdinaryDiffEq

These days I have been using Rosenbrock23() with OrdinaryDiffEq v6.75.0 without any bugs. Recently I upgraded to OrdinaryDiffEq v6.80.1 and it just broke. Here is a MWE:

using OrdinaryDiffEq

function dudt(du, u, p, t)
    du = 3*u

prob = ODEProblem(dudt, [1.0], (0.0, 1.0))
sol = solve(prob, Rosenbrock23())

When using Tsit5() or Vern7() it does not fail. But when I use an actual method for stiff equations like Rosenbrock23() or Rodas5P(), I the following special error message:

error.jl (28.7 KB)

(i parsed the text as a .jl file, sorry about that)

I believe this is ModelingToolkit takes forever to precompile on Windows 11 - #92 by ChrisRackauckas. TLDR is that 1.10.0 through 1.10.3 have a compiler bug on windows that was discovered last week. 1.10.4 fixes it and will be officially released in the next day or two (Julia 1.10.4 testing period)

1 Like