Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001921/0.001921, allocations: 110 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.001897/0.001897, allocations: 186.2 kB / 24.51 MB, free: 4.035 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.473/1.473, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2561/0.2561, 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003933/0.003933, allocations: 67.89 kB / 497.8 MB, free: 0.918 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4618, allocations: 64.29 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00361/0.4654, allocations: 1.751 MB / 0.5506 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001761/0.4672, allocations: 0.8981 MB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.4672, allocations: 3.938 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000353/0.4676, allocations: 81.97 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000406/0.468, allocations: 86.06 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.4684, allocations: 116.1 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002246/0.4686, allocations: 116.7 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.4687, allocations: 12.53 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.4689, allocations: 60.38 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.469, allocations: 65.97 kB / 0.552 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.469, allocations: 3.625 kB / 0.552 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.4692, allocations: 61.88 kB / 0.5521 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.4692, allocations: 29.95 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.4693, allocations: 35.31 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4696, allocations: 139.6 kB / 0.5523 GB, free: 10.58 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4696, allocations: 5.281 kB / 0.5523 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of FrontEnd: time 8.31e-07/0.4696, allocations: 0 / 0.5523 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.542e-06/0.4696, allocations: 0 / 0.5523 GB, free: 10.57 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006313/0.4702, allocations: 360.5 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4703, allocations: 14.2 kB / 0.5526 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.4703, allocations: 9.703 kB / 0.5526 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.4706, allocations: 168.2 kB / 0.5528 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4706, allocations: 1.656 kB / 0.5528 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4707, allocations: 11.72 kB / 0.5528 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.4709, allocations: 55.7 kB / 0.5529 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4709, allocations: 1.062 kB / 0.5529 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4709, allocations: 0 / 0.5529 GB, free: 9.992 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4709, allocations: 5.297 kB / 0.5529 GB, free: 9.988 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.471, allocations: 28.66 kB / 0.5529 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.4715, allocations: 275.8 kB / 0.5531 GB, free: 9.688 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4718, allocations: 55.19 kB / 0.5532 GB, free: 9.648 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.4718, allocations: 22.22 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4718, allocations: 1.094 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.4721, allocations: 74.05 kB / 0.5533 GB, free: 9.562 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4721, allocations: 7.938 kB / 0.5533 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0008098/0.4729, allocations: 242.8 kB / 0.5535 GB, free: 9.422 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.473, allocations: 60.78 kB / 0.5536 GB, free: 9.352 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.4732, allocations: 219.7 kB / 0.5538 GB, free: 9.195 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.4732, allocations: 30.64 kB / 0.5538 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.4733, allocations: 106.9 kB / 0.5539 GB, free: 9.059 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.4734, allocations: 36.19 kB / 0.554 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.4734, allocations: 30.69 kB / 0.554 GB, free: 9 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002414/0.4737, allocations: 327.3 kB / 0.5543 GB, free: 8.676 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.4737, allocations: 26.61 kB / 0.5543 GB, free: 8.664 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4739, allocations: 44.7 kB / 0.5544 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4741, allocations: 79.67 kB / 0.5545 GB, free: 8.582 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4741, allocations: 1.344 kB / 0.5545 GB, free: 8.582 MB / 398.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.4744, allocations: 145.3 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4744, allocations: 5.312 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4744, allocations: 1.406 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4744, allocations: 1.125 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.4745, allocations: 20.27 kB / 0.5546 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4745, allocations: 6.156 kB / 0.5546 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.4745, allocations: 2.094 kB / 0.5546 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.4746, allocations: 7.344 kB / 0.5546 GB, free: 8.477 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 (13):
 * Single equations (assignments): 13
 * 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.0001487/0.4747, allocations: 141.8 kB / 0.5548 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4747, allocations: 10.33 kB / 0.5548 GB, free: 8.336 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.4751, allocations: 150.1 kB / 0.5549 GB, free: 8.242 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4751, allocations: 1.156 kB / 0.5549 GB, free: 8.242 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4751, allocations: 3.938 kB / 0.5549 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4751, allocations: 1.156 kB / 0.5549 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.4757, allocations: 420.8 kB / 0.5553 GB, free: 7.855 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4757, allocations: 4 kB / 0.5553 GB, free: 7.852 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.4758, allocations: 16.48 kB / 0.5553 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4758, allocations: 1.156 kB / 0.5554 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4758, allocations: 6.25 kB / 0.5554 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4758, allocations: 1.062 kB / 0.5554 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4758, allocations: 5.125 kB / 0.5554 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4761, allocations: 242.4 kB / 0.5556 GB, free: 7.637 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.4761, allocations: 16.97 kB / 0.5556 GB, free: 7.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.4762, allocations: 2.688 kB / 0.5556 GB, free: 7.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.4762, allocations: 5.406 kB / 0.5556 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4763, allocations: 7.828 kB / 0.5556 GB, free: 7.617 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.4763, allocations: 4.969 kB / 0.5556 GB, free: 7.617 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001607/0.4765, allocations: 175.1 kB / 0.5558 GB, free: 7.5 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.4765, allocations: 4 kB / 0.5558 GB, free: 7.496 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002789/0.4767, allocations: 32.06 kB / 0.5558 GB, free: 7.484 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (11):
 * Single equations (assignments): 9
 * 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.001933/0.4787, allocations: 0.5086 MB / 0.5563 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002301/0.4789, allocations: 75.06 kB / 0.5564 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.4789, allocations: 4.844 kB / 0.5564 GB, free: 7.211 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.479, allocations: 32.89 kB / 0.5564 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.4794, allocations: 36.81 kB / 0.5565 GB, free: 7.18 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.48, allocations: 287.2 kB / 0.5567 GB, free: 6.957 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.4804, allocations: 0.7183 MB / 0.5574 GB, free: 6.238 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.44e-05/0.4805, allocations: 24.53 kB / 0.5575 GB, free: 6.227 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.4806, allocations: 20.09 kB / 0.5575 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.4806, allocations: 1.312 kB / 0.5575 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of Templates: time 0.005774/0.4863, allocations: 2.018 MB / 0.5595 GB, free: 4.43 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.540704820305109]