Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001354/0.001354, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001503/0.001503, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.656/1.656, 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.2385/0.2385, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 72.11 kB / 497.8 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.444, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003993/0.448, allocations: 1.73 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001827/0.4498, allocations: 0.8999 MB / 0.5514 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.4499, allocations: 3.938 kB / 0.5515 GB, free: 11.11 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000364/0.4502, allocations: 43.7 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.4505, allocations: 63.09 kB / 0.5516 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.4508, allocations: 111.2 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002099/0.451, allocations: 102.1 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.4512, allocations: 5.359 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4513, allocations: 44.41 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.4514, allocations: 29.66 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4514, allocations: 8.438 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.4515, allocations: 42.33 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.4516, allocations: 32.14 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.4517, allocations: 40 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.452, allocations: 118.7 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.452, allocations: 4 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.452, allocations: 0 / 0.5521 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.351e-05/0.452, allocations: 1.062 kB / 0.5521 GB, free: 10.7 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0007937/0.4528, allocations: 354.5 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4528, allocations: 17.08 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.4529, allocations: 10.86 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.4532, allocations: 158.8 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4533, allocations: 2.5 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.4533, allocations: 14.77 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4535, allocations: 49.11 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4535, allocations: 1.125 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4535, allocations: 7.984 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4535, allocations: 1.188 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.4536, allocations: 22.89 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.4541, allocations: 263.4 kB / 0.5529 GB, free: 9.824 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.4543, allocations: 51.94 kB / 0.553 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.4544, allocations: 20.28 kB / 0.553 GB, free: 9.77 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.4544, allocations: 1.062 kB / 0.553 GB, free: 9.77 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.4546, allocations: 69.58 kB / 0.5531 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4546, allocations: 0 / 0.5531 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006508/0.4552, allocations: 178.9 kB / 0.5532 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4553, allocations: 52.5 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.4555, allocations: 227.7 kB / 0.5535 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4556, allocations: 26.83 kB / 0.5535 GB, free: 9.34 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.4557, allocations: 117.8 kB / 0.5536 GB, free: 9.227 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4557, allocations: 24.36 kB / 0.5537 GB, free: 9.207 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.4557, allocations: 23.83 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001718/0.4559, allocations: 331.5 kB / 0.554 GB, free: 8.855 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.456, allocations: 14.28 kB / 0.554 GB, free: 8.852 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.4561, allocations: 35.86 kB / 0.5541 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4562, allocations: 67.75 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4562, allocations: 0 / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.4564, allocations: 108.5 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4564, allocations: 5 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4564, allocations: 0 / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4564, allocations: 1.188 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4565, allocations: 17.59 kB / 0.5542 GB, free: 8.703 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4565, allocations: 1.062 kB / 0.5542 GB, free: 8.703 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.4566, allocations: 14.27 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4566, allocations: 6.969 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($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 (10):
 * Single equations (assignments): 10
 * 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.0001469/0.4568, allocations: 133.4 kB / 0.5544 GB, free: 8.559 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4568, allocations: 13.88 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.4571, allocations: 117.6 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4571, allocations: 0.875 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4571, allocations: 4.875 kB / 0.5545 GB, free: 8.469 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4571, allocations: 3.938 kB / 0.5545 GB, free: 8.465 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.4577, allocations: 367.8 kB / 0.5549 GB, free: 8.117 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4577, allocations: 1.219 kB / 0.5549 GB, free: 8.117 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.4577, allocations: 10.72 kB / 0.5549 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4577, allocations: 1 kB / 0.5549 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.4578, allocations: 10.2 kB / 0.5549 GB, free: 8.105 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4578, allocations: 1.156 kB / 0.5549 GB, free: 8.105 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4578, allocations: 0 / 0.5549 GB, free: 8.105 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4581, allocations: 209 kB / 0.5551 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.4581, allocations: 8.734 kB / 0.5551 GB, free: 7.922 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.4581, allocations: 5 kB / 0.5551 GB, free: 7.918 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4582, allocations: 2.469 kB / 0.5551 GB, free: 7.918 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4582, allocations: 14.23 kB / 0.5551 GB, free: 7.906 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.4583, allocations: 7.469 kB / 0.5551 GB, free: 7.902 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001935/0.4585, allocations: 170.8 kB / 0.5553 GB, free: 7.789 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4585, allocations: 0 / 0.5553 GB, free: 7.789 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002857/0.4587, allocations: 32.7 kB / 0.5553 GB, free: 7.773 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.00189/0.4606, allocations: 459 kB / 0.5558 GB, free: 7.559 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002595/0.4609, allocations: 59.62 kB / 0.5558 GB, free: 7.531 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4609, allocations: 0 / 0.5558 GB, free: 7.531 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.461, allocations: 28.3 kB / 0.5559 GB, free: 7.52 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4614, allocations: 33.31 kB / 0.5559 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.4621, allocations: 264.3 kB / 0.5561 GB, free: 7.305 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.4626, allocations: 0.7162 MB / 0.5568 GB, free: 6.586 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.984e-05/0.4626, allocations: 17.62 kB / 0.5569 GB, free: 6.578 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.4627, allocations: 19.44 kB / 0.5569 GB, free: 6.566 MB / 398.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4627, allocations: 3.938 kB / 0.5569 GB, free: 6.562 MB / 398.1 MB
Notification: Performance of Templates: time 0.006602/0.4693, allocations: 1.763 MB / 0.5586 GB, free: 5.34 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.775388065725565]