Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001392/0.001392, allocations: 102 kB / 21.22 MB, free: 0.6562 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.001399/0.001399, allocations: 185.2 kB / 24.51 MB, free: 4.016 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.462/1.462, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2439/0.2439, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.Test19,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.Test19")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.12 kB / 497.8 MB, free: 0.9531 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.454, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003775/0.4578, allocations: 1.732 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001767/0.4596, allocations: 0.9039 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.4597, allocations: 5.5 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.46, allocations: 34.48 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.4602, allocations: 61.75 kB / 0.5515 GB, free: 11 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.4606, allocations: 111.7 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002054/0.4608, allocations: 105.5 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.4609, allocations: 8.609 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.461, allocations: 41.45 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4611, allocations: 33.86 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.4611, allocations: 2.812 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4613, allocations: 43.17 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.4613, allocations: 26.86 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.4614, allocations: 36.2 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4617, allocations: 113.6 kB / 0.552 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4617, allocations: 0 / 0.552 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.073e-06/0.4617, allocations: 1.281 kB / 0.552 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.083e-05/0.4617, allocations: 0 / 0.552 GB, free: 10.68 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.0006529/0.4623, allocations: 346.5 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4624, allocations: 10.77 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.4624, allocations: 9.359 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.4628, allocations: 145.3 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4628, allocations: 5.406 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4628, allocations: 6.344 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.463, allocations: 55.02 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.463, allocations: 0 / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.463, allocations: 4 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.463, allocations: 1.281 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.4631, allocations: 17.98 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.4635, allocations: 265.2 kB / 0.5529 GB, free: 9.836 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4637, allocations: 56.89 kB / 0.5529 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.4638, allocations: 20.2 kB / 0.5529 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4638, allocations: 1.062 kB / 0.553 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.464, allocations: 60.83 kB / 0.553 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.464, allocations: 1.312 kB / 0.553 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006004/0.4646, allocations: 172.7 kB / 0.5532 GB, free: 9.617 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4646, allocations: 52.56 kB / 0.5532 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.4648, allocations: 192.4 kB / 0.5534 GB, free: 9.41 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4648, allocations: 26.8 kB / 0.5534 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.4649, allocations: 104.5 kB / 0.5535 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.465, allocations: 23.23 kB / 0.5536 GB, free: 9.258 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.465, allocations: 29.36 kB / 0.5536 GB, free: 9.23 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001747/0.4652, allocations: 326.4 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.4652, allocations: 14.12 kB / 0.5539 GB, free: 8.902 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.4653, allocations: 40.33 kB / 0.5539 GB, free: 8.871 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4655, allocations: 58.67 kB / 0.554 GB, free: 8.832 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4655, allocations: 0 / 0.554 GB, free: 8.832 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.4657, allocations: 107.3 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4657, allocations: 9.703 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4657, allocations: 1.406 kB / 0.5541 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4657, allocations: 3.938 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4658, allocations: 21.84 kB / 0.5541 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4658, allocations: 9.234 kB / 0.5541 GB, free: 8.738 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.4659, allocations: 5.188 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4659, allocations: 7.578 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.0001215/0.466, allocations: 126.9 kB / 0.5543 GB, free: 8.605 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.466, allocations: 12.34 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4663, allocations: 111.8 kB / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4663, allocations: 1.219 kB / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4663, allocations: 0 / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4663, allocations: 7.938 kB / 0.5544 GB, free: 8.516 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.4668, allocations: 364.7 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4668, allocations: 1.125 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.4668, allocations: 11.02 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4668, allocations: 1.156 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4669, allocations: 6.406 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.4669, allocations: 1.188 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4669, allocations: 0 / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.4671, allocations: 200.2 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.4672, allocations: 12.12 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.4672, allocations: 9.062 kB / 0.555 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.4673, allocations: 6.453 kB / 0.555 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4673, allocations: 6.688 kB / 0.555 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.4673, allocations: 7.234 kB / 0.555 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001344/0.4675, allocations: 145.5 kB / 0.5551 GB, free: 7.855 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4675, allocations: 192 / 0.5551 GB, free: 7.855 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002662/0.4677, allocations: 28.39 kB / 0.5552 GB, free: 7.844 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.001744/0.4695, allocations: 464.7 kB / 0.5556 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002211/0.4697, allocations: 59.98 kB / 0.5557 GB, free: 7.594 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4697, allocations: 0 / 0.5557 GB, free: 7.594 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.4698, allocations: 24.08 kB / 0.5557 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.4702, allocations: 41.03 kB / 0.5557 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4707, allocations: 228.8 kB / 0.556 GB, free: 7.375 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4711, allocations: 0.7086 MB / 0.5566 GB, free: 6.66 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.29e-05/0.4711, allocations: 14.62 kB / 0.5567 GB, free: 6.656 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.4711, allocations: 14.97 kB / 0.5567 GB, free: 6.648 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.4711, allocations: 0 / 0.5567 GB, free: 6.648 MB / 398.1 MB
Notification: Performance of Templates: time 0.005331/0.4765, allocations: 1.749 MB / 0.5584 GB, free: 5.531 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.492862860672176]