Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.001609/0.001609, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001428/0.001428, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.588/1.588, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2488/0.2488, allocations: 46.94 MB / 361.4 MB, free: 4.395 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
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(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.003832/0.003832, allocations: 76.14 kB / 0.4972 GB, free: 7.453 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4448, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003652/0.4485, allocations: 1.842 MB / 0.5635 GB, free: 2.66 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002197/0.4507, allocations: 1.115 MB / 0.5646 GB, free: 1.539 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4508, allocations: 0 / 0.5646 GB, free: 1.539 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.4515, allocations: 319.2 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.452, allocations: 255.2 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.4523, allocations: 111.6 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003947/0.4527, allocations: 267.2 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.4528, allocations: 5.812 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.453, allocations: 139.5 kB / 0.5656 GB, free: 472 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.4533, allocations: 219.5 kB / 0.5659 GB, free: 252 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.4533, allocations: 4 kB / 0.5659 GB, free: 248 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.4534, allocations: 51.92 kB / 0.5659 GB, free: 196 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.4536, allocations: 143.6 kB / 0.566 GB, free: 52 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4538, allocations: 150.8 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.4544, allocations: 384.6 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4544, allocations: 4 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.154e-06/0.4544, allocations: 0 / 0.5666 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 9.197e-06/0.4544, allocations: 0 / 0.5666 GB, free: 15.53 MB / 414.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.001138/0.4555, allocations: 0.6747 MB / 0.5672 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4556, allocations: 8.031 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.4557, allocations: 52.61 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.4564, allocations: 414.4 kB / 0.5677 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4564, allocations: 384 / 0.5677 GB, free: 14.33 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4564, allocations: 8.312 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.4566, allocations: 91.67 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4567, allocations: 0 / 0.5678 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4567, allocations: 0 / 0.5678 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4567, allocations: 4 kB / 0.5678 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4568, allocations: 31.97 kB / 0.5678 GB, free: 14.19 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.4572, allocations: 357.4 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4575, allocations: 101.2 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4576, allocations: 37.7 kB / 0.5683 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4576, allocations: 0 / 0.5683 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.4579, allocations: 116.9 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4579, allocations: 0 / 0.5684 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0005975/0.4585, allocations: 201.7 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.4586, allocations: 77.11 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4599, allocations: 1.054 MB / 0.5697 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.4599, allocations: 29.7 kB / 0.5697 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.4601, allocations: 236.1 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.4601, allocations: 35.72 kB / 0.57 GB, free: 11.83 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.4602, allocations: 29.66 kB / 0.57 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002013/0.4604, allocations: 370.8 kB / 0.5704 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.4605, allocations: 35.98 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.97e-05/0.4606, allocations: 66.91 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.4608, allocations: 83.36 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.4608, allocations: 8 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003101/0.4611, allocations: 177.2 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4611, allocations: 4 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4611, allocations: 4 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4611, allocations: 0 / 0.5707 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4612, allocations: 23.98 kB / 0.5707 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4612, allocations: 3.938 kB / 0.5707 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.4613, allocations: 11.88 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4613, allocations: 8.062 kB / 0.5708 GB, free: 10.98 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002341/0.4616, allocations: 222.3 kB / 0.571 GB, free: 10.75 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.4617, allocations: 59.56 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.4621, allocations: 202 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4621, allocations: 4 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4621, allocations: 4.062 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4621, allocations: 3.984 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.4625, allocations: 312.5 kB / 0.5715 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4625, allocations: 4 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.4626, allocations: 15.94 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4626, allocations: 0 / 0.5715 GB, free: 10.11 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4626, allocations: 7.984 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4626, allocations: 3.938 kB / 0.5716 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4626, allocations: 0 / 0.5716 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.463, allocations: 213.5 kB / 0.5718 GB, free: 9.867 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.4631, allocations: 71.53 kB / 0.5718 GB, free: 9.797 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.4632, allocations: 7.938 kB / 0.5718 GB, free: 9.789 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.4633, allocations: 11.98 kB / 0.5719 GB, free: 9.777 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.4633, allocations: 7.984 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4633, allocations: 4 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0009613/0.4643, allocations: 0.7839 MB / 0.5726 GB, free: 8.984 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4643, allocations: 0 / 0.5726 GB, free: 8.984 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002788/0.4646, allocations: 44 kB / 0.5727 GB, free: 8.941 MB / 414.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled)
 * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (12):
 * Single equations (assignments): 8
 * 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.001615/0.4662, allocations: 419.7 kB / 0.5731 GB, free: 8.66 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002721/0.4664, allocations: 71.91 kB / 0.5731 GB, free: 8.59 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4664, allocations: 0 / 0.5731 GB, free: 8.59 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4666, allocations: 47.91 kB / 0.5732 GB, free: 8.543 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.467, allocations: 69.72 kB / 0.5733 GB, free: 8.477 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4684, allocations: 0.8974 MB / 0.5741 GB, free: 7.551 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.4689, allocations: 0.8506 MB / 0.575 GB, free: 6.676 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001432/0.469, allocations: 54.95 kB / 0.575 GB, free: 6.621 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.4691, allocations: 35.42 kB / 0.575 GB, free: 6.59 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4691, allocations: 0 / 0.575 GB, free: 6.59 MB / 414.1 MB
Notification: Performance of Templates: time 0.009629/0.4787, allocations: 3.918 MB / 0.5789 GB, free: 2.688 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.682416229508817]