Package evaluation to test Modia on Julia 1.14.0-DEV.1262 (4060c45d70*) started at 2025-11-19T01:09:30.352 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 8.75s ################################################################################ # Installation # Installing Modia... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [cb905087] + Modia v0.12.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [47edcb42] + ADTypes v1.19.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.4.0 [66dad0bd] + AliasTables v1.1.3 [a95523ee] + AlmostBlockDiagonals v0.1.10 [ec485272] + ArnoldiMethod v0.4.0 [4fba245c] + ArrayInterface v7.22.0 [4c555306] + ArrayLayouts v1.12.0 [aae01518] + BandedMatrices v1.10.1 [62783981] + BitTwiddlingConvenienceFunctions v0.1.6 [764a87c0] + BoundaryValueDiffEq v5.18.0 [7227322d] + BoundaryValueDiffEqAscher v1.8.0 [56b672f2] + BoundaryValueDiffEqCore v1.11.1 [85d9eb09] + BoundaryValueDiffEqFIRK v1.9.0 [1a22d4ce] + BoundaryValueDiffEqMIRK v1.9.0 [9255f1d6] + BoundaryValueDiffEqMIRKN v1.8.0 [ed55bfe0] + BoundaryValueDiffEqShooting v1.9.0 [70df07ce] + BracketingNonlinearSolve v1.6.0 [fa961155] + CEnum v0.5.0 [2a0fbf3d] + CPUSummary v0.2.7 [49dc2e85] + Calculus v0.5.2 [d360d2e6] + ChainRulesCore v1.26.0 [fb6a15b2] + CloseOpenIntervals v0.1.13 [38540f10] + CommonSolve v0.2.4 [bbf7d656] + CommonSubexpressions v0.3.1 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [34da2185] + Compat v4.18.1 [a33af91c] + CompositionsBase v0.1.2 [2569d6c7] + ConcreteStructs v0.2.3 [187b0558] + ConstructionBase v1.6.0 [adafc99b] + CpuId v0.3.1 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.8.1 ⌅ [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [bcd4f6db] + DelayDiffEq v5.61.1 [2b5f629d] + DiffEqBase v6.191.0 [459566f4] + DiffEqCallbacks v4.10.1 [77a26b50] + DiffEqNoiseProcess v5.24.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [0c46a032] + DifferentialEquations v7.17.0 [a0c0ee7d] + DifferentiationInterface v0.7.12 [b4f34e82] + Distances v0.10.12 [31c24e10] + Distributions v0.25.122 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.5 [f151be2c] + EnzymeCore v0.8.17 [d4d017d3] + ExponentialUtilities v1.28.0 [e2ba6199] + ExprTools v0.1.10 [55351af7] + ExproniconLite v0.10.14 [9d29842c] + FastAlmostBandedMatrices v0.1.5 [7034ab61] + FastBroadcast v0.3.5 [9aa1b823] + FastClosures v0.3.2 [442a2c76] + FastGaussQuadrature v1.1.0 [a4df4552] + FastPower v1.2.0 [1a297f60] + FillArrays v1.15.0 [6a86dc24] + FiniteDiff v2.29.0 ⌅ [f6369f11] + ForwardDiff v0.10.39 [069b7b12] + FunctionWrappers v1.1.3 [77dc65aa] + FunctionWrappersWrappers v0.1.3 [46192b85] + GPUArraysCore v0.2.0 [c145ed77] + GenericSchur v0.5.6 [86223c79] + Graphs v1.13.1 [3e5b6fbb] + HostCPUFeatures v0.1.17 [34004b35] + HypergeometricFunctions v0.3.28 [615f187c] + IfElse v0.1.1 [d25df0c9] + Inflate v0.1.5 [842dd82b] + InlineStrings v1.4.5 [3587e190] + InverseFunctions v0.1.17 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.1 ⌅ [682c06a0] + JSON v0.21.4 [ae98c720] + Jieko v0.2.1 [ccbc3e58] + JumpProcesses v9.19.1 [ba0b0d4f] + Krylov v0.10.2 [b964fa9f] + LaTeXStrings v1.4.0 [10f19ff3] + LayoutPointers v0.1.17 [5078a376] + LazyArrays v2.9.0 [2d8b4e74] + LevyArea v1.0.0 [87fe0de2] + LineSearch v0.1.4 [d3d80556] + LineSearches v7.4.0 [7ed4a6bd] + LinearSolve v3.47.0 [2ab3a3ac] + LogExpFunctions v0.3.29 [e6f89c97] + LoggingExtras v1.2.0 [bdcacae8] + LoopVectorization v0.12.173 [1914dd2f] + MacroTools v0.5.16 [d125e4d3] + ManualMemory v0.1.8 [a3b82374] + MatrixFactorizations v3.1.3 [bb5d69b7] + MaybeInplace v0.1.4 [eff96d63] + Measurements v2.14.1 [e1d29d7a] + Missings v1.2.0 [cb905087] + Modia v0.12.1 [ec7bf1ca] + ModiaBase v0.11.1 [0987c9cc] + MonteCarloMeasurements v1.5.1 [2e0e35c7] + Moshi v0.3.7 [46d2c3a1] + MuladdMacro v0.2.4 [d41bc354] + NLSolversBase v7.10.0 [2774e3e8] + NLsolve v4.5.1 [77ba4419] + NaNMath v1.1.3 [8913a72c] + NonlinearSolve v4.12.0 [be0214bd] + NonlinearSolveBase v2.4.0 [5959db7a] + NonlinearSolveFirstOrder v1.10.0 [9a2c21bd] + NonlinearSolveQuasiNewton v1.11.0 [26075421] + NonlinearSolveSpectralMethods v1.6.0 [6fe1bfb0] + OffsetArrays v1.17.0 [429524aa] + Optim v1.13.2 [bac558e1] + OrderedCollections v1.8.1 [1dea7af3] + OrdinaryDiffEq v6.103.0 [89bda076] + OrdinaryDiffEqAdamsBashforthMoulton v1.5.0 [6ad6398a] + OrdinaryDiffEqBDF v1.10.1 [bbf590c4] + OrdinaryDiffEqCore v1.36.0 [50262376] + OrdinaryDiffEqDefault v1.8.0 [4302a76b] + OrdinaryDiffEqDifferentiation v1.16.1 [9286f039] + OrdinaryDiffEqExplicitRK v1.4.0 [e0540318] + OrdinaryDiffEqExponentialRK v1.8.0 [becaefa8] + OrdinaryDiffEqExtrapolation v1.9.0 [5960d6e9] + OrdinaryDiffEqFIRK v1.16.0 [101fe9f7] + OrdinaryDiffEqFeagin v1.4.0 [d3585ca7] + OrdinaryDiffEqFunctionMap v1.5.0 [d28bc4f8] + OrdinaryDiffEqHighOrderRK v1.5.0 [9f002381] + OrdinaryDiffEqIMEXMultistep v1.7.0 [521117fe] + OrdinaryDiffEqLinear v1.6.0 [1344f307] + OrdinaryDiffEqLowOrderRK v1.6.0 [b0944070] + OrdinaryDiffEqLowStorageRK v1.7.0 [127b3ac7] + OrdinaryDiffEqNonlinearSolve v1.15.0 [c9986a66] + OrdinaryDiffEqNordsieck v1.4.0 [5dd0a6cf] + OrdinaryDiffEqPDIRK v1.6.0 [5b33eab2] + OrdinaryDiffEqPRK v1.4.0 [04162be5] + OrdinaryDiffEqQPRK v1.4.0 [af6ede74] + OrdinaryDiffEqRKN v1.5.0 [43230ef6] + OrdinaryDiffEqRosenbrock v1.18.1 [2d112036] + OrdinaryDiffEqSDIRK v1.7.0 [669c94d9] + OrdinaryDiffEqSSPRK v1.7.0 [e3e12d00] + OrdinaryDiffEqStabilizedIRK v1.6.0 [358294b1] + OrdinaryDiffEqStabilizedRK v1.4.0 [fa646aed] + OrdinaryDiffEqSymplecticRK v1.7.0 [b1df2697] + OrdinaryDiffEqTsit5 v1.5.0 [79d7bb75] + OrdinaryDiffEqVerner v1.6.0 [90014a1f] + PDMats v0.11.36 [d96e819e] + Parameters v0.12.3 [69de0a69] + Parsers v2.8.3 [e409e4f3] + PoissonRandom v0.4.7 [f517fe37] + Polyester v0.7.18 [1d0040c9] + PolyesterWeave v0.2.2 [2dfb63ee] + PooledArrays v1.4.3 [85a6dd25] + PositiveFactorizations v0.2.4 [d236fae5] + PreallocationTools v0.4.34 [aea7be01] + PrecompileTools v1.3.3 [21216c6a] + Preferences v1.5.0 [08abe8d2] + PrettyTables v3.1.0 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [74087812] + Random123 v1.7.1 [e6cf234a] + RandomNumbers v1.6.0 [3cdcf5f2] + RecipesBase v1.3.4 [731186ca] + RecursiveArrayTools v3.39.0 [f2c3362d] + RecursiveFactorization v0.2.26 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [ae5879a3] + ResettableStacks v1.1.1 [79098fc4] + Rmath v0.9.0 [7e49a35a] + RuntimeGeneratedFunctions v0.5.16 [94e857df] + SIMDTypes v0.1.0 [476501e8] + SLEEFPirates v0.6.43 [0bca4576] + SciMLBase v2.127.0 [19f34311] + SciMLJacobianOperators v0.1.11 [a6db7da4] + SciMLLogging v1.5.0 [c0aeaf25] + SciMLOperators v1.11.0 [431bcebd] + SciMLPublic v1.0.0 [53ae85a6] + SciMLStructures v1.7.0 [91c51154] + SentinelArrays v1.4.8 [efcf1570] + Setfield v1.1.2 [3201582d] + SignalTables v0.4.4 [727e6d20] + SimpleNonlinearSolve v2.9.0 [699a6c99] + SimpleTraits v0.9.5 [ce78b400] + SimpleUnPack v1.1.0 [66db9d55] + SnoopPrecompile v1.0.3 [a2af1166] + SortingAlgorithms v1.2.2 [bd59d7e1] + SparseBandedMatrices v1.0.0 [9f842d2f] + SparseConnectivityTracer v1.1.3 [0a514795] + SparseMatrixColorings v0.4.23 [276daf66] + SpecialFunctions v2.6.1 [aedffcd0] + Static v1.3.1 [0d7ed370] + StaticArrayInterface v1.8.0 [90137ffa] + StaticArrays v1.9.15 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.8 [4c63d2b9] + StatsFuns v1.5.2 [9672c7b4] + SteadyStateDiffEq v2.8.0 [789caeaf] + StochasticDiffEq v6.84.0 [7792a7ef] + StrideArraysCore v0.5.8 [892a3eda] + StringManipulation v0.4.1 ⌅ [c3572dad] + Sundials v4.28.0 [2efcf032] + SymbolicIndexingInterface v0.3.46 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [8290d209] + ThreadingUtilities v0.5.5 [a759f4b9] + TimerOutputs v0.5.29 [d5829a12] + TriangularSolve v0.2.1 [781d530d] + TruncatedStacktraces v1.4.0 [3a884ed6] + UnPack v1.0.2 [1986cc42] + Unitful v1.25.1 [3d5dd08c] + VectorizationBase v0.21.72 [33b4df10] + VectorizedRNG v0.2.25 [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0 [856f044c] + MKL_jll v2025.2.0+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 ⌅ [fb77eaff] + Sundials_jll v5.2.3+0 [1317d2d5] + oneTBB_jll v2022.0.0+1 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [3fa0cd96] + REPL v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [9e88b42a] + Serialization v1.11.0 [1a1011a3] + SharedArrays v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.16.0+0 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.11.4 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.7+0 [458c3c95] + OpenSSL_jll v3.5.4+0 [efcefdf7] + PCRE2_jll v10.47.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.68.0+1 [3f19e933] + p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 6.71s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 2482.1 ms ✓ SymbolicIndexingInterface 20920.7 ms ✓ SignalTables 9947.0 ms ✓ MonteCarloMeasurements 3373.8 ms ✓ VectorizedRNG → VectorizedRNGStaticArraysExt 14351.5 ms ✓ TriangularSolve 3632.3 ms ✓ SymbolicIndexingInterface → SymbolicIndexingInterfacePrettyTablesExt 4026.7 ms ✓ RecursiveArrayTools 6998.3 ms ✓ MonteCarloMeasurements → MeasurementsExt 6525.0 ms ✓ MonteCarloMeasurements → RecipesBaseExt 9396.5 ms ✓ MonteCarloMeasurements → ForwardDiffExt 6936.3 ms ✓ MonteCarloMeasurements → UnitfulExt 5645.6 ms ✓ FastPower → FastPowerMonteCarloMeasurementsExt 43409.4 ms ✓ RecursiveFactorization 1724.9 ms ✓ RecursiveArrayTools → RecursiveArrayToolsSparseArraysExt 1240.4 ms ✓ RecursiveArrayTools → RecursiveArrayToolsTablesExt 2328.6 ms ✓ RecursiveArrayTools → RecursiveArrayToolsFastBroadcastExt 5552.2 ms ✓ RecursiveArrayTools → RecursiveArrayToolsMonteCarloMeasurementsExt 1874.3 ms ✓ RecursiveArrayTools → RecursiveArrayToolsForwardDiffExt 1206.4 ms ✓ RecursiveArrayTools → RecursiveArrayToolsMeasurementsExt 23923.3 ms ✓ SciMLBase 11087.2 ms ✓ ModiaBase 3088.6 ms ✓ SciMLBase → SciMLBaseChainRulesCoreExt 7514.7 ms ✓ SciMLBase → SciMLBaseMonteCarloMeasurementsExt 4477.2 ms ✓ SciMLBase → SciMLBaseForwardDiffExt 2995.5 ms ✓ SciMLBase → SciMLBaseMeasurementsExt 2986.5 ms ✓ SciMLBase → SciMLBaseDifferentiationInterfaceExt 4798.8 ms ✓ SciMLBase → SciMLBaseDistributionsExt 6458.6 ms ✓ DiffEqBase 21259.2 ms ✓ LinearSolve 8700.7 ms ✓ SciMLJacobianOperators 4231.1 ms ✓ DiffEqBase → DiffEqBaseSparseArraysExt 5087.2 ms ✓ DiffEqBase → DiffEqBaseUnitfulExt 4097.9 ms ✓ DiffEqBase → DiffEqBaseChainRulesCoreExt 4582.4 ms ✓ DiffEqBase → DiffEqBaseForwardDiffExt 7844.1 ms ✓ DiffEqBase → DiffEqBaseMonteCarloMeasurementsExt 3547.3 ms ✓ DiffEqBase → DiffEqBaseMeasurementsExt 9462.4 ms ✓ OrdinaryDiffEqCore 9564.4 ms ✓ DiffEqCallbacks 7666.0 ms ✓ LinearSolve → LinearSolveBandedMatricesExt 6282.5 ms ✓ LinearSolve → LinearSolveEnzymeExt 10802.9 ms ✓ LinearSolve → LinearSolveSparseArraysExt 9472.2 ms ✓ LinearSolve → LinearSolveRecursiveFactorizationExt 9726.0 ms ✓ LinearSolve → LinearSolveForwardDiffExt 9629.9 ms ✓ LinearSolve → LinearSolveFastAlmostBandedMatricesExt 10479.1 ms ✓ LineSearch 16635.8 ms ✓ NonlinearSolveBase 23054.3 ms ✓ Sundials 9639.7 ms ✓ DiffEqNoiseProcess 3981.7 ms ✓ OrdinaryDiffEqCore → OrdinaryDiffEqCoreEnzymeCoreExt 10688.9 ms ✓ JumpProcesses 4856.3 ms ✓ LineSearch → LineSearchLineSearchesExt 3873.0 ms ✓ NonlinearSolveBase → NonlinearSolveBaseSparseMatrixColoringsExt 3796.5 ms ✓ NonlinearSolveBase → NonlinearSolveBaseSparseArraysExt 3162.9 ms ✓ NonlinearSolveBase → NonlinearSolveBaseChainRulesCoreExt 6368.8 ms ✓ NonlinearSolveBase → NonlinearSolveBaseLinearSolveExt 3579.2 ms ✓ NonlinearSolveBase → NonlinearSolveBaseLineSearchExt 4841.6 ms ✓ NonlinearSolveBase → NonlinearSolveBaseForwardDiffExt 6776.6 ms ✓ NonlinearSolveBase → NonlinearSolveBaseBandedMatricesExt 8265.7 ms ✓ BracketingNonlinearSolve 7537.1 ms ✓ SteadyStateDiffEq 8260.7 ms ✓ OrdinaryDiffEqStabilizedRK 5796.8 ms ✓ OrdinaryDiffEqFunctionMap 59083.8 ms ✓ OrdinaryDiffEqVerner 6037.6 ms ✓ OrdinaryDiffEqQPRK 7851.7 ms ✓ OrdinaryDiffEqSymplecticRK 9484.6 ms ✓ OrdinaryDiffEqLowOrderRK 7375.5 ms ✓ OrdinaryDiffEqFeagin 8394.4 ms ✓ OrdinaryDiffEqSSPRK 7104.7 ms ✓ OrdinaryDiffEqRKN 7018.8 ms ✓ OrdinaryDiffEqHighOrderRK 6131.9 ms ✓ OrdinaryDiffEqExplicitRK 13051.9 ms ✓ OrdinaryDiffEqTsit5 8421.6 ms ✓ OrdinaryDiffEqLinear 6286.3 ms ✓ OrdinaryDiffEqPRK 8530.1 ms ✓ OrdinaryDiffEqLowStorageRK 14420.8 ms ✓ OrdinaryDiffEqDifferentiation 29996.7 ms ✓ NonlinearSolveQuasiNewton 16691.1 ms ✓ NonlinearSolveSpectralMethods 47545.7 ms ✓ NonlinearSolveFirstOrder 3739.2 ms ✓ BracketingNonlinearSolve → BracketingNonlinearSolveForwardDiffExt 7498.3 ms ✓ OrdinaryDiffEqAdamsBashforthMoulton 5302.7 ms ✓ OrdinaryDiffEqNordsieck 9023.2 ms ✓ OrdinaryDiffEqDifferentiation → OrdinaryDiffEqDifferentiationSparseArraysExt 8900.7 ms ✓ NonlinearSolveQuasiNewton → NonlinearSolveQuasiNewtonForwardDiffExt 5671.7 ms ✓ NonlinearSolveSpectralMethods → NonlinearSolveSpectralMethodsForwardDiffExt 14453.9 ms ✓ BoundaryValueDiffEqCore 4552.5 ms ✓ BracketingNonlinearSolve → BracketingNonlinearSolveChainRulesCoreExt 20178.6 ms ✓ SimpleNonlinearSolve 14899.4 ms ✓ OrdinaryDiffEqExponentialRK 17249.6 ms ✓ OrdinaryDiffEqExtrapolation 46791.1 ms ✓ OrdinaryDiffEqRosenbrock 19088.4 ms ✓ BoundaryValueDiffEqAscher 292648.9 ms ✓ BoundaryValueDiffEqFIRK 165887.5 ms ✓ BoundaryValueDiffEqMIRK 18220.7 ms ✓ BoundaryValueDiffEqShooting 21105.5 ms ✓ BoundaryValueDiffEqMIRKN 4114.5 ms ✓ SimpleNonlinearSolve → SimpleNonlinearSolveChainRulesCoreExt 53665.9 ms ✓ BoundaryValueDiffEq 38173.9 ms ✓ NonlinearSolve 13308.2 ms ✓ NonlinearSolve → NonlinearSolveSundialsExt 12144.3 ms ✓ NonlinearSolve → NonlinearSolveNLsolveExt 21020.5 ms ✓ OrdinaryDiffEqNonlinearSolve 15275.6 ms ✓ OrdinaryDiffEqIMEXMultistep 14907.2 ms ✓ OrdinaryDiffEqStabilizedIRK 16403.1 ms ✓ OrdinaryDiffEqPDIRK 17745.1 ms ✓ OrdinaryDiffEqSDIRK 59318.3 ms ✓ OrdinaryDiffEqFIRK 26553.7 ms ✓ StochasticDiffEq 31876.3 ms ✓ OrdinaryDiffEqBDF 74798.0 ms ✓ OrdinaryDiffEqDefault 24045.8 ms ✓ OrdinaryDiffEq 27075.8 ms ✓ DelayDiffEq 86089.6 ms ✓ DifferentialEquations   Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/jCYEx/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 137149.0 ms ? Modia 113 dependencies successfully precompiled in 2110 seconds. 271 already precompiled. 1 dependencies failed but may be precompilable after restarting julia 1 dependency had output during precompilation: ┌ Modia │ Welcome to Modia - Dynamic Modeling and Simulation with Julia │ Version 0.12.0 (2023-06-04) │ WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/jCYEx/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. │ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. └ Precompilation completed after 2100.04s ################################################################################ # Testing # Testing Modia Status `/tmp/jl_c2Evuq/Project.toml` [a93c6f00] DataFrames v1.8.1 [2b5f629d] DiffEqBase v6.191.0 [0c46a032] DifferentialEquations v7.17.0 [6a86dc24] FiniteDiff v2.29.0 ⌅ [f6369f11] ForwardDiff v0.10.39 ⌅ [682c06a0] JSON v0.21.4 [eff96d63] Measurements v2.14.1 [cb905087] Modia v0.12.1 [ec7bf1ca] ModiaBase v0.11.1 [0987c9cc] MonteCarloMeasurements v1.5.1 [bac558e1] OrderedCollections v1.8.1 [f2c3362d] RecursiveFactorization v0.2.26 [189a3867] Reexport v1.2.2 [3201582d] SignalTables v0.4.4 [66db9d55] SnoopPrecompile v1.0.3 [90137ffa] StaticArrays v1.9.15 ⌅ [c3572dad] Sundials v4.28.0 [a759f4b9] TimerOutputs v0.5.29 [1986cc42] Unitful v1.25.1 [b77e0a4c] InteractiveUtils v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [de0858da] Printf v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_c2Evuq/Manifest.toml` [47edcb42] ADTypes v1.19.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.4.0 [66dad0bd] AliasTables v1.1.3 [a95523ee] AlmostBlockDiagonals v0.1.10 [ec485272] ArnoldiMethod v0.4.0 [4fba245c] ArrayInterface v7.22.0 [4c555306] ArrayLayouts v1.12.0 [aae01518] BandedMatrices v1.10.1 [62783981] BitTwiddlingConvenienceFunctions v0.1.6 [764a87c0] BoundaryValueDiffEq v5.18.0 [7227322d] BoundaryValueDiffEqAscher v1.8.0 [56b672f2] BoundaryValueDiffEqCore v1.11.1 [85d9eb09] BoundaryValueDiffEqFIRK v1.9.0 [1a22d4ce] BoundaryValueDiffEqMIRK v1.9.0 [9255f1d6] BoundaryValueDiffEqMIRKN v1.8.0 [ed55bfe0] BoundaryValueDiffEqShooting v1.9.0 [70df07ce] BracketingNonlinearSolve v1.6.0 [fa961155] CEnum v0.5.0 [2a0fbf3d] CPUSummary v0.2.7 [49dc2e85] Calculus v0.5.2 [d360d2e6] ChainRulesCore v1.26.0 [fb6a15b2] CloseOpenIntervals v0.1.13 [38540f10] CommonSolve v0.2.4 [bbf7d656] CommonSubexpressions v0.3.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.18.1 [a33af91c] CompositionsBase v0.1.2 [2569d6c7] ConcreteStructs v0.2.3 [187b0558] ConstructionBase v1.6.0 [adafc99b] CpuId v0.3.1 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.8.1 ⌅ [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [bcd4f6db] DelayDiffEq v5.61.1 [2b5f629d] DiffEqBase v6.191.0 [459566f4] DiffEqCallbacks v4.10.1 [77a26b50] DiffEqNoiseProcess v5.24.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [0c46a032] DifferentialEquations v7.17.0 [a0c0ee7d] DifferentiationInterface v0.7.12 [b4f34e82] Distances v0.10.12 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.5 [f151be2c] EnzymeCore v0.8.17 [d4d017d3] ExponentialUtilities v1.28.0 [e2ba6199] ExprTools v0.1.10 [55351af7] ExproniconLite v0.10.14 [9d29842c] FastAlmostBandedMatrices v0.1.5 [7034ab61] FastBroadcast v0.3.5 [9aa1b823] FastClosures v0.3.2 [442a2c76] FastGaussQuadrature v1.1.0 [a4df4552] FastPower v1.2.0 [1a297f60] FillArrays v1.15.0 [6a86dc24] FiniteDiff v2.29.0 ⌅ [f6369f11] ForwardDiff v0.10.39 [069b7b12] FunctionWrappers v1.1.3 [77dc65aa] FunctionWrappersWrappers v0.1.3 [46192b85] GPUArraysCore v0.2.0 [c145ed77] GenericSchur v0.5.6 [86223c79] Graphs v1.13.1 [3e5b6fbb] HostCPUFeatures v0.1.17 [34004b35] HypergeometricFunctions v0.3.28 [615f187c] IfElse v0.1.1 [d25df0c9] Inflate v0.1.5 [842dd82b] InlineStrings v1.4.5 [3587e190] InverseFunctions v0.1.17 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.1 ⌅ [682c06a0] JSON v0.21.4 [ae98c720] Jieko v0.2.1 [ccbc3e58] JumpProcesses v9.19.1 [ba0b0d4f] Krylov v0.10.2 [b964fa9f] LaTeXStrings v1.4.0 [10f19ff3] LayoutPointers v0.1.17 [5078a376] LazyArrays v2.9.0 [2d8b4e74] LevyArea v1.0.0 [87fe0de2] LineSearch v0.1.4 [d3d80556] LineSearches v7.4.0 [7ed4a6bd] LinearSolve v3.47.0 [2ab3a3ac] LogExpFunctions v0.3.29 [e6f89c97] LoggingExtras v1.2.0 [bdcacae8] LoopVectorization v0.12.173 [1914dd2f] MacroTools v0.5.16 [d125e4d3] ManualMemory v0.1.8 [a3b82374] MatrixFactorizations v3.1.3 [bb5d69b7] MaybeInplace v0.1.4 [eff96d63] Measurements v2.14.1 [e1d29d7a] Missings v1.2.0 [cb905087] Modia v0.12.1 [ec7bf1ca] ModiaBase v0.11.1 [0987c9cc] MonteCarloMeasurements v1.5.1 [2e0e35c7] Moshi v0.3.7 [46d2c3a1] MuladdMacro v0.2.4 [d41bc354] NLSolversBase v7.10.0 [2774e3e8] NLsolve v4.5.1 [77ba4419] NaNMath v1.1.3 [8913a72c] NonlinearSolve v4.12.0 [be0214bd] NonlinearSolveBase v2.4.0 [5959db7a] NonlinearSolveFirstOrder v1.10.0 [9a2c21bd] NonlinearSolveQuasiNewton v1.11.0 [26075421] NonlinearSolveSpectralMethods v1.6.0 [6fe1bfb0] OffsetArrays v1.17.0 [429524aa] Optim v1.13.2 [bac558e1] OrderedCollections v1.8.1 [1dea7af3] OrdinaryDiffEq v6.103.0 [89bda076] OrdinaryDiffEqAdamsBashforthMoulton v1.5.0 [6ad6398a] OrdinaryDiffEqBDF v1.10.1 [bbf590c4] OrdinaryDiffEqCore v1.36.0 [50262376] OrdinaryDiffEqDefault v1.8.0 [4302a76b] OrdinaryDiffEqDifferentiation v1.16.1 [9286f039] OrdinaryDiffEqExplicitRK v1.4.0 [e0540318] OrdinaryDiffEqExponentialRK v1.8.0 [becaefa8] OrdinaryDiffEqExtrapolation v1.9.0 [5960d6e9] OrdinaryDiffEqFIRK v1.16.0 [101fe9f7] OrdinaryDiffEqFeagin v1.4.0 [d3585ca7] OrdinaryDiffEqFunctionMap v1.5.0 [d28bc4f8] OrdinaryDiffEqHighOrderRK v1.5.0 [9f002381] OrdinaryDiffEqIMEXMultistep v1.7.0 [521117fe] OrdinaryDiffEqLinear v1.6.0 [1344f307] OrdinaryDiffEqLowOrderRK v1.6.0 [b0944070] OrdinaryDiffEqLowStorageRK v1.7.0 [127b3ac7] OrdinaryDiffEqNonlinearSolve v1.15.0 [c9986a66] OrdinaryDiffEqNordsieck v1.4.0 [5dd0a6cf] OrdinaryDiffEqPDIRK v1.6.0 [5b33eab2] OrdinaryDiffEqPRK v1.4.0 [04162be5] OrdinaryDiffEqQPRK v1.4.0 [af6ede74] OrdinaryDiffEqRKN v1.5.0 [43230ef6] OrdinaryDiffEqRosenbrock v1.18.1 [2d112036] OrdinaryDiffEqSDIRK v1.7.0 [669c94d9] OrdinaryDiffEqSSPRK v1.7.0 [e3e12d00] OrdinaryDiffEqStabilizedIRK v1.6.0 [358294b1] OrdinaryDiffEqStabilizedRK v1.4.0 [fa646aed] OrdinaryDiffEqSymplecticRK v1.7.0 [b1df2697] OrdinaryDiffEqTsit5 v1.5.0 [79d7bb75] OrdinaryDiffEqVerner v1.6.0 [90014a1f] PDMats v0.11.36 [d96e819e] Parameters v0.12.3 [69de0a69] Parsers v2.8.3 [e409e4f3] PoissonRandom v0.4.7 [f517fe37] Polyester v0.7.18 [1d0040c9] PolyesterWeave v0.2.2 [2dfb63ee] PooledArrays v1.4.3 [85a6dd25] PositiveFactorizations v0.2.4 [d236fae5] PreallocationTools v0.4.34 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [08abe8d2] PrettyTables v3.1.0 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [74087812] Random123 v1.7.1 [e6cf234a] RandomNumbers v1.6.0 [3cdcf5f2] RecipesBase v1.3.4 [731186ca] RecursiveArrayTools v3.39.0 [f2c3362d] RecursiveFactorization v0.2.26 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [ae5879a3] ResettableStacks v1.1.1 [79098fc4] Rmath v0.9.0 [7e49a35a] RuntimeGeneratedFunctions v0.5.16 [94e857df] SIMDTypes v0.1.0 [476501e8] SLEEFPirates v0.6.43 [0bca4576] SciMLBase v2.127.0 [19f34311] SciMLJacobianOperators v0.1.11 [a6db7da4] SciMLLogging v1.5.0 [c0aeaf25] SciMLOperators v1.11.0 [431bcebd] SciMLPublic v1.0.0 [53ae85a6] SciMLStructures v1.7.0 [91c51154] SentinelArrays v1.4.8 [efcf1570] Setfield v1.1.2 [3201582d] SignalTables v0.4.4 [727e6d20] SimpleNonlinearSolve v2.9.0 [699a6c99] SimpleTraits v0.9.5 [ce78b400] SimpleUnPack v1.1.0 [66db9d55] SnoopPrecompile v1.0.3 [a2af1166] SortingAlgorithms v1.2.2 [bd59d7e1] SparseBandedMatrices v1.0.0 [9f842d2f] SparseConnectivityTracer v1.1.3 [0a514795] SparseMatrixColorings v0.4.23 [276daf66] SpecialFunctions v2.6.1 [aedffcd0] Static v1.3.1 [0d7ed370] StaticArrayInterface v1.8.0 [90137ffa] StaticArrays v1.9.15 [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.8 [4c63d2b9] StatsFuns v1.5.2 [9672c7b4] SteadyStateDiffEq v2.8.0 [789caeaf] StochasticDiffEq v6.84.0 [7792a7ef] StrideArraysCore v0.5.8 [892a3eda] StringManipulation v0.4.1 ⌅ [c3572dad] Sundials v4.28.0 [2efcf032] SymbolicIndexingInterface v0.3.46 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [8290d209] ThreadingUtilities v0.5.5 [a759f4b9] TimerOutputs v0.5.29 [d5829a12] TriangularSolve v0.2.1 [781d530d] TruncatedStacktraces v1.4.0 [3a884ed6] UnPack v1.0.2 [1986cc42] Unitful v1.25.1 [3d5dd08c] VectorizationBase v0.21.72 [33b4df10] VectorizedRNG v0.2.25 [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0 [856f044c] MKL_jll v2025.2.0+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 ⌅ [fb77eaff] Sundials_jll v5.2.3+0 [1317d2d5] oneTBB_jll v2022.0.0+1 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.16.0+0 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.68.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests...   Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/jCYEx/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 1 dependency had output during precompilation: ┌ Modia │ [Output was shown above] └ Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/jCYEx/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. WARNING: Method definition upreferred(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/jCYEx/ext/UnitfulExt.jl:17 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:155. ... Test Modia (version=0.12.0 with SilentNoPlot) Instantiating model TestVar1 in module: Main.Runtests.TestVariables in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestVariables.jl:59 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = _x[1] var"der(x)" = _p[:p]::Int64 * x + 1 Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time) end return nothing end end WARNING: Detected access to binding `TestVariables.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ┌ Warning: `sol.destats` is deprecated. Use `sol.stats` instead. │ caller = ip:0x0 └ @ Core :-1 Instantiating model FirstOrder in module: Main.Runtests.TestFirstOrder in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder.jl:16 WARNING: Detected access to binding `TestFirstOrder.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model FirstOrder Initialization at time = 0.0 s Initialization finished within 1.488917 seconds (399.56 k allocations: 21.103 MiB, 99.86% compilation time) Termination of FirstOrder at time = 10.0 s initCpuTime = 1.64 s simCpuTime = 7.95 s initAlloc = 25.9 MB simAlloc = 225.0 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 1248 (total number of getDerivatives! calls) nf_integrator = 745 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 124 nRejectedSteps = 0 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] Instantiating model FirstOrder2 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:19 WARNING: Detected access to binding `TestFirstOrder2.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model FirstOrder2 parameters = OrderedDict( T = 0.4 s x = 0.9 ), # │ state init unit ───┼─────────────────── 1 │ x 0.9 +++ Use SignalTables functions for post processing ... Show overview of result name unit size eltypeOrType kind attributes ──────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="FirstOrder2"), experiment=Map(star… time "s" [501] Float64 Var independent=true T "s" Float64 Par =0.4 der(x) "1/s" [501] Float64 Var u [501] Float64 Var x [501] Float64 Var start=0.9, fixed=true, state=true, der="der(x)" y [501] Float64 Var ... Get signal names, signals and signal info getSignalNames(firstOrder) = ["_attributes", "time", "T", "der(x)", "u", "x", "y"] getStateNames(firstOrder) = ["x"] getSignalInfo(firstOrder, "x") = OrderedCollections.OrderedDict{Symbol, Any}(:_class => :Var, :start => 0.9, :fixed => true, :state => true, :der => "der(x)", :_eltypeOrType => Float64, :_size => (501,)) ... Get values (getValues(firstOrder, "time"))[1:5] = [0.0, 0.02, 0.04, 0.06, 0.08] (getValues(firstOrder, "y"))[1:5] = [1.8, 1.7131964705158862, 1.6325767641260716, 1.5578381174327702, 1.488691755402317] getValue(firstOrder, "T") = 0.4 (getValuesWithUnit(firstOrder, "time"))[1:5] = Unitful.Quantity{Float64, 𝐓, Unitful.FreeUnits{(s,), 𝐓, nothing}}[0.0 s, 0.02 s, 0.04 s, 0.06 s, 0.08 s] (getValuesWithUnit(firstOrder, "y"))[1:5] = [1.8, 1.7131964705158862, 1.6325767641260716, 1.5578381174327702, 1.488691755402317] getValueWithUnit(firstOrder, "T") = 0.4 s (sig_der_x_flattened[:flattenedValues])[1:5] = [-2.25, -2.091498921411525, -1.9407476196910038, -1.7973876305923513, -1.6610779593299643] sig_der_x_flattened[:legend] = ["der(x) [1/s]"] ... Store result on file in JSON format Write signalTable in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.json" ... Store states on file in JSON format Write signalTable in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2_states.json" +++ Check deprecated functions result1[1:5, :] = 5×5 DataFrame Row │ time der(x) u x y │ Float64 Float64 Float64 Float64 Float64 ─────┼───────────────────────────────────────────────── 1 │ 0.0 -2.25 0.0 0.9 1.8 2 │ 0.02 -2.0915 0.0199987 0.856598 1.7132 3 │ 0.04 -1.94075 0.0399893 0.816288 1.63258 4 │ 0.06 -1.79739 0.059964 0.778919 1.55784 5 │ 0.08 -1.66108 0.0799147 0.744346 1.48869 result1[1:5, ["time", "u", "y"]] = 5×3 DataFrame Row │ time u y │ Float64 Float64 Float64 ─────┼───────────────────────────── 1 │ 0.0 0.0 1.8 2 │ 0.02 0.0199987 1.7132 3 │ 0.04 0.0399893 1.63258 4 │ 0.06 0.059964 1.55784 5 │ 0.08 0.0799147 1.48869 result2[1:5, :] = 5×3 DataFrame Row │ time x y │ Float64 Float64 Float64 ─────┼──────────────────────────── 1 │ 0.0 0.9 1.8 2 │ 0.02 0.856598 1.7132 3 │ 0.04 0.816288 1.63258 4 │ 0.06 0.778919 1.55784 5 │ 0.08 0.744346 1.48869 result3[1:5, :] = 5×2 DataFrame Row │ time y │ Float64 Float64 ─────┼────────────────── 1 │ 0.0 1.8 2 │ 0.02 1.7132 3 │ 0.04 1.63258 4 │ 0.06 1.55784 5 │ 0.08 1.48869 signalNames(firstOrder) = ["T", "_attributes", "der(x)", "time", "u", "x", "y"] timeSignalName(firstOrder) = "time" hasOneTimeSignal(firstOrder) = true name unit size eltypeOrType kind attributes ──────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="FirstOrder2"), experiment=Map(star… time "s" [501] Float64 Var independent=true T "s" Float64 Par =0.4 der(x) "1/s" [501] Float64 Var u [501] Float64 Var x [501] Float64 Var start=0.9, fixed=true, state=true, der="der(x)" y [501] Float64 Var +++ Linearize at stopTime = 0 and 10: ┌ Info: linearize!(.., analytic=true) of model FirstOrder2 └ is modified to analytic=false, because analytic=true is currently not supported! ┌ Info: linearize!(.., analytic=true) of model FirstOrder2 └ is modified to analytic=false, because analytic=true is currently not supported! xNames = ["x"] (A_0, x_0) = ([-2.5;;], [0.9]) (A_10, x_10) = ([-2.5;;], [-0.1796490864989299]) (A_10_numeric, x_10_numeric) = ([-2.5;;], [-0.1796490864989299]) Instantiating model FirstOrder3 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:101 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestFirstOrder2 at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ====================================================================================== Information request received. A stacktrace will print followed by a 1.0 second profile. --trace-compile is enabled during profile collection. ====================================================================================== cmd: /opt/julia/bin/julia 469 running 1 of 1 signal (10): User defined signal 1 _ZN4llvm15ValueHandleBase17RemoveFromUseListEv at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm8DenseMapIN12_GLOBAL__N_114LVIValueHandleENS_6detail13DenseSetEmptyENS_12DenseMapInfoIPNS_5ValueEvEENS3_12DenseSetPairIS2_EEE4growEj at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN12_GLOBAL__N_118LazyValueInfoCache14addValueHandleEPN4llvm5ValueE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm17LazyValueInfoImpl15solveBlockValueEPNS_5ValueEPNS_10BasicBlockE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm17LazyValueInfoImpl5solveEv at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm17LazyValueInfoImpl14getValueOnEdgeEPNS_5ValueEPNS_10BasicBlockES4_PNS_11InstructionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm13LazyValueInfo17getConstantOnEdgeEPNS_5ValueEPNS_10BasicBlockES4_PNS_11InstructionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZL10processPHIPN4llvm7PHINodeEPNS_13LazyValueInfoEPNS_13DominatorTreeERKNS_13SimplifyQueryE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZL7runImplRN4llvm8FunctionEPNS_13LazyValueInfoEPNS_13DominatorTreeERKNS_13SimplifyQueryE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm30CorrelatedValuePropagationPass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) run at /source/usr/include/llvm/IR/PassManagerInternal.h:91 _ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_ at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) run at /source/usr/include/llvm/IR/PassManagerInternal.h:91 _ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) run at /source/usr/include/llvm/IR/PassManagerInternal.h:91 _ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_ at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) run at /source/src/pipeline.cpp:787 operator() at /source/src/jitlayers.cpp:1508 withModuleDo<(anonymous namespace)::sizedOptimizerT::operator()(llvm::orc::ThreadSafeModule) [with long unsigned int N = 4]:: > at /source/usr/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h:136 [inlined] operator() at /source/src/jitlayers.cpp:1469 [inlined] operator() at /source/src/jitlayers.cpp:1644 [inlined] addModule at /source/src/jitlayers.cpp:2101 jl_compile_codeinst_now at /source/src/jitlayers.cpp:682 jl_compile_codeinst_impl at /source/src/jitlayers.cpp:876 jl_compile_method_internal at /source/src/gf.c:3648 _jl_invoke at /source/src/gf.c:4108 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_eval_module_expr at /source/src/toplevel.c:248 [inlined] jl_toplevel_eval_flex at /source/src/toplevel.c:650 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 unknown function (ip: 0x768c4d7428f2) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 eval_body at /source/src/interpreter.c:550 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 unknown function (ip: 0x768c4d7428f2) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 macro expansion at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:13 [inlined] macro expansion at /source/usr/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] macro expansion at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:12 [inlined] macro expansion at ./timing.jl:730 [inlined] top-level scope at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:394 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_invoke at /source/src/gf.c:4123 jl_toplevel_eval_flex at /source/src/toplevel.c:731 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_eval_module_expr at /source/src/toplevel.c:248 [inlined] jl_toplevel_eval_flex at /source/src/toplevel.c:650 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 jfptr_IncludeInto_44862.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 exec_options at ./client.jl:310 _start at ./client.jl:577 jfptr__start_69940.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] true_main at /source/src/jlapi.c:971 jl_repl_entrypoint at /source/src/jlapi.c:1138 main at /source/cli/loader_exe.c:58 unknown function (ip: 0x768c4f0e4249) at /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x4010b8) at /workspace/srcdir/glibc-2.17/csu/../sysdeps/x86_64/start.S unknown function (ip: (nil)) at (unknown file) ============================================================== Profile collected. A report will print at the next yield point. Disabling --trace-compile ============================================================== ... Test all options of @instantiateModel(..) Instantiating model FirstOrder3 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:108 ┌ Warning: There were no samples collected in one or more groups. │ This may be due to idle threads, or you may need to run your │ program longer (perhaps by running it multiple times), │ or adjust the delay between samples with `Profile.init()`. └ @ Profile /opt/julia/share/julia/stdlib/v1.14/Profile/src/Profile.jl:1361 modelOverhead ╎ [+additional indent] Count File:Line Function ========================================================= Thread 1 (default) Task 0x0000768c34ffc010 Total snapshots: 121. Utilization: 100% ╎106 @Base/client.jl:577 _start() ╎ 106 @Base/client.jl:310 exec_options(opts::Base.JLOptions) ╎ 106 @Base/boot.jl:489 eval(m::Module, e::Any) ╎ 106 @Base/Base.jl:311 (::Base.IncludeInto)(fname::String) ╎ 106 @Base/Base.jl:310 include(mapexpr::Function, mod::Module, _path::S… ╎ 106 @Base/loading.jl:3060 _include(mapexpr::Function, mod::Module, _p… ╎ ╎ 106 @Base/loading.jl:3000 include_string(mapexpr::typeof(identity), … ╎ ╎ 106 @Base/boot.jl:489 eval(m::Module, e::Any) ╎ ╎ 106 @Modia/…/runtests.jl:394 top-level scope ╎ ╎ 106 @Base/timing.jl:730 macro expansion ╎ ╎ 106 @Modia/…/runtests.jl:12 macro expansion ╎ ╎ ╎ 106 @Test/src/Test.jl:1961 macro expansion ╎ ╎ ╎ 106 @Modia/…runtests.jl:13 macro expansion ╎ ╎ ╎ 106 @Base/Base.jl:311 (::Base.IncludeInto)(fname::String) ╎ ╎ ╎ 106 @Base/Base.jl:310 include(mapexpr::Function, mod::Module… ╎ ╎ ╎ 106 @Base/loading.jl:3060 _include(mapexpr::Function, mod::… ╎ ╎ ╎ ╎ 106 @Base/loading.jl:3000 include_string(mapexpr::typeof(i… ╎ ╎ ╎ ╎ 106 @Base/boot.jl:489 eval(m::Module, e::Any) ╎ ╎ ╎ ╎ 106 @Base/Base.jl:311 (::Base.IncludeInto)(fname::String) ╎ ╎ ╎ ╎ 106 @Base/Base.jl:310 include(mapexpr::Function, mod::M… ╎ ╎ ╎ ╎ 106 @Base/…ading.jl:3060 _include(mapexpr::Function, m… ╎ ╎ ╎ ╎ ╎ 106 @Base/…ding.jl:3000 include_string(mapexpr::typeo… 106╎ ╎ ╎ ╎ ╎ 106 @Base/boot.jl:489 eval(m::Module, e::Any) = Model( T = 2 hr x = Var( init = 1.0 ), equations = :[ ====================================================================================== Information request received. A stacktrace will print followed by a 1.0 second profile. --trace-compile is enabled during profile collection. ====================================================================================== cmd: /opt/julia/bin/julia 1 running 0 of 1 signal (10): User defined signal 1 epoll_pwait at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) uv__io_poll at /workspace/srcdir/libuv/src/unix/linux.c:1404 uv_run at /workspace/srcdir/libuv/src/unix/core.c:430 ijl_task_get_next at /source/src/scheduler.c:457 wait at ./task.jl:1246 wait_forever at ./task.jl:1168 jfptr_wait_forever_41114.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] start_task at /source/src/task.c:1272 unknown function (ip: (nil)) at (unknown file) ============================================================== Profile collected. A report will print at the next yield point. Disabling --trace-compile ============================================================== ┌ Warning: There were no samples collected in one or more groups. │ This may be due to idle threads, or you may need to run your │ program longer (perhaps by running it multiple times), │ or adjust the delay between samples with `Profile.init()`. └ @ Profile /opt/julia/share/julia/stdlib/v1.14/Profile/src/Profile.jl:1361 Overhead ╎ [+additional indent] Count File:Line Function ========================================================= Thread 1 (default) Task 0x0000741ef356c790 Total snapshots: 431. Utilization: 0% ╎431 @Base/task.jl:1168 wait_forever() 430╎ 431 @Base/task.jl:1246 wait() u = if after(1.5 * u"hr") #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# 1.0 else #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# 0.0 end T * der(x) + x = begin #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# u end ] ), Flatten Find incidence Number of states: 1 Number of equations: 2 Parameters: 1: :T => 2 hr Potential states: 1: x Unknowns: 1: u 2: der(x) Equations: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: T * der(x) + x = u modelStructure.parameters = OrderedCollections.OrderedDict{Any, Any}(:T => 2 hr) modelStructure.mappedParameters = OrderedCollections.OrderedDict{Symbol, Any}(:T => 2 hr, :x => 1.0) modelStructure.init = OrderedCollections.OrderedDict{Any, Any}(:x => 1.0) modelStructure.start = OrderedCollections.OrderedDict{Any, Any}() modelStructure.variables = OrderedCollections.OrderedDict{Any, Any}() modelStructure.flows = OrderedCollections.OrderedDict{Any, Any}() modelStructure.inputs = OrderedCollections.OrderedDict{Any, Any}() modelStructure.outputs = OrderedCollections.OrderedDict{Any, Any}() Perform alias elimination and remove singularities G = [[1], [2, 3, 1]] Avar = [0, 0, 2] linearEquations = Int64[] vSolveInLinearEquations = Any[] Gint = Vector{Int64}[] GcInt = Vector{Int64}[] vEliminated = Int64[] vProperty = [-9223372036854775808, -9223372036854775808, -9223372036854775808] nvArbitrary = 0 redundantEquations = Int64[] Remaining transformed linear Integer equations: none (all linear Integer equations are removed) Number of reduced unknowns: 2 Number of reduced equations: 2 States: 1: x Unknowns after alias reduction: 1: u 2: der(x) Equations after alias reduction: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: T * der(x) + x = u Check consistency of equations by matching extended equation set The DAE is structurally nonsingular. Index reduction (Pantelides) assign = [1, 2, 0] Avar = [0, 0, 2] Bequ = [0, 0] Assign BLT HG = [[1], [2, 3, 1]] bltComponents = Any[Any[1], Any[2]] Sorted highest derivative equations: [assigned variable]: [differentiation] equation Strongly connected components are enclosed in [] 1: u: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: der(x): T * der(x) + x = u Get sorted and solved AST === getSortedAndSolvedAST(...) started for FirstOrder3. ... Equation set 1.1 .............................. Equations: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end Unknown variables: 1: u One equation in one unknown variable. Solve the equation: Julia code: begin u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) 1.0 else 0.0 end println(" Result: ", "u", " = ", u) end ... Equation set 2.1 .............................. Equations: 2: T * der(x) + x = u Unknown variables: 2: der(x) One equation in one unknown variable. Solve the equation: Julia code: begin println("Calculating: ", "var\"der(x)\" = -((x - u)) / (Modia.quantity(Float64, u\"hr\"))(_p[:T])::Modia.quantity(Float64, u\"hr\")") var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") println(" Result: ", "der(x)", " = ", var"der(x)") end Sort equations (BLT on all equations under the assumption that the ODE states are known). === getSortedAndSolvedAST(...) terminated for FirstOrder3. code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = _x[1] begin println("Calculating: ", "u = if after(instantiatedModel, 1, ustrip(1.5 * u\"hr\"), \"1.5 * u\\\"hr\\\"\", _leq_mode)\n \n 0.0\n end") u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) 1.0 else 0.0 end println(" Result: ", "u", " = ", u) end begin println("Calculating: ", "var\"der(x)\" = -((x - u)) / (Modia.quantity(Float64, u\"hr\"))(_p[:T])::Modia.quantity(Float64, u\"hr\")") var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") println(" Result: ", "der(x)", " = ", var"der(x)") end Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, u) end return nothing end end eval code WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestFirstOrder2 at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). 0.007993 seconds (1.56 k allocations: 66.734 KiB, 0.02% compilation time) Execute getDerivatives First executions of getDerivatives Calculating: u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) #= /home/pkgeval/.julia/packages/ModiaBase/anWtu/src/Symbolic.jl:339 =# 1.0 else #= /home/pkgeval/.julia/packages/ModiaBase/anWtu/src/Symbolic.jl:339 =# 0.0 end Result: u = 0.0 Calculating: var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") Result: der(x) = -0.5 hr^-1 0.202191 seconds (101.25 k allocations: 5.008 MiB, 99.36% compilation time) [469] signal 15: Terminated in expression starting at /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:108 __libc_free at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) _ZN15LiveDebugValues16InstrRefBasedLDV12ExtendRangesERN4llvm15MachineFunctionEPNS1_20MachineDominatorTreeEPNS1_16TargetPassConfigEjj at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE.part.0 at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /opt/julia/bin/../lib/julia/libLLVM.so.20.1jl (unknown line) operator() at /source/src/jitlayers.cpp:1623 addModule at /source/src/jitlayers.cpp:2114 jl_compile_codeinst_now at /source/src/jitlayers.cpp:682 jl_compile_codeinst_impl at /source/src/jitlayers.cpp:876 jl_compile_method_internal at /source/src/gf.c:3648 _jl_invoke at /source/src/gf.c:4108 [inlined] ijl_apply_generic at /source/src/gf.c:4313 #show#11 at /home/pkgeval/.julia/packages/TimerOutputs/L5q5K/src/show.jl:6 show at /home/pkgeval/.julia/packages/TimerOutputs/L5q5K/src/show.jl:6 unknown function (ip: 0x768bf878db96) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 #instantiateModel#264 at /home/pkgeval/.julia/packages/Modia/77g2A/src/ModiaLang.jl:1149 instantiateModel at /home/pkgeval/.julia/packages/Modia/77g2A/src/ModiaLang.jl:937 unknown function (ip: 0x768bf875b22f) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_eval_module_expr at /source/src/toplevel.c:248 [inlined] jl_toplevel_eval_flex at /source/src/toplevel.c:650 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 unknown function (ip: 0x768c4d7428f2) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 eval_body at /source/src/interpreter.c:550 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 eval_body at /source/src/interpreter.c:558 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 unknown function (ip: 0x768c4d7428f2) at (unknown file) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 macro expansion at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:13 [inlined] macro expansion at /source/usr/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] macro expansion at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:12 [inlined] macro expansion at ./timing.jl:730 [inlined] top-level scope at /home/pkgeval/.julia/packages/Modia/77g2A/test/runtests.jl:394 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_invoke at /source/src/gf.c:4123 jl_toplevel_eval_flex at /source/src/toplevel.c:731 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_eval_module_expr at /source/src/toplevel.c:248 [inlined] jl_toplevel_eval_flex at /source/src/toplevel.c:650 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 include_string at ./loading.jl:3000 _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 _include at ./loading.jl:3060 include at ./Base.jl:310 IncludeInto at ./Base.jl:311 jfptr_IncludeInto_44862.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] do_call at /source/src/interpreter.c:123 eval_value at /source/src/interpreter.c:243 eval_stmt_value at /source/src/interpreter.c:194 [inlined] eval_body at /source/src/interpreter.c:679 jl_interpret_toplevel_thunk at /source/src/interpreter.c:884 jl_toplevel_eval_flex at /source/src/toplevel.c:742 jl_eval_toplevel_stmts at /source/src/toplevel.c:585 jl_toplevel_eval_flex at /source/src/toplevel.c:683 ijl_toplevel_eval at /source/src/toplevel.c:754 ijl_toplevel_eval_in at /source/src/toplevel.c:799 eval at ./boot.jl:489 exec_options at ./client.jl:310 _start at ./client.jl:577 jfptr__start_69940.1 at /opt/julia/lib/julia/sys.so (unknown line) _jl_invoke at /source/src/gf.c:4116 [inlined] ijl_apply_generic at /source/src/gf.c:4313 jl_apply at /source/src/julia.h:2284 [inlined] true_main at /source/src/jlapi.c:971 jl_repl_entrypoint at /source/src/jlapi.c:1138 main at /source/cli/loader_exe.c:58 unknown function (ip: 0x768c4f0e4249) at /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line) unknown function (ip: 0x4010b8) at /workspace/srcdir/glibc-2.17/csu/../sysdeps/x86_64/start.S unknown function (ip: (nil)) at (unknown file) Allocations: 133134295 (Pool: 133132842; Big: 1453); GC: 61 PkgEval terminated after 2732.55s: test duration exceeded the time limit