We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632e311 commit fe195b8Copy full SHA for fe195b8
test/extensions/fmi.jl
@@ -9,6 +9,7 @@ import ModelingToolkit as MTK
9
prob = ODEProblem{true, SciMLBase.FullSpecialize}(
10
sys, [sys.mass__s => 0.5, sys.mass__v => 0.0], (0.0, 8.0))
11
sol = solve(prob, Tsit5(); reltol = 1e-8, abstol = 1e-8)
12
+ @test SciMLBase.successful_retcode(sol)
13
14
truesol = FMI.simulate(fmu, (0.0, 8.0); saveat = 0.0:0.1:8.0)
15
@test sol(0.0:0.1:8.0).u≈truesol.states.u atol=1e-4
0 commit comments