Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001927/0.001927, 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.002388/0.002388, allocations: 186.5 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.487/1.487, 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.2389/0.2389, 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 71.88 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4411, allocations: 64.29 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004029/0.4451, allocations: 1.729 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001802/0.4469, allocations: 0.9039 MB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.447, allocations: 5 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.4473, allocations: 50.56 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.4476, allocations: 64.38 kB / 0.5516 GB, free: 10.99 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.4479, allocations: 103.1 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001992/0.4481, allocations: 106.8 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4482, allocations: 8.078 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.4483, allocations: 44.48 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.4484, allocations: 33.33 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.4484, allocations: 4.375 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.4485, allocations: 47.27 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.4486, allocations: 26.77 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.4487, allocations: 39.75 kB / 0.552 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.4489, allocations: 137.3 kB / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4489, allocations: 1.094 kB / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.392e-06/0.4489, allocations: 0 / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.462e-06/0.449, allocations: 0 / 0.5521 GB, free: 10.65 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.000687/0.4496, allocations: 366.2 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4497, allocations: 14.02 kB / 0.5525 GB, free: 10.3 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.4497, allocations: 15.44 kB / 0.5525 GB, free: 10.29 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.4501, allocations: 163.4 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4501, allocations: 1.812 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.4501, allocations: 14.31 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4503, allocations: 58.81 kB / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4503, allocations: 0 / 0.5527 GB, free: 10.06 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4503, allocations: 4 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4503, allocations: 1.031 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.4504, allocations: 19.33 kB / 0.5527 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.4509, allocations: 262.2 kB / 0.553 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4511, allocations: 59.98 kB / 0.553 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.4512, allocations: 24.44 kB / 0.5531 GB, free: 9.707 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4512, allocations: 1.531 kB / 0.5531 GB, free: 9.707 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4513, allocations: 64.27 kB / 0.5531 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4514, allocations: 1.125 kB / 0.5531 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.000665/0.452, allocations: 179.3 kB / 0.5533 GB, free: 9.539 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.4521, allocations: 52.5 kB / 0.5533 GB, free: 9.477 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.4524, allocations: 263.7 kB / 0.5536 GB, free: 9.301 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4524, allocations: 30.89 kB / 0.5536 GB, free: 9.266 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4525, allocations: 111.5 kB / 0.5537 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4526, allocations: 28.09 kB / 0.5538 GB, free: 9.137 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.4526, allocations: 23.98 kB / 0.5538 GB, free: 9.113 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001946/0.4528, allocations: 331.2 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.4529, allocations: 23.27 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.453, allocations: 35.62 kB / 0.5541 GB, free: 8.746 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4532, allocations: 63.03 kB / 0.5542 GB, free: 8.703 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4532, allocations: 1.031 kB / 0.5542 GB, free: 8.703 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.4534, allocations: 108.1 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4534, allocations: 5.625 kB / 0.5543 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4534, allocations: 5.062 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4534, allocations: 1.156 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4535, allocations: 16.88 kB / 0.5543 GB, free: 8.625 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4535, allocations: 5.344 kB / 0.5543 GB, free: 8.621 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.4536, allocations: 9.078 kB / 0.5544 GB, free: 8.613 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4536, allocations: 3.688 kB / 0.5544 GB, free: 8.613 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.0001393/0.4537, allocations: 141.4 kB / 0.5545 GB, free: 8.48 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4538, allocations: 14.69 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.4541, allocations: 117.9 kB / 0.5546 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4541, allocations: 1.125 kB / 0.5546 GB, free: 8.395 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4541, allocations: 3.938 kB / 0.5546 GB, free: 8.391 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4541, allocations: 9 kB / 0.5546 GB, free: 8.383 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.4546, allocations: 370.5 kB / 0.555 GB, free: 8.035 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4546, allocations: 1.062 kB / 0.555 GB, free: 8.035 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.4546, allocations: 11.09 kB / 0.555 GB, free: 8.031 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4546, allocations: 1.094 kB / 0.555 GB, free: 8.031 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.4547, allocations: 9.188 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4547, allocations: 1.188 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4547, allocations: 1.094 kB / 0.555 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.4549, allocations: 206.2 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.455, allocations: 15.17 kB / 0.5552 GB, free: 7.836 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.455, allocations: 10.75 kB / 0.5552 GB, free: 7.828 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.4551, allocations: 1.406 kB / 0.5552 GB, free: 7.828 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.4551, allocations: 6.734 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4551, allocations: 3.969 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002104/0.4553, allocations: 202.7 kB / 0.5554 GB, free: 7.695 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4553, allocations: 1.031 kB / 0.5554 GB, free: 7.695 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000288/0.4556, allocations: 32.58 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.001787/0.4574, allocations: 468.3 kB / 0.5559 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002165/0.4576, allocations: 52.36 kB / 0.556 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4576, allocations: 0 / 0.556 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.4577, allocations: 23.33 kB / 0.556 GB, free: 7.426 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4581, allocations: 47.62 kB / 0.556 GB, free: 7.398 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.4587, allocations: 281.5 kB / 0.5563 GB, free: 7.191 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.4592, allocations: 0.728 MB / 0.557 GB, free: 6.465 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.187e-05/0.4592, allocations: 9.641 kB / 0.557 GB, free: 6.461 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.4592, allocations: 19.17 kB / 0.557 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4592, allocations: 0 / 0.557 GB, free: 6.449 MB / 398.1 MB
Notification: Performance of Templates: time 0.005793/0.465, allocations: 1.784 MB / 0.5588 GB, free: 5.117 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.580875897780061]