Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001294/0.001294, allocations: 108.8 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.001338/0.001338, allocations: 186.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.535/1.535, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.2375/0.2375, allocations: 44.91 MB / 353.5 MB, free: 11.8 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 497.8 MB, free: 0.9258 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4512, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.005034/0.4562, allocations: 1.728 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002167/0.4584, allocations: 0.9087 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.4585, allocations: 5.156 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.459, allocations: 49.09 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00034/0.4594, allocations: 65.72 kB / 0.5516 GB, free: 11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.4598, allocations: 107.2 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002902/0.4601, allocations: 98.3 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4603, allocations: 11.5 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.4604, allocations: 45.22 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4605, allocations: 25.55 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.4605, allocations: 8.344 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.4607, allocations: 50.44 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.4608, allocations: 26.58 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.4609, allocations: 44.14 kB / 0.552 GB, free: 10.74 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000346/0.4612, allocations: 130.5 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4612, allocations: 0 / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.134e-06/0.4612, allocations: 0 / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.588e-06/0.4612, allocations: 1.094 kB / 0.5521 GB, free: 10.66 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.0008624/0.4621, allocations: 365.8 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/0.4622, allocations: 9.484 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.131e-05/0.4622, allocations: 19.97 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.4627, allocations: 163.4 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.4627, allocations: 5.438 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4628, allocations: 10.53 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.463, allocations: 57.75 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.463, allocations: 1.375 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.463, allocations: 0 / 0.5527 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.463, allocations: 1.125 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.4631, allocations: 17.8 kB / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.4636, allocations: 274.4 kB / 0.553 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.4638, allocations: 55.94 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.4639, allocations: 20.56 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4639, allocations: 1.281 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.4641, allocations: 69.48 kB / 0.5531 GB, free: 9.652 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4641, allocations: 0 / 0.5531 GB, free: 9.652 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.000662/0.4648, allocations: 180.4 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.4648, allocations: 52.66 kB / 0.5533 GB, free: 9.484 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.4652, allocations: 260 kB / 0.5536 GB, free: 9.312 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.4652, allocations: 30.86 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.4653, allocations: 115 kB / 0.5537 GB, free: 9.168 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.4654, allocations: 31.2 kB / 0.5538 GB, free: 9.141 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.4654, allocations: 20.84 kB / 0.5538 GB, free: 9.121 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002523/0.4657, allocations: 331.6 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.4657, allocations: 23.2 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.4658, allocations: 35.55 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.466, allocations: 66.7 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.466, allocations: 0 / 0.5542 GB, free: 8.707 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.4662, allocations: 104.5 kB / 0.5543 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4662, allocations: 6.031 kB / 0.5543 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4663, allocations: 0 / 0.5543 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4663, allocations: 1.219 kB / 0.5543 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4664, allocations: 22.11 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4664, allocations: 1.125 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.4665, allocations: 6.25 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4665, allocations: 10.06 kB / 0.5544 GB, free: 8.621 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.0002385/0.4667, allocations: 141.3 kB / 0.5545 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4667, allocations: 14.25 kB / 0.5545 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4671, allocations: 114.9 kB / 0.5546 GB, free: 8.406 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4671, allocations: 1.031 kB / 0.5546 GB, free: 8.406 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.4671, allocations: 9.219 kB / 0.5546 GB, free: 8.398 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4671, allocations: 7.922 kB / 0.5546 GB, free: 8.391 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.4677, allocations: 370.4 kB / 0.555 GB, free: 8.043 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4677, allocations: 1.125 kB / 0.555 GB, free: 8.043 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.4678, allocations: 11.44 kB / 0.555 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4678, allocations: 0.9688 kB / 0.555 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4678, allocations: 13.08 kB / 0.555 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.4678, allocations: 1.094 kB / 0.555 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4678, allocations: 1.156 kB / 0.555 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.4681, allocations: 201.5 kB / 0.5552 GB, free: 7.855 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.4681, allocations: 12 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.4682, allocations: 9.469 kB / 0.5552 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.4682, allocations: 2.594 kB / 0.5552 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4683, allocations: 6.422 kB / 0.5552 GB, free: 7.836 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4683, allocations: 3.969 kB / 0.5552 GB, free: 7.836 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002468/0.4686, allocations: 203 kB / 0.5554 GB, free: 7.707 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4686, allocations: 5.219 kB / 0.5554 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002768/0.4688, allocations: 28.03 kB / 0.5555 GB, free: 7.691 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.001785/0.4706, allocations: 460.9 kB / 0.5559 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002343/0.4709, allocations: 67.45 kB / 0.556 GB, free: 7.438 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4709, allocations: 1.438 kB / 0.556 GB, free: 7.438 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.4709, allocations: 23.17 kB / 0.556 GB, free: 7.43 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4713, allocations: 28.47 kB / 0.556 GB, free: 7.414 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.4721, allocations: 289.7 kB / 0.5563 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.4725, allocations: 0.7239 MB / 0.557 GB, free: 6.477 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.391e-05/0.4726, allocations: 17.75 kB / 0.557 GB, free: 6.465 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.4726, allocations: 15.38 kB / 0.557 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.4726, allocations: 0 / 0.557 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of Templates: time 0.006287/0.4789, allocations: 1.793 MB / 0.5588 GB, free: 5.082 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.519445597194135]