Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_resolveLoops.ElectricalCircuit4.mos (from (result.xml))

Failing for the past 44 builds (Since #1 )
Took 6 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ElectricalCircuit4                                                                ... equation mismatch [time: 6]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/ElectricalCircuit4.mos_temp8953/log-ElectricalCircuit4.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "ElectricalCircuit4_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 2000.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ElectricalCircuit4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 152
 * Number of variables: 152
Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars)
 * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states)
 * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (60):
 * Single equations (assignments): 54
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 6
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (C1.v,C2.v,C3.v,C4.v,C5.v,C6.v)
 * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars)
 * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states)
 * Number of clocked states: 0 ('-d=discreteinfo' for list of clocked states)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (41):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 6
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
"
{"Files Equal!"}

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/ElectricalCircuit4.mos_temp8953/equations-expected2024-01-13 02:56:52.850377135 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/ElectricalCircuit4.mos_temp8953/equations-got2024-01-13 02:56:58.754337221 +0000
@@ -4,11 +4,11 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "ElectricalCircuit4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2000.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ElectricalCircuit4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 2000.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'ElectricalCircuit4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 "Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
@@ -27,17 +27,19 @@
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 0
-* Torn equation systems: 6
+* Equation systems (not torn): 6
+* Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
-Notification: Torn system details for strict tearing set:
-* Linear torn systems (#iteration vars, #inner vars, density): 6 systems
-{(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)}
-* Non-linear torn systems (#iteration vars, #inner vars): 0 systems
+Notification: Equation system details (not torn):
+* Constant Jacobian (size): 0 systems
+* Linear Jacobian (size,density): 6 systems
+{(3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%)}
+* Non-linear Jacobian (size): 0 systems
+* Without analytic Jacobian (size): 0 systems
 Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (C1.v,C2.v,C3.v,C4.v,C5.v,C6.v)
 * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars)
 * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states)
@@ -48,14 +50,16 @@
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 0
-* Torn equation systems: 6
+* Equation systems (not torn): 6
+* Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
-Notification: Torn system details for strict tearing set:
-* Linear torn systems (#iteration vars, #inner vars, density): 6 systems
-{(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)}
-* Non-linear torn systems (#iteration vars, #inner vars): 0 systems
+Notification: Equation system details (not torn):
+* Constant Jacobian (size): 0 systems
+* Linear Jacobian (size,density): 6 systems
+{(3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%), (3,66.7%)}
+* Non-linear Jacobian (size): 0 systems
+* Without analytic Jacobian (size): 0 systems
 "
 {"Files Equal!"}

Equation mismatch: omc-diff says:
Line 32: Integer 0 != 6

== 1 out of 1 tests failed [simulation/modelica/resolveLoops/ElectricalCircuit4.mos_temp8953, time: 6]