Skip to content

Failed

tests / 02 testsuite-gcc 2/3 / simulation_modelica_resolveLoops.NPendulum2.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Pendel2                                                                           ... equation mismatch [time: 27]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/NPendulum2.mos_temp7549/log-NPendulum2.mos
true
true
""
true
""
record SimulationResult
    resultFile = "Pendulum.Pendulum2_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Pendulum.Pendulum2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_STDOUT        | info    | Using sparse solver for linear system 0,
|                 | |       | because density of 0.081 remains under threshold of 0.200.
LOG_STDOUT        | info    | Using sparse solver for linear system 1,
|                 | |       | because density of 0.096 remains under threshold of 0.200.
LOG_STDOUT        | info    | The maximum density for using sparse solvers can be specified
|                 | |       | using the runtime flag '<-lssMaxDensity=value>'.
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: 1228
 * Number of variables: 1228
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 502
 * Number of states: 0 ('-d=stateselection' for list of states)
 * Number of discrete variables: 27 ('-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 (629):
 * Single equations (assignments): 625
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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
   {(38,8.1%)}
 * 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: 4
 * Number of states: 4 ('-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 (130):
 * Single equations (assignments): 126
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * 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
   {(33,9.6%)}
 * 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/NPendulum2.mos_temp7549/equations-expected2024-01-13 02:56:10.445111546 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/NPendulum2.mos_temp7549/equations-got2024-01-13 02:56:37.689316178 +0000
@@ -3,12 +3,18 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "Pendulum.Pendulum2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Pendulum.Pendulum2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Pendulum.Pendulum2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "LOG_STDOUT        | info    | Using sparse solver for linear system 0,
+| | |       | because density of 0.081 remains under threshold of 0.200.
+LOG_STDOUT | info    | Using sparse solver for linear system 1,
+| | |       | because density of 0.096 remains under threshold of 0.200.
+LOG_STDOUT | info    | The maximum density for using sparse solvers can be specified
+| | |       | using the runtime flag '<-lssMaxDensity=value>'.
+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: 1228
@@ -25,17 +31,19 @@
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 0
-* Torn equation systems: 1
+* Equation systems (not torn): 1
+* 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): 1 system
-{(2,36,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): 1 system
+{(38,8.1%)}
+* 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: 4
 * Number of states: 4 ('-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)
@@ -46,14 +54,16 @@
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
-* Equation systems (not torn): 0
-* Torn equation systems: 1
+* Equation systems (not torn): 1
+* 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): 1 system
-{(4,29,87.5%)}
-* 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): 1 system
+{(33,9.6%)}
+* Non-linear Jacobian (size): 0 systems
+* Without analytic Jacobian (size): 0 systems
 "
 {"Files Equal!"}

Equation mismatch: omc-diff says:
Failed 'U' 'T'
Line 9: Text differs:
expected: messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
got:      messages = "LOG_STDOUT        | info    | Using sparse solver for linear system 

== 1 out of 1 tests failed [simulation/modelica/resolveLoops/NPendulum2.mos_temp7549, time: 27]