Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001283/0.001283, allocations: 100.6 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.00143/0.00143, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.499/1.499, 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.2504/0.2504, 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 64.12 kB / 497.8 MB, free: 0.9531 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4359, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00409/0.44, allocations: 1.734 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001859/0.4419, allocations: 0.8981 MB / 0.5514 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.442, allocations: 1.312 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.4423, allocations: 37.86 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.4426, allocations: 58.25 kB / 0.5515 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.4429, allocations: 115.9 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002181/0.4432, allocations: 93.17 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4433, allocations: 4.609 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.4434, allocations: 53.08 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.4435, allocations: 34.42 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.4435, allocations: 2.781 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4436, allocations: 43.3 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.4437, allocations: 22.59 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.4438, allocations: 34.98 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.444, allocations: 115.1 kB / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.444, allocations: 0 / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.444, allocations: 0 / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.281e-06/0.444, allocations: 1.062 kB / 0.552 GB, free: 10.69 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.0006771/0.4447, allocations: 354.5 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4447, allocations: 9.891 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.4448, allocations: 9.453 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.4451, allocations: 149.6 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4451, allocations: 1.562 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4451, allocations: 10.52 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.4453, allocations: 53.73 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4453, allocations: 1.031 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4454, allocations: 0 / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4454, allocations: 5.125 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.4454, allocations: 22.92 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.4459, allocations: 257.6 kB / 0.5529 GB, free: 9.84 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4461, allocations: 51.66 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.4462, allocations: 24.88 kB / 0.5529 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4462, allocations: 1.125 kB / 0.5529 GB, free: 9.781 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4464, allocations: 68.61 kB / 0.553 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 3.497e-06/0.4464, allocations: 3.984 kB / 0.553 GB, free: 9.711 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0006705/0.4471, allocations: 169.6 kB / 0.5532 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.4471, allocations: 53.41 kB / 0.5532 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.4474, allocations: 183.7 kB / 0.5534 GB, free: 9.414 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.4474, allocations: 30.7 kB / 0.5534 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.4475, allocations: 101.3 kB / 0.5535 GB, free: 9.281 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.4475, allocations: 31.27 kB / 0.5536 GB, free: 9.254 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.4476, allocations: 20.69 kB / 0.5536 GB, free: 9.234 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001698/0.4477, allocations: 326 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.4478, allocations: 22.89 kB / 0.5539 GB, free: 8.898 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.4479, allocations: 35.83 kB / 0.5539 GB, free: 8.871 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.448, allocations: 66.67 kB / 0.554 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.448, allocations: 0 / 0.554 GB, free: 8.824 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.4482, allocations: 99.34 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4483, allocations: 5.125 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4483, allocations: 1.062 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4483, allocations: 1.094 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4484, allocations: 25.45 kB / 0.5541 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4484, allocations: 5.5 kB / 0.5541 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.4484, allocations: 5.469 kB / 0.5541 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4484, allocations: 7.969 kB / 0.5542 GB, free: 8.738 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.0001273/0.4486, allocations: 125.5 kB / 0.5543 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4486, allocations: 21.91 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.4489, allocations: 114.8 kB / 0.5544 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4489, allocations: 1.094 kB / 0.5544 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4489, allocations: 0 / 0.5544 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4489, allocations: 4.906 kB / 0.5544 GB, free: 8.516 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.4494, allocations: 360.4 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4494, allocations: 1.188 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.4495, allocations: 11.47 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4495, allocations: 1.312 kB / 0.5548 GB, free: 8.168 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4495, allocations: 5.344 kB / 0.5548 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.4495, allocations: 5.453 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4495, allocations: 0 / 0.5548 GB, free: 8.16 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.4498, allocations: 207.8 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.4498, allocations: 11.34 kB / 0.555 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4498, allocations: 6.25 kB / 0.555 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.4499, allocations: 2.438 kB / 0.555 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4499, allocations: 6.359 kB / 0.555 GB, free: 7.965 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.45, allocations: 7.469 kB / 0.555 GB, free: 7.961 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001535/0.4501, allocations: 149.5 kB / 0.5552 GB, free: 7.852 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4501, allocations: 0 / 0.5552 GB, free: 7.852 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002622/0.4504, allocations: 24.03 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.001795/0.4522, allocations: 466.7 kB / 0.5556 GB, free: 7.621 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000207/0.4524, allocations: 57.06 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4524, allocations: 0 / 0.5557 GB, free: 7.598 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.4525, allocations: 31.39 kB / 0.5557 GB, free: 7.582 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4528, allocations: 28.12 kB / 0.5557 GB, free: 7.57 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.4533, allocations: 225.5 kB / 0.5559 GB, free: 7.383 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4537, allocations: 0.7091 MB / 0.5566 GB, free: 6.668 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.239e-05/0.4537, allocations: 14.64 kB / 0.5567 GB, free: 6.664 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.4538, allocations: 18.17 kB / 0.5567 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.4538, allocations: 1.031 kB / 0.5567 GB, free: 6.652 MB / 398.1 MB
Notification: Performance of Templates: time 0.005648/0.4594, allocations: 1.758 MB / 0.5584 GB, free: 5.508 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.44880014564842]