Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / simulation_modelica_tearing.Tearing4-minimal.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Tearing4-minimal                                                                  ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/tearing/Tearing4-minimal.mos_temp7172/log-Tearing4-minimal.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "Tearing4_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing4', 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: 6
 * Number of variables: 6
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ('-d=stateselection' for list of states)
 * 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 (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 1 system
   {(3,66.7%)}
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 ('-d=stateselection' for list of states)
 * 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 (7):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(3,66.7%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,0)}
"
1.0
""
1.7320508075688774
""
3.0
""
-1.7320508075688772
""
14.495709211125343
""
4.0
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/tearing/Tearing4-minimal.mos_temp7172/equations-expected2024-01-13 02:54:49.193635245 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/tearing/Tearing4-minimal.mos_temp7172/equations-got2024-01-13 02:54:50.581646447 +0000
@@ -4,11 +4,11 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "Tearing4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Tearing4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing4', 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:
@@ -26,23 +26,20 @@
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 1
-* Torn equation systems: 1
+* Equation systems (not torn): 2
+* 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): 0 systems
+* Linear Jacobian (size,density): 1 system
+{(3,66.7%)}
 * Non-linear Jacobian (size): 1 system
 {1}
 * Without analytic Jacobian (size): 0 systems
-Notification: Torn system details for strict tearing set:
-* Linear torn systems (#iteration vars, #inner vars, density): 1 system
-{(3,0,66.7%)}
-* Non-linear torn systems (#iteration vars, #inner vars): 0 systems
 Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 ('-d=stateselection' for list of states)
 * Number of discrete variables: 0 ('-d=discreteinfo' for list of discrete vars)
 * Number of discrete states: 0 ('-d=discreteinfo' for list of discrete states)
@@ -53,26 +50,31 @@
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 0
-* Torn equation systems: 3
+* Equation systems (not torn): 2
+* Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
+Notification: Equation system details (not torn):
+* Constant Jacobian (size): 0 systems
+* Linear Jacobian (size,density): 2 systems
+{(3,66.7%), (2,100.0%)}
+* Non-linear Jacobian (size): 0 systems
+* Without analytic Jacobian (size): 0 systems
 Notification: Torn system details for strict tearing set:
-* Linear torn systems (#iteration vars, #inner vars, density): 2 systems
-{(3,0,66.7%), (2,0,100.0%)}
+* Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
 {(2,0)}
 "
 1.0
 ""
-1.732050807568877
+1.7320508075688774
 ""
 3.0
 ""
--1.732050807568877
+-1.7320508075688772
 ""
-14.49570921112534
+14.495709211125343
 ""
 4.0
 ""

Equation mismatch: omc-diff says:
Line 31: Integer 1 != 2

== 1 out of 1 tests failed [simulation/modelica/tearing/Tearing4-minimal.mos_temp7172, time: 1]