Skip to content

OMBackend 0.11.2: suite time — no deprecated calls, one build per comparison, platform group on mac/Windows - #107

Merged
JKRT merged 3 commits into
OpenModelica:masterfrom
JKRT:suite-time
Nov 17, 2026
Merged

JKRT merged 3 commits into
OpenModelica:masterfrom
JKRT:suite-time

Conversation

@JKRT

@JKRT JKRT commented Nov 17, 2026

Copy link
Copy Markdown
Member

The mac job timed out at 90 min since 0.11.0 (#106: Ubuntu 49 min of tests, mac about 2.3x that).

  • u_modified! → SciMLBase.derivative_discontinuity!, solve_for → symbolic_linear_solve (renames, same
    semantics). Under Pkg.test's --depwarn=yes each deprecated call took a backtrace (~0.3 ms): 1000 sample events
    0.64 s instead of 0.03 s.
  • Array path tests: the scalarizing path's values are stored in test/arrayPathReferences.jl (137 entries); each
    model is built once. A comparison without an entry fails and prints the entry.
  • OMBACKEND_TEST_GROUP=platform leaves out arrayPathTests.jl (80% of the suite's time). CI: whole suite and
    coverage on Linux, the platform group on macOS and Windows.
  • Also removes scratch/simple.jl (2021, unreferenced).

Local, fresh process, 1 thread, --depwarn=yes (macOS, arm64):

Tests Time Peak RSS
0.11.1, whole suite 2643 1049 s 12.45 GiB
this PR, whole suite (Linux CI) 2643 742 s 11.65 GiB
this PR, platform group (macOS/Windows CI) 1453 240 s 4.36 GiB

Array path testset: 835 s → 501 s.

JKRT added 3 commits November 17, 2026 12:04
u_modified! -> SciMLBase.derivative_discontinuity! (the alias for older
SciMLBase removed), solve_for -> symbolic_linear_solve (SciMLBase 3,
Symbolics 7 renames; same semantics). Under --depwarn=yes, as Pkg.test runs,
each deprecated call takes a backtrace (~0.3 ms): 1000 sample events solved in
0.64 s instead of 0.03 s on the array code.

Assisted-by: Claude Opus 5.5
…orm group

_bothWays/_bothWaysOf read the scalarizing path's values from
test/arrayPathReferences.jl (137 entries) instead of building each model twice;
a missing entry builds it, fails and prints the entry. OMBACKEND_TEST_GROUP
"platform" leaves out arrayPathTests.jl (~80% of the suite's time); CI runs it on
macOS and Windows, the whole suite on Linux.

Assisted-by: Claude Opus 5.5
A 2021 hand-written DAE script (OpenModelica#25), not referenced anywhere.

Assisted-by: Claude Opus 5.5
@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.64%. Comparing base (48757b0) to head (4d456cd).
⚠️ Report is 65 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #107       +/-   ##
===========================================
+ Coverage   24.78%   81.64%   +56.86%     
===========================================
  Files          28      114       +86     
  Lines        3430    34202    +30772     
===========================================
+ Hits          850    27925    +27075     
- Misses       2580     6277     +3697     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JKRT
JKRT merged commit a90160f into OpenModelica:master Nov 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant