Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 108.5 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 497.8 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4566, allocations: 64.27 MB / 0.5489 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003951/0.4606, allocations: 1.832 MB / 0.5506 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003025/0.4636, allocations: 1.662 MB / 0.5523 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.4637, allocations: 5.156 kB / 0.5523 GB, free: 10.42 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.4641, allocations: 53.41 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.4644, allocations: 91.34 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.4649, allocations: 166 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003027/0.4652, allocations: 192.4 kB / 0.5528 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/0.4652, allocations: 9.688 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.4654, allocations: 92.97 kB / 0.5529 GB, free: 10.02 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.4656, allocations: 72.75 kB / 0.5529 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.4657, allocations: 7.438 kB / 0.5529 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4658, allocations: 63.62 kB / 0.553 GB, free: 9.949 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.4659, allocations: 36.12 kB / 0.553 GB, free: 9.922 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.466, allocations: 52.95 kB / 0.5531 GB, free: 9.883 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.4663, allocations: 176.7 kB / 0.5532 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4664, allocations: 0 / 0.5532 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.655e-06/0.4664, allocations: 1.125 kB / 0.5532 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.311e-05/0.4664, allocations: 0 / 0.5532 GB, free: 9.773 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0007698/0.4671, allocations: 407.1 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4672, allocations: 10.61 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.4673, allocations: 16.78 kB / 0.5537 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.4677, allocations: 182.6 kB / 0.5538 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4677, allocations: 1.969 kB / 0.5538 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4677, allocations: 7.219 kB / 0.5538 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.468, allocations: 103.4 kB / 0.5539 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.468, allocations: 0 / 0.5539 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.468, allocations: 0.9375 kB / 0.5539 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.468, allocations: 1.219 kB / 0.5539 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.4681, allocations: 36.27 kB / 0.554 GB, free: 9.082 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.4684, allocations: 182.6 kB / 0.5542 GB, free: 8.879 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.4687, allocations: 106.3 kB / 0.5543 GB, free: 8.793 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4688, allocations: 36.27 kB / 0.5543 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4689, allocations: 2.188 kB / 0.5543 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.4691, allocations: 116.6 kB / 0.5544 GB, free: 8.66 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4691, allocations: 0 / 0.5544 GB, free: 8.66 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10): time 0.00052/0.4696, allocations: 162.3 kB / 0.5546 GB, free: 8.57 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4697, allocations: 130.8 kB / 0.5547 GB, free: 8.414 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.47, allocations: 217.5 kB / 0.5549 GB, free: 8.25 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4701, allocations: 31.83 kB / 0.5549 GB, free: 8.215 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.4701, allocations: 109.9 kB / 0.555 GB, free: 8.109 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.4702, allocations: 32.41 kB / 0.5551 GB, free: 8.082 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.4703, allocations: 24.25 kB / 0.5551 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001747/0.4704, allocations: 330.3 kB / 0.5554 GB, free: 7.734 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.4705, allocations: 31.67 kB / 0.5554 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4706, allocations: 69.98 kB / 0.5555 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4709, allocations: 95.03 kB / 0.5556 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4709, allocations: 0 / 0.5556 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002989/0.4712, allocations: 137 kB / 0.5557 GB, free: 7.5 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4712, allocations: 13.31 kB / 0.5557 GB, free: 7.492 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4712, allocations: 1.281 kB / 0.5557 GB, free: 7.492 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4712, allocations: 1.312 kB / 0.5557 GB, free: 7.492 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4713, allocations: 26.05 kB / 0.5558 GB, free: 7.484 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4713, allocations: 1.188 kB / 0.5558 GB, free: 7.484 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.4714, allocations: 13.38 kB / 0.5558 GB, free: 7.477 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4714, allocations: 8.25 kB / 0.5558 GB, free: 7.473 MB / 398.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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 14
 * 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 0.0001518/0.4716, allocations: 136.5 kB / 0.5559 GB, free: 7.34 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.4716, allocations: 20.41 kB / 0.5559 GB, free: 7.328 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.472, allocations: 149.2 kB / 0.5561 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.472, allocations: 2.438 kB / 0.5561 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.472, allocations: 0 / 0.5561 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.472, allocations: 1.438 kB / 0.5561 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.4722, allocations: 192.9 kB / 0.5563 GB, free: 7.027 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4722, allocations: 0 / 0.5563 GB, free: 7.027 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.4723, allocations: 10.7 kB / 0.5563 GB, free: 7.023 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4723, allocations: 1.219 kB / 0.5563 GB, free: 7.023 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4723, allocations: 5.188 kB / 0.5563 GB, free: 7.02 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4723, allocations: 6.312 kB / 0.5563 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4723, allocations: 0 / 0.5563 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.4726, allocations: 171.1 kB / 0.5564 GB, free: 6.891 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.4727, allocations: 15.89 kB / 0.5565 GB, free: 6.879 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.4727, allocations: 6.625 kB / 0.5565 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.4728, allocations: 3.938 kB / 0.5565 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4728, allocations: 10.67 kB / 0.5565 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.4728, allocations: 5.125 kB / 0.5565 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001877/0.473, allocations: 171.6 kB / 0.5566 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.473, allocations: 0 / 0.5566 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002817/0.4733, allocations: 38.95 kB / 0.5567 GB, free: 6.73 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001717/0.475, allocations: 464.4 kB / 0.5571 GB, free: 6.504 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002921/0.4753, allocations: 77.5 kB / 0.5572 GB, free: 6.473 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4753, allocations: 3.938 kB / 0.5572 GB, free: 6.469 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4754, allocations: 39.97 kB / 0.5572 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.4758, allocations: 52.55 kB / 0.5573 GB, free: 6.426 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.4764, allocations: 260.1 kB / 0.5575 GB, free: 6.223 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4768, allocations: 0.7159 MB / 0.5582 GB, free: 5.508 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001119/0.4769, allocations: 33.98 kB / 0.5583 GB, free: 5.488 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.477, allocations: 29.22 kB / 0.5583 GB, free: 5.473 MB / 398.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.477, allocations: 0 / 0.5583 GB, free: 5.473 MB / 398.1 MB
Notification: Performance of Templates: time 0.007058/0.4841, allocations: 2.712 MB / 0.5609 GB, free: 2.844 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.667236282490194]