Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001704/0.001704, 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.002104/0.002104, 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.519/1.519, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2507/0.2507, allocations: 44.92 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.89 kB / 497.8 MB, free: 0.9336 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4702, allocations: 64.3 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004364/0.4746, allocations: 1.766 MB / 0.5506 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002008/0.4766, allocations: 0.9066 MB / 0.5515 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.875e-05/0.4767, allocations: 9.031 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000458/0.4771, allocations: 106 kB / 0.5516 GB, free: 10.97 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000315/0.4774, allocations: 83.94 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.4778, allocations: 119.7 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003504/0.4782, allocations: 125.7 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.4783, allocations: 17.39 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.4785, allocations: 71.16 kB / 0.552 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.4787, allocations: 75.52 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.4787, allocations: 5.844 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4788, allocations: 59.02 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.4789, allocations: 35.52 kB / 0.5522 GB, free: 10.64 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.479, allocations: 46.31 kB / 0.5522 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.4794, allocations: 157.3 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4794, allocations: 3.938 kB / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.4794, allocations: 0 / 0.5524 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.775e-06/0.4794, allocations: 4 kB / 0.5524 GB, free: 10.5 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0007994/0.4802, allocations: 380.5 kB / 0.5527 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4803, allocations: 10.23 kB / 0.5528 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.4804, allocations: 15.94 kB / 0.5528 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.4807, allocations: 169.9 kB / 0.5529 GB, free: 9.957 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.4807, allocations: 6.625 kB / 0.5529 GB, free: 9.953 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4808, allocations: 7.562 kB / 0.5529 GB, free: 9.949 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.481, allocations: 78.81 kB / 0.553 GB, free: 9.887 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.481, allocations: 0 / 0.553 GB, free: 9.887 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.481, allocations: 9.047 kB / 0.553 GB, free: 9.879 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.481, allocations: 1.281 kB / 0.553 GB, free: 9.879 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4811, allocations: 31.58 kB / 0.5531 GB, free: 9.867 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.4816, allocations: 297.3 kB / 0.5533 GB, free: 9.57 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.482, allocations: 75.39 kB / 0.5534 GB, free: 9.52 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.482, allocations: 28.56 kB / 0.5534 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.4821, allocations: 1.219 kB / 0.5534 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.4823, allocations: 81.97 kB / 0.5535 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4823, allocations: 0 / 0.5535 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0009377/0.4832, allocations: 302.7 kB / 0.5538 GB, free: 9.266 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.4833, allocations: 56.47 kB / 0.5539 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4835, allocations: 250.4 kB / 0.5541 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4836, allocations: 26.8 kB / 0.5541 GB, free: 8.996 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4837, allocations: 111.7 kB / 0.5542 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.4837, allocations: 54.42 kB / 0.5543 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.4838, allocations: 36.48 kB / 0.5543 GB, free: 8.812 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002091/0.484, allocations: 328.5 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.4841, allocations: 35.8 kB / 0.5547 GB, free: 8.473 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4842, allocations: 65.77 kB / 0.5547 GB, free: 8.426 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.4844, allocations: 103.1 kB / 0.5548 GB, free: 8.363 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4844, allocations: 0 / 0.5548 GB, free: 8.363 MB / 398.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003272/0.4848, allocations: 164.6 kB / 0.555 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4848, allocations: 5.344 kB / 0.555 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4848, allocations: 1.094 kB / 0.555 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4848, allocations: 9.125 kB / 0.555 GB, free: 8.266 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4849, allocations: 29.58 kB / 0.555 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4849, allocations: 2.25 kB / 0.555 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.4849, allocations: 2.156 kB / 0.555 GB, free: 8.258 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.485, allocations: 9.219 kB / 0.555 GB, free: 8.254 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 (16):
 * Single equations (assignments): 16
 * 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.0001537/0.4851, allocations: 140.6 kB / 0.5552 GB, free: 8.121 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.4851, allocations: 15.59 kB / 0.5552 GB, free: 8.113 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.4856, allocations: 182.4 kB / 0.5554 GB, free: 8.008 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4856, allocations: 9.062 kB / 0.5554 GB, free: 8 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4856, allocations: 1.062 kB / 0.5554 GB, free: 8 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4856, allocations: 0 / 0.5554 GB, free: 8 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.4863, allocations: 478.1 kB / 0.5558 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4863, allocations: 1.031 kB / 0.5558 GB, free: 7.586 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.4864, allocations: 24.64 kB / 0.5559 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4864, allocations: 1.344 kB / 0.5559 GB, free: 7.578 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4864, allocations: 10.72 kB / 0.5559 GB, free: 7.57 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.4864, allocations: 5.438 kB / 0.5559 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4864, allocations: 1.344 kB / 0.5559 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4867, allocations: 254.9 kB / 0.5561 GB, free: 7.367 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.4868, allocations: 17.12 kB / 0.5561 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4868, allocations: 2.875 kB / 0.5561 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.4869, allocations: 14.55 kB / 0.5562 GB, free: 7.344 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.4869, allocations: 12.84 kB / 0.5562 GB, free: 7.336 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4869, allocations: 4.719 kB / 0.5562 GB, free: 7.336 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001785/0.4871, allocations: 183.2 kB / 0.5563 GB, free: 7.219 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4871, allocations: 5.156 kB / 0.5563 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002691/0.4874, allocations: 39.05 kB / 0.5564 GB, free: 7.199 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 (14):
 * Single equations (assignments): 12
 * 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.001859/0.4892, allocations: 0.5059 MB / 0.5569 GB, free: 6.965 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002649/0.4895, allocations: 106.9 kB / 0.557 GB, free: 6.914 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4895, allocations: 4 kB / 0.557 GB, free: 6.91 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4896, allocations: 44.33 kB / 0.557 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.49, allocations: 32.69 kB / 0.5571 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.4907, allocations: 321.2 kB / 0.5574 GB, free: 6.59 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.4912, allocations: 0.7318 MB / 0.5581 GB, free: 5.832 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.935e-05/0.4912, allocations: 21.41 kB / 0.5581 GB, free: 5.812 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.4913, allocations: 19.44 kB / 0.5581 GB, free: 5.793 MB / 398.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4913, allocations: 4 kB / 0.5581 GB, free: 5.789 MB / 398.1 MB
Notification: Performance of Templates: time 0.006051/0.4973, allocations: 2.242 MB / 0.5603 GB, free: 3.57 MB / 398.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.472617054358125]