Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 67.88 kB / 378.8 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3673, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003031/0.3703, allocations: 1.491 MB / 433.6 MB, free: 5.586 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002905/0.3706, allocations: 103.7 kB / 433.7 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3707, allocations: 0 / 433.7 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.3707, allocations: 3.938 kB / 433.7 MB, free: 5.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.3708, allocations: 3.938 kB / 433.7 MB, free: 5.477 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.371, allocations: 19.92 kB / 433.8 MB, free: 5.457 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 9.543e-05/0.3711, allocations: 31.84 kB / 433.8 MB, free: 5.426 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3712, allocations: 12 kB / 433.8 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.3713, allocations: 7.938 kB / 433.8 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.3713, allocations: 15.92 kB / 433.8 MB, free: 5.391 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3713, allocations: 4 kB / 433.8 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.3714, allocations: 0 / 433.8 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.3714, allocations: 7.938 kB / 433.8 MB, free: 5.379 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3714, allocations: 11.94 kB / 433.8 MB, free: 5.367 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.407e-05/0.3715, allocations: 29.86 kB / 433.9 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3715, allocations: 0 / 433.9 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.052e-06/0.3715, allocations: 0 / 433.9 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.22e-06/0.3715, allocations: 0 / 433.9 MB, free: 5.34 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004342/0.3719, allocations: 274 kB / 434.1 MB, free: 5.043 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.372, allocations: 8.031 kB / 434.1 MB, free: 5.035 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.372, allocations: 12.83 kB / 434.2 MB, free: 5.023 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3722, allocations: 114.5 kB / 434.3 MB, free: 4.887 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3722, allocations: 4.375 kB / 434.3 MB, free: 4.883 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3723, allocations: 4.375 kB / 434.3 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3726, allocations: 107.8 kB / 434.4 MB, free: 4.762 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3726, allocations: 192 / 434.4 MB, free: 4.762 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3726, allocations: 3.938 kB / 434.4 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3726, allocations: 0 / 434.4 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.3727, allocations: 23.97 kB / 434.4 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.3729, allocations: 132.7 kB / 434.5 MB, free: 4.562 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.373, allocations: 54.55 kB / 434.6 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.3731, allocations: 24.92 kB / 434.6 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3731, allocations: 3.984 kB / 434.6 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3731, allocations: 34.5 kB / 434.7 MB, free: 4.426 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3731, allocations: 0 / 434.7 MB, free: 4.426 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002199/0.3733, allocations: 73.61 kB / 434.7 MB, free: 4.348 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3734, allocations: 59.41 kB / 434.8 MB, free: 4.277 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.3735, allocations: 109.8 kB / 434.9 MB, free: 4.16 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3735, allocations: 25.7 kB / 434.9 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.3736, allocations: 84.12 kB / 435 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.555e-06/0.3736, allocations: 0 / 435 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3736, allocations: 17.72 kB / 435 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001532/0.3737, allocations: 318.8 kB / 435.3 MB, free: 3.699 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.3738, allocations: 8 kB / 435.3 MB, free: 3.691 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.3738, allocations: 27.38 kB / 435.4 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.3739, allocations: 39.38 kB / 435.4 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3739, allocations: 0 / 435.4 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.202e-05/0.3739, allocations: 53.62 kB / 435.5 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.374, allocations: 4 kB / 435.5 MB, free: 3.539 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.374, allocations: 3.938 kB / 435.5 MB, free: 3.535 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.374, allocations: 7.938 kB / 435.5 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.374, allocations: 7.984 kB / 435.5 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.374, allocations: 3.984 kB / 435.5 MB, free: 3.516 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.3741, allocations: 8.078 kB / 435.5 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.3741, allocations: 4 kB / 435.5 MB, free: 3.504 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/0.3741, allocations: 117.8 kB / 435.6 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.3743, allocations: 57.62 kB / 435.7 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3743, allocations: 15.92 kB / 435.7 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3743, allocations: 0 / 435.7 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3743, allocations: 0 / 435.7 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3743, allocations: 0 / 435.7 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3744, allocations: 124.8 kB / 435.8 MB, free: 3.129 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3744, allocations: 4 kB / 435.8 MB, free: 3.125 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.3744, allocations: 11.98 kB / 435.8 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3744, allocations: 0 / 435.8 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3745, allocations: 3.938 kB / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3745, allocations: 0 / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3745, allocations: 0 / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3746, allocations: 89.25 kB / 435.9 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.3746, allocations: 4 kB / 435.9 MB, free: 3 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3746, allocations: 15.94 kB / 435.9 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.3746, allocations: 4 kB / 435.9 MB, free: 2.98 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.3746, allocations: 0 / 435.9 MB, free: 2.98 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.3747, allocations: 0 / 435.9 MB, free: 2.98 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.235e-05/0.3747, allocations: 83.27 kB / 436 MB, free: 2.898 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3747, allocations: 0 / 436 MB, free: 2.898 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001792/0.3749, allocations: 8 kB / 436 MB, free: 2.891 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.375, allocations: 95.25 kB / 436.1 MB, free: 2.789 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001162/0.3751, allocations: 27.92 kB / 436.1 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3751, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.3751, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3753, allocations: 20.36 kB / 436.2 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.3756, allocations: 117.6 kB / 436.3 MB, free: 2.602 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3759, allocations: 0.6884 MB / 437 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 1.442e-05/0.3759, allocations: 4.25 kB / 437 MB, free: 1.883 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.376, allocations: 11.44 kB / 437 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.376, allocations: 0 / 437 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of Templates: time 0.002571/0.3785, allocations: 344.7 kB / 437.3 MB, free: 1.535 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.29694633744657]