Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001415/0.001415, 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.001576/0.001576, 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.514/1.514, 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.2478/0.2478, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4591, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003737/0.4628, allocations: 1.733 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003176/0.466, allocations: 1.592 MB / 0.5521 GB, free: 10.53 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4661, allocations: 1.406 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.4665, allocations: 43.92 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.4669, allocations: 50.8 kB / 0.5522 GB, free: 10.46 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.4673, allocations: 118.7 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002434/0.4675, allocations: 99.31 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.4677, allocations: 7.562 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.4678, allocations: 48.86 kB / 0.5525 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.468, allocations: 41.58 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.4681, allocations: 4.656 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.4683, allocations: 57.08 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.4683, allocations: 23.38 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.483e-05/0.4684, allocations: 28.11 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.4688, allocations: 125.2 kB / 0.5527 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4688, allocations: 1.312 kB / 0.5527 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.275e-06/0.4688, allocations: 0 / 0.5527 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.468e-06/0.4688, allocations: 4 kB / 0.5528 GB, free: 10.12 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.0007469/0.4695, allocations: 337.5 kB / 0.5531 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4696, allocations: 9.766 kB / 0.5531 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.4696, allocations: 9.203 kB / 0.5531 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.47, allocations: 140.6 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.47, allocations: 5.5 kB / 0.5532 GB, free: 9.629 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4701, allocations: 6.312 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.4703, allocations: 78.31 kB / 0.5533 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4703, allocations: 0 / 0.5533 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4703, allocations: 5.109 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4703, allocations: 0 / 0.5533 GB, free: 9.547 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.995e-05/0.4704, allocations: 14.97 kB / 0.5533 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.4709, allocations: 254.6 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.4711, allocations: 64.48 kB / 0.5536 GB, free: 9.219 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.4711, allocations: 21.31 kB / 0.5537 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4711, allocations: 1.062 kB / 0.5537 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4713, allocations: 68.3 kB / 0.5537 GB, free: 9.137 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4713, allocations: 1.188 kB / 0.5537 GB, free: 9.137 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0007264/0.472, allocations: 172.9 kB / 0.5539 GB, free: 9.035 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.4721, allocations: 78.2 kB / 0.554 GB, free: 8.941 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4723, allocations: 148 kB / 0.5541 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.4724, allocations: 30.77 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.4725, allocations: 95.47 kB / 0.5542 GB, free: 8.691 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.4725, allocations: 27.12 kB / 0.5542 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.4726, allocations: 25.33 kB / 0.5543 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002041/0.4728, allocations: 325.9 kB / 0.5546 GB, free: 8.32 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.4728, allocations: 23.16 kB / 0.5546 GB, free: 8.309 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.4729, allocations: 44.34 kB / 0.5546 GB, free: 8.27 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4731, allocations: 59.45 kB / 0.5547 GB, free: 8.23 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.4731, allocations: 7.938 kB / 0.5547 GB, free: 8.223 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.4733, allocations: 98.72 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4733, allocations: 5.344 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4733, allocations: 5.25 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.4734, allocations: 1.25 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4735, allocations: 12.62 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4735, allocations: 1 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.4736, allocations: 15.23 kB / 0.5548 GB, free: 8.145 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4736, allocations: 2.344 kB / 0.5548 GB, free: 8.145 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.0001625/0.4737, allocations: 124 kB / 0.555 GB, free: 8.02 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.4738, allocations: 13.03 kB / 0.555 GB, free: 8.012 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.4741, allocations: 117.5 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4741, allocations: 1.156 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4741, allocations: 0 / 0.5551 GB, free: 7.93 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4741, allocations: 5.031 kB / 0.5551 GB, free: 7.926 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.4747, allocations: 358.2 kB / 0.5554 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4747, allocations: 0 / 0.5554 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.4747, allocations: 12.64 kB / 0.5555 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4747, allocations: 3.938 kB / 0.5555 GB, free: 7.574 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.4747, allocations: 14.25 kB / 0.5555 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4747, allocations: 1.188 kB / 0.5555 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4747, allocations: 0 / 0.5555 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4751, allocations: 195.9 kB / 0.5557 GB, free: 7.395 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.4751, allocations: 11.36 kB / 0.5557 GB, free: 7.387 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.4751, allocations: 6.25 kB / 0.5557 GB, free: 7.383 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.4752, allocations: 13.92 kB / 0.5557 GB, free: 7.371 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4753, allocations: 4.094 kB / 0.5557 GB, free: 7.371 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.4753, allocations: 10.27 kB / 0.5557 GB, free: 7.363 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001274/0.4754, allocations: 115.9 kB / 0.5558 GB, free: 7.27 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.6e-07/0.4754, allocations: 1.5 kB / 0.5558 GB, free: 7.27 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000374/0.4758, allocations: 32.17 kB / 0.5558 GB, free: 7.258 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.001971/0.4778, allocations: 0.4969 MB / 0.5563 GB, free: 7.02 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002597/0.478, allocations: 60.12 kB / 0.5564 GB, free: 6.992 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.478, allocations: 0 / 0.5564 GB, free: 6.992 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.4781, allocations: 28.23 kB / 0.5564 GB, free: 6.98 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4785, allocations: 24.09 kB / 0.5564 GB, free: 6.973 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.4792, allocations: 204.6 kB / 0.5566 GB, free: 6.793 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.4797, allocations: 0.6969 MB / 0.5573 GB, free: 6.086 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 9.478e-05/0.4798, allocations: 19.12 kB / 0.5573 GB, free: 6.074 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.4799, allocations: 24.08 kB / 0.5574 GB, free: 6.059 MB / 398.1 MB
Notification: Performance of SimCode: time 6.71e-07/0.4799, allocations: 1.188 kB / 0.5574 GB, free: 6.059 MB / 398.1 MB
Notification: Performance of Templates: time 0.007963/0.4879, allocations: 1.997 MB / 0.5593 GB, free: 4.566 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.715001993812621]