Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.00128/0.00128, allocations: 108.5 kB / 21.23 MB, free: 0.668 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.001304/0.001304, allocations: 185.2 kB / 24.51 MB, free: 4.051 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.539/1.539, 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.247/0.247, allocations: 44.91 MB / 353.5 MB, free: 11.85 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 497.8 MB, free: 0.9688 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4463, allocations: 64.28 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003803/0.4501, allocations: 1.737 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002027/0.4521, allocations: 0.9069 MB / 0.5515 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4522, allocations: 1.562 kB / 0.5515 GB, free: 11.1 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.4527, allocations: 43.86 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.453, allocations: 59.34 kB / 0.5516 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.4533, allocations: 110 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002226/0.4536, allocations: 94.27 kB / 0.5518 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4537, allocations: 12.16 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.4538, allocations: 44.44 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.4539, allocations: 26.61 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.4539, allocations: 7 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.4541, allocations: 47.86 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.4542, allocations: 27.16 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4543, allocations: 35.83 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.4546, allocations: 115.5 kB / 0.5521 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4546, allocations: 3.938 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.744e-06/0.4546, allocations: 0 / 0.5521 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.627e-06/0.4546, allocations: 1.688 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.0007026/0.4553, allocations: 338.7 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4553, allocations: 15.23 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.4554, allocations: 9.234 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.4557, allocations: 159.5 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4557, allocations: 1.781 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.4558, allocations: 6.875 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4559, allocations: 53.61 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.456, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.456, allocations: 1.156 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.456, allocations: 1.094 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.4561, allocations: 22.17 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.4565, allocations: 257.8 kB / 0.5529 GB, free: 9.863 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.4567, allocations: 56.14 kB / 0.5529 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.4567, allocations: 16.45 kB / 0.553 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4567, allocations: 1.25 kB / 0.553 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.4569, allocations: 76.84 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4569, allocations: 1 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005894/0.4575, allocations: 169.4 kB / 0.5532 GB, free: 9.637 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4576, allocations: 61.72 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.4578, allocations: 204.1 kB / 0.5534 GB, free: 9.414 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.4579, allocations: 26.83 kB / 0.5535 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.458, allocations: 108.8 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.458, allocations: 32.17 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.4581, allocations: 21.12 kB / 0.5536 GB, free: 9.23 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001959/0.4583, allocations: 325.1 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.4584, allocations: 23.77 kB / 0.554 GB, free: 8.895 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/0.4585, allocations: 35.52 kB / 0.554 GB, free: 8.867 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.4586, allocations: 70.8 kB / 0.5541 GB, free: 8.816 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.4586, allocations: 0 / 0.5541 GB, free: 8.816 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.4588, allocations: 100.6 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4588, allocations: 4.5 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4588, allocations: 1.25 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4589, allocations: 1.312 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.459, allocations: 20.58 kB / 0.5542 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.459, allocations: 1.094 kB / 0.5542 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.459, allocations: 10.14 kB / 0.5542 GB, free: 8.738 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.459, allocations: 10.12 kB / 0.5542 GB, free: 8.73 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.0001455/0.4592, allocations: 128.6 kB / 0.5543 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4592, allocations: 13.84 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.4595, allocations: 119.8 kB / 0.5545 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4595, allocations: 1.219 kB / 0.5545 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4595, allocations: 0 / 0.5545 GB, free: 8.512 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4595, allocations: 3.938 kB / 0.5545 GB, free: 8.508 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.46, allocations: 362.5 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.46, allocations: 0 / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.46, allocations: 8.125 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4601, allocations: 5.109 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4601, allocations: 5.094 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4601, allocations: 1.094 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4601, allocations: 1.125 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.4603, allocations: 208.1 kB / 0.555 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.4603, allocations: 11.23 kB / 0.555 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4604, allocations: 10.12 kB / 0.555 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.4604, allocations: 10.3 kB / 0.555 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4605, allocations: 2.25 kB / 0.5551 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4605, allocations: 3.562 kB / 0.5551 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001473/0.4607, allocations: 152.1 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 192 / 0.5552 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002674/0.4609, allocations: 32.2 kB / 0.5552 GB, free: 7.832 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.001693/0.4626, allocations: 461.9 kB / 0.5557 GB, free: 7.613 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002078/0.4628, allocations: 60.47 kB / 0.5557 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4628, allocations: 0 / 0.5557 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.4629, allocations: 23.66 kB / 0.5558 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4633, allocations: 31.02 kB / 0.5558 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.4638, allocations: 236.2 kB / 0.556 GB, free: 7.375 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4641, allocations: 0.7169 MB / 0.5567 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 4.619e-05/0.4642, allocations: 10.58 kB / 0.5567 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.4642, allocations: 18.95 kB / 0.5567 GB, free: 6.641 MB / 398.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.4642, allocations: 0 / 0.5567 GB, free: 6.641 MB / 398.1 MB
Notification: Performance of Templates: time 0.005255/0.4695, allocations: 1.765 MB / 0.5585 GB, free: 5.496 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.466831471771002]