Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.001971/0.001971, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002489/0.002489, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.613/1.613, allocations: 230.3 MB / 258 MB, free: 8.203 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.2606/0.2606, allocations: 46.94 MB / 361.4 MB, free: 4.375 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42") [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.002418/0.002418, allocations: 79.88 kB / 0.4972 GB, free: 7.434 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4558, allocations: 66.05 MB / 0.5617 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004081/0.4598, allocations: 1.745 MB / 0.5634 GB, free: 2.719 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002095/0.4619, allocations: 1.053 MB / 0.5645 GB, free: 1.664 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.462, allocations: 4 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.4623, allocations: 51.69 kB / 0.5645 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000347/0.4627, allocations: 91.56 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.4629, allocations: 79.66 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002062/0.4631, allocations: 107.7 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4632, allocations: 11.98 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.4633, allocations: 51.72 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.4634, allocations: 27.86 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.4634, allocations: 4 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4636, allocations: 47.91 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.4636, allocations: 19.92 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.4637, allocations: 39.73 kB / 0.565 GB, free: 1.137 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.464, allocations: 122 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.464, allocations: 8 kB / 0.5651 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.923e-06/0.464, allocations: 0 / 0.5651 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.691e-06/0.464, allocations: 4 kB / 0.5651 GB, free: 1.012 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.0006798/0.4647, allocations: 349.5 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4647, allocations: 11.97 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.4647, allocations: 8.891 kB / 0.5654 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.4651, allocations: 158.2 kB / 0.5656 GB, free: 452 kB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4651, allocations: 4.375 kB / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4651, allocations: 4.375 kB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4653, allocations: 53.98 kB / 0.5657 GB, free: 384 kB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4653, allocations: 8 kB / 0.5657 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4653, allocations: 7.984 kB / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4653, allocations: 0 / 0.5657 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.4654, allocations: 16 kB / 0.5657 GB, free: 352 kB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4658, allocations: 263.8 kB / 0.5659 GB, free: 44 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4661, allocations: 58.73 kB / 0.566 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.4661, allocations: 20.8 kB / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.4661, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.4663, allocations: 67.33 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4663, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006118/0.4669, allocations: 185.3 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.467, allocations: 55.41 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4672, allocations: 214.7 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.4673, allocations: 29.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4674, allocations: 104.1 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4674, allocations: 23.84 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.4675, allocations: 25.72 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000218/0.4677, allocations: 326.8 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.4677, allocations: 19.98 kB / 0.567 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.4678, allocations: 45.64 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4679, allocations: 57.64 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4679, allocations: 0 / 0.5671 GB, free: 14.74 MB / 414.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002108/0.4682, allocations: 105.6 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4682, allocations: 6.344 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4682, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4682, allocations: 4 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4683, allocations: 24.33 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4683, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.4684, allocations: 4 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4684, allocations: 4.156 kB / 0.5673 GB, free: 14.59 MB / 414.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.0001377/0.4685, allocations: 133.8 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4685, allocations: 15.91 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.4688, allocations: 126.9 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4688, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4688, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4688, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.4693, allocations: 366.3 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4693, allocations: 4 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.4694, allocations: 11.98 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4694, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.4694, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4694, allocations: 3.938 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4694, allocations: 4.031 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.4696, allocations: 212.2 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.4697, allocations: 7.953 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.4697, allocations: 3.984 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.4698, allocations: 11.94 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4698, allocations: 3.984 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4698, allocations: 8 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001599/0.47, allocations: 156.3 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.47, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002491/0.4702, allocations: 20 kB / 0.5683 GB, free: 13.43 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: 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.001716/0.4719, allocations: 459.6 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002244/0.4722, allocations: 55.91 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4722, allocations: 0 / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.4722, allocations: 28.08 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4726, allocations: 33.81 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.4733, allocations: 246.8 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.4739, allocations: 0.7041 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.376e-05/0.4739, allocations: 16.98 kB / 0.5698 GB, free: 12 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.474, allocations: 19.42 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of SimCode: time 5.31e-07/0.474, allocations: 3.938 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of Templates: time 0.005729/0.4797, allocations: 1.77 MB / 0.5715 GB, free: 10.23 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.788071274757385]