Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001558/0.001558, 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.001824/0.001824, allocations: 186.4 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.646/1.646, 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.2434/0.2434, allocations: 44.91 MB / 353.5 MB, free: 11.81 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4486, allocations: 64.29 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003984/0.4526, allocations: 1.746 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002246/0.4548, allocations: 0.8994 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.455, allocations: 1.406 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.4554, allocations: 53.55 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.4557, allocations: 56.83 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.4561, allocations: 120.2 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4563, allocations: 98.09 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4564, allocations: 7.094 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4565, allocations: 40.8 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.4566, allocations: 38.72 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.4567, allocations: 3.125 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.4568, allocations: 42.58 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.4569, allocations: 31.88 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.4569, allocations: 36.78 kB / 0.552 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000311/0.4572, allocations: 139 kB / 0.5521 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4572, allocations: 4 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4572, allocations: 0 / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.603e-06/0.4573, 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.0007005/0.458, allocations: 380.7 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.458, allocations: 9.703 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.4581, allocations: 16.19 kB / 0.5525 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.4584, allocations: 164.8 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.4585, allocations: 6.781 kB / 0.5527 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4585, allocations: 9.25 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4587, allocations: 55.14 kB / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4587, allocations: 0 / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4587, allocations: 0 / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4587, allocations: 1.062 kB / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.4588, allocations: 22.58 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.4593, allocations: 267.1 kB / 0.553 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4595, allocations: 52.25 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.4596, allocations: 20.75 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4596, allocations: 1.219 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4597, allocations: 69.05 kB / 0.5531 GB, free: 9.652 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.4597, allocations: 0 / 0.5531 GB, free: 9.652 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006582/0.4604, allocations: 193.2 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4605, allocations: 52.81 kB / 0.5534 GB, free: 9.473 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.4609, allocations: 270.7 kB / 0.5536 GB, free: 9.301 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4609, allocations: 26.89 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.461, allocations: 112.2 kB / 0.5538 GB, free: 9.164 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.4611, allocations: 35.06 kB / 0.5538 GB, free: 9.133 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.4611, allocations: 24.38 kB / 0.5538 GB, free: 9.109 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001856/0.4613, allocations: 332.8 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.4614, allocations: 26.2 kB / 0.5542 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.4614, allocations: 40.02 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4616, allocations: 66.8 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4616, allocations: 0 / 0.5543 GB, free: 8.688 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.4618, allocations: 97.5 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4618, allocations: 5.875 kB / 0.5544 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4618, allocations: 4.031 kB / 0.5544 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4618, allocations: 5.188 kB / 0.5544 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4619, allocations: 16.86 kB / 0.5544 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.462, allocations: 1.406 kB / 0.5544 GB, free: 8.617 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.462, allocations: 9.375 kB / 0.5544 GB, free: 8.609 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.462, allocations: 3.281 kB / 0.5544 GB, free: 8.609 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.0001374/0.4622, allocations: 134.4 kB / 0.5545 GB, free: 8.484 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.4622, allocations: 18.58 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.4625, allocations: 127.1 kB / 0.5547 GB, free: 8.387 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4625, allocations: 1.094 kB / 0.5547 GB, free: 8.387 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.4625, allocations: 0 / 0.5547 GB, free: 8.387 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.4625, allocations: 5.125 kB / 0.5547 GB, free: 8.383 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.4631, allocations: 367.8 kB / 0.555 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4631, allocations: 0 / 0.555 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.4631, allocations: 11.3 kB / 0.555 GB, free: 8.035 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4631, allocations: 1.312 kB / 0.555 GB, free: 8.035 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4632, allocations: 13.38 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4632, allocations: 1.094 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4632, allocations: 1.125 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.4635, allocations: 210 kB / 0.5552 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.4635, allocations: 16.44 kB / 0.5553 GB, free: 7.832 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4635, allocations: 9.109 kB / 0.5553 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.4636, allocations: 2.312 kB / 0.5553 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.4636, allocations: 11.33 kB / 0.5553 GB, free: 7.816 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4637, allocations: 2.75 kB / 0.5553 GB, free: 7.816 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002366/0.4639, allocations: 205.1 kB / 0.5555 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4639, allocations: 1.062 kB / 0.5555 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002774/0.4642, allocations: 28.33 kB / 0.5555 GB, free: 7.68 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.001887/0.4661, allocations: 468.3 kB / 0.556 GB, free: 7.457 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002486/0.4663, allocations: 56.09 kB / 0.556 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4663, allocations: 0 / 0.556 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.4664, allocations: 27.56 kB / 0.556 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.4668, allocations: 34.64 kB / 0.5561 GB, free: 7.406 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/0.4676, allocations: 296.9 kB / 0.5563 GB, free: 7.191 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.4681, allocations: 0.7202 MB / 0.5571 GB, free: 6.473 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.911e-05/0.4681, allocations: 22.05 kB / 0.5571 GB, free: 6.461 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.4682, allocations: 14.94 kB / 0.5571 GB, free: 6.453 MB / 398.1 MB
Notification: Performance of SimCode: time 4.4e-07/0.4682, allocations: 0 / 0.5571 GB, free: 6.453 MB / 398.1 MB
Notification: Performance of Templates: time 0.006366/0.4745, allocations: 1.794 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.Test6.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.506768204271793]