Skip to content

Tests for clocked Modelica and if-equation read-back (0.6.0) - #67

Merged
JKRT merged 5 commits into
masterfrom
clocked
Oct 16, 2026
Merged

JKRT merged 5 commits into
masterfrom
clocked

Conversation

@JKRT

@JKRT JKRT commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Tests for clocked Modelica and for if-equation variables read back from the solution.

  • test/clockPartitionTests.jl (core group, test/Models/ClockedPartitions.mo): partitions and clocks of small models; simulated values (sub-clocks, an inferred clock, rational clocks, a clocked state, a clocked when-clause, event clocks: a compound condition, interval(), a sub-sampled event clock; a clocked Boolean); a solver clock is refused.
  • test/eventSemanticsTests.jl: der() of a variable a nested if-equation defines (EventSemantics.DerOfIfEquation).
  • Spice3 Graetz compared at its reference's tolerance (its probe moves 0.2% with the step control).

Version 0.6.0; compat OMBackend 0.6.0 (OpenModelica/OMBackend.jl#87), OMFrontend 1.7.4 (OpenModelica/OMFrontend.jl#105), both on branch clocked. Merge after them; the submodule pins follow with the nightly update.

🤖 Generated with Claude Code

JKRT added 5 commits October 14, 2026 22:27
Ten small models (sample/hold, sub-, super- and shiftSample, clock variables,
previous, an inferred clock, two base clocks, an event clock, a clocked
when-clause, rational clocks with an inferred factor): their base clocks and
sub-clocks; translate refuses clocked partitions.

Assisted-by: Claude Opus 5.5
Simulated clocked models (sub-clocks, event clocks: compound condition,
interval(), subSample; a clocked Boolean); der() of an if-equation's
variable; Spice3 Graetz compared at its reference's tolerance.

Assisted-by: Claude Opus 5.5
@JKRT
JKRT merged commit 5bc2fa3 into master Oct 16, 2026
6 checks passed
@JKRT
JKRT deleted the clocked branch October 16, 2026 12:07
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