Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / simulation_modelica_resolveLoops.NPendulum2.mos (from (result.xml))

Failing for the past 11 builds (Since #2 )
Took 13 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Pendel2                                                                           ... execution failed

==== Log /tmp/omc-rtest-unknown/simulation/modelica/resolveLoops/NPendulum2.mos_temp1590/log-NPendulum2.mos
true
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Pendulum.Pendulum2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Pendulum.Pendulum2"
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): 0
 * Torn equation systems: 1
 * 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: 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): 0
 * Torn equation systems: 1
 * 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
Error: Template error: A template call failed (/var/lib/jenkins2/ws/OpenModelica_PR-11485/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).
[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error /var/lib/jenkins2/ws/OpenModelica_PR-11485/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null) failed
Error: Template error: A template call failed (/var/lib/jenkins2/ws/OpenModelica_PR-11485/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).
[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error /var/lib/jenkins2/ws/OpenModelica_PR-11485/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null) failed
"
Error processing file: NPendulum2.mos
[simulation/modelica/resolveLoops/NPendulum2.mos:12:1-19:6:writable] Error: Class getEnvironmentVar not found in scope <global scope> (looking for a function or record).

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!

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