Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.00151/0.00151, allocations: 108.8 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.001541/0.001541, 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.46/1.46, 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.2622/0.2622, allocations: 44.9 MB / 353.5 MB, free: 11.85 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.Test17,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.Test17")
translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 59.91 kB / 497.8 MB, free: 0.9727 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4435, allocations: 64.3 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003793/0.4473, allocations: 1.733 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001754/0.449, allocations: 0.8985 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.4491, allocations: 1.562 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.4495, allocations: 38.08 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.4498, allocations: 52.33 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.4502, allocations: 116.5 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002012/0.4504, allocations: 97.77 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4505, allocations: 11.61 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4506, allocations: 41.52 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.4507, allocations: 33.81 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4507, allocations: 3.625 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4508, allocations: 46.66 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.4509, allocations: 14.06 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.451, allocations: 35.02 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4512, allocations: 113.2 kB / 0.552 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4512, allocations: 5.109 kB / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.4512, allocations: 4 kB / 0.552 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.46e-06/0.4512, allocations: 0 / 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.0006122/0.4518, allocations: 325.4 kB / 0.5523 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4519, allocations: 11.02 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.4519, allocations: 13.44 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.4523, allocations: 144.3 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4523, allocations: 9.578 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4523, allocations: 6.562 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4525, allocations: 70.14 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4525, allocations: 0 / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4525, allocations: 1 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4525, allocations: 1.219 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.4526, allocations: 22.05 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4531, allocations: 251.9 kB / 0.5529 GB, free: 9.852 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4533, allocations: 57.09 kB / 0.5529 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.4533, allocations: 20.16 kB / 0.5529 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.4533, allocations: 1.25 kB / 0.5529 GB, free: 9.793 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.4535, allocations: 65.7 kB / 0.553 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4535, allocations: 0 / 0.553 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.00062/0.4541, allocations: 180.8 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.4542, allocations: 52.47 kB / 0.5532 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.4544, allocations: 170.2 kB / 0.5534 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4544, allocations: 26.83 kB / 0.5534 GB, free: 9.398 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.4545, allocations: 100.7 kB / 0.5535 GB, free: 9.301 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.4545, allocations: 31.33 kB / 0.5535 GB, free: 9.273 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.4545, allocations: 24.7 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001517/0.4547, allocations: 325.1 kB / 0.5539 GB, free: 8.926 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.4548, allocations: 23.41 kB / 0.5539 GB, free: 8.914 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.4548, allocations: 39.52 kB / 0.5539 GB, free: 8.883 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.455, allocations: 58.61 kB / 0.554 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.455, allocations: 1.062 kB / 0.554 GB, free: 8.844 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.4552, allocations: 98.34 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4552, allocations: 6.844 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4552, allocations: 4.031 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4552, allocations: 1.562 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4553, allocations: 12.62 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4553, allocations: 1.156 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.4554, allocations: 14.14 kB / 0.5541 GB, free: 8.766 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4554, allocations: 3.375 kB / 0.5541 GB, free: 8.766 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.000119/0.4555, allocations: 125.3 kB / 0.5542 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.4555, allocations: 13.38 kB / 0.5542 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.4558, allocations: 123.3 kB / 0.5544 GB, free: 8.547 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4558, allocations: 0 / 0.5544 GB, free: 8.547 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4558, allocations: 1.625 kB / 0.5544 GB, free: 8.547 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4558, allocations: 4.125 kB / 0.5544 GB, free: 8.543 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.4563, allocations: 351.2 kB / 0.5547 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.4564, allocations: 13.11 kB / 0.5547 GB, free: 8.195 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.4564, allocations: 15.84 kB / 0.5547 GB, free: 8.188 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4564, allocations: 5.047 kB / 0.5547 GB, free: 8.184 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4564, allocations: 5.219 kB / 0.5547 GB, free: 8.18 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4564, allocations: 9.062 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4564, allocations: 1.188 kB / 0.5548 GB, free: 8.172 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.4567, allocations: 195.8 kB / 0.5549 GB, free: 8.004 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.4567, allocations: 14.5 kB / 0.555 GB, free: 7.992 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.4567, allocations: 6.531 kB / 0.555 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.4568, allocations: 5.047 kB / 0.555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4569, allocations: 7.906 kB / 0.555 GB, free: 7.98 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.4569, allocations: 11.92 kB / 0.555 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001262/0.457, allocations: 129.1 kB / 0.5551 GB, free: 7.879 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.457, allocations: 0 / 0.5551 GB, free: 7.879 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002849/0.4573, allocations: 24.38 kB / 0.5551 GB, free: 7.871 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.001915/0.4592, allocations: 468.2 kB / 0.5556 GB, free: 7.648 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002336/0.4594, allocations: 52.12 kB / 0.5556 GB, free: 7.629 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4594, allocations: 1.062 kB / 0.5556 GB, free: 7.629 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4595, allocations: 27.7 kB / 0.5557 GB, free: 7.617 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4599, allocations: 34.34 kB / 0.5557 GB, free: 7.602 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.4605, allocations: 214.7 kB / 0.5559 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4608, allocations: 0.6996 MB / 0.5566 GB, free: 6.715 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.999e-05/0.4609, allocations: 17.88 kB / 0.5566 GB, free: 6.703 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.4609, allocations: 15.28 kB / 0.5566 GB, free: 6.695 MB / 398.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.4609, allocations: 5.219 kB / 0.5566 GB, free: 6.691 MB / 398.1 MB
Notification: Performance of Templates: time 0.006278/0.4672, allocations: 1.747 MB / 0.5583 GB, free: 5.602 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.356972713954747]