Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001589/0.001589, allocations: 109.5 kB / 19.81 MB, free: 2.512 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.002265/0.002265, allocations: 193.3 kB / 22.98 MB, free: 5.637 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.554/1.554, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2364/0.2364, allocations: 44.91 MB / 351.6 MB, free: 12.23 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 64.08 kB / 495.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4384, allocations: 64.25 MB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004329/0.4427, allocations: 2.256 MB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.4453, allocations: 1.212 MB / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.4455, allocations: 12.19 kB / 0.5499 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.4461, allocations: 116.6 kB / 0.55 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.4466, allocations: 182.1 kB / 0.5502 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.4476, allocations: 326.7 kB / 0.5505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.4482, allocations: 425.6 kB / 0.5509 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.4484, allocations: 34.75 kB / 0.5509 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.4488, allocations: 300 kB / 0.5512 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.449, allocations: 157.3 kB / 0.5514 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.4491, allocations: 15.28 kB / 0.5514 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.4493, allocations: 73.38 kB / 0.5514 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.4494, allocations: 130.2 kB / 0.5516 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.4497, allocations: 171.6 kB / 0.5517 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.4503, allocations: 427.1 kB / 0.5521 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4503, allocations: 4 kB / 0.5521 GB, free: 9.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4503, allocations: 0 / 0.5521 GB, free: 9.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.4503, allocations: 5.531 kB / 0.5521 GB, free: 9 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001249/0.4515, allocations: 0.8137 MB / 0.5529 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4516, allocations: 8.844 kB / 0.553 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.4517, allocations: 63.27 kB / 0.553 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.4523, allocations: 410.3 kB / 0.5534 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.4524, allocations: 14.38 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.4524, allocations: 26.41 kB / 0.5534 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.4528, allocations: 189 kB / 0.5536 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.4528, allocations: 1.125 kB / 0.5536 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.4529, allocations: 10.08 kB / 0.5536 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4529, allocations: 7.094 kB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.4532, allocations: 98.14 kB / 0.5537 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.4542, allocations: 0.7885 MB / 0.5545 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.455, allocations: 233.5 kB / 0.5547 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.4552, allocations: 92.7 kB / 0.5548 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.4553, allocations: 4.469 kB / 0.5548 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003897/0.4556, allocations: 202.9 kB / 0.555 GB, free: 6.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.4557, allocations: 0 / 0.555 GB, free: 6.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002587/0.4582, allocations: 1.106 MB / 0.5561 GB, free: 5.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4583, allocations: 152.4 kB / 0.5562 GB, free: 5.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/0.4593, allocations: 0.749 MB / 0.557 GB, free: 4.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.4594, allocations: 37.7 kB / 0.557 GB, free: 4.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.4596, allocations: 237 kB / 0.5572 GB, free: 4.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.4597, allocations: 142.8 kB / 0.5574 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4599, allocations: 82.08 kB / 0.5574 GB, free: 4.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4601, allocations: 370.8 kB / 0.5578 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.4603, allocations: 116.8 kB / 0.5579 GB, free: 3.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.4606, allocations: 179.2 kB / 0.5581 GB, free: 3.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.4611, allocations: 327 kB / 0.5584 GB, free: 3.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4611, allocations: 0 / 0.5584 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007844/0.4619, allocations: 441 kB / 0.5588 GB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4619, allocations: 12.11 kB / 0.5588 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.4619, allocations: 4 kB / 0.5588 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.462, allocations: 4 kB / 0.5588 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4622, allocations: 79.91 kB / 0.5589 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4622, allocations: 7.938 kB / 0.5589 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.4624, allocations: 23.92 kB / 0.5589 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.4624, allocations: 16 kB / 0.559 GB, free: 2.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002711/0.4627, allocations: 227.9 kB / 0.5592 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4628, allocations: 79.55 kB / 0.5592 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009786/0.4638, allocations: 494.7 kB / 0.5597 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4638, allocations: 8 kB / 0.5597 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4638, allocations: 0 / 0.5597 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4638, allocations: 7.922 kB / 0.5597 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.4656, allocations: 1.295 MB / 0.561 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4656, allocations: 4.25 kB / 0.561 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.4658, allocations: 71.84 kB / 0.5611 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.4658, allocations: 4 kB / 0.5611 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.4658, allocations: 12 kB / 0.5611 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.4658, allocations: 7.984 kB / 0.5611 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4658, allocations: 4 kB / 0.5611 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.4668, allocations: 0.7816 MB / 0.5619 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.467, allocations: 168.7 kB / 0.562 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.4671, allocations: 8 kB / 0.562 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4674, allocations: 19.98 kB / 0.5621 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.4675, allocations: 47.77 kB / 0.5621 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.4675, allocations: 23.98 kB / 0.5621 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006633/0.4682, allocations: 0.5496 MB / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4682, allocations: 0 / 0.5627 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.4687, allocations: 83.92 kB / 0.5627 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001982/0.4707, allocations: 0.5329 MB / 0.5633 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.4714, allocations: 300.1 kB / 0.5635 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4714, allocations: 4.062 kB / 0.5635 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.4718, allocations: 151.6 kB / 0.5637 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.4727, allocations: 127.1 kB / 0.5638 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.4746, allocations: 1.05 MB / 0.5648 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.4752, allocations: 0.8743 MB / 0.5657 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.4754, allocations: 91.22 kB / 0.5658 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4755, allocations: 51.42 kB / 0.5658 GB, free: 11.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4755, allocations: 0 / 0.5658 GB, free: 11.6 MB / 414.1 MB Notification: Performance of Templates: time 0.01192/0.4875, allocations: 5.495 MB / 0.5712 GB, free: 6.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.581747016869485]