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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 213.3 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2212/0.2212, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 79.83 kB / 0.4936 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 65.48 MB / 0.5575 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004464/0.3583, allocations: 2.162 MB / 0.5596 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3613, allocations: 1.264 MB / 0.5609 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3616, allocations: 7.938 kB / 0.5609 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.3622, allocations: 127.3 kB / 0.561 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.3629, allocations: 246.9 kB / 0.5612 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.3635, allocations: 199.5 kB / 0.5614 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000773/0.3642, allocations: 458.6 kB / 0.5619 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3644, allocations: 47.91 kB / 0.5619 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.3649, allocations: 295.1 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3652, allocations: 163.1 kB / 0.5624 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.3652, allocations: 16 kB / 0.5624 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.3654, allocations: 79.97 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.3656, allocations: 143.4 kB / 0.5626 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3658, allocations: 142.8 kB / 0.5627 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.3665, allocations: 441.8 kB / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3665, allocations: 0 / 0.5631 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3665, allocations: 7.875 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3665, allocations: 0 / 0.5631 GB, free: 1.824 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.001382/0.3679, allocations: 0.7605 MB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3679, allocations: 15.98 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3681, allocations: 68.52 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.3687, allocations: 347.2 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3687, allocations: 8.375 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.3688, allocations: 28.06 kB / 0.5643 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.3692, allocations: 193.5 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3692, allocations: 4 kB / 0.5645 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.3692, allocations: 4 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3692, allocations: 4 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.3695, allocations: 107.8 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3706, allocations: 0.7233 MB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.3713, allocations: 246.4 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3716, allocations: 87.52 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3716, allocations: 4 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/0.372, allocations: 208.2 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/0.372, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002881/0.3749, allocations: 1.172 MB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.375, allocations: 132.5 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3761, allocations: 0.8165 MB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3761, allocations: 37.7 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.3764, allocations: 245 kB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.3765, allocations: 146.8 kB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.3766, allocations: 82.08 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3769, allocations: 378.7 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.3771, allocations: 124.8 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.3775, allocations: 191.2 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.3781, allocations: 327 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3781, allocations: 3.938 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009107/0.379, allocations: 445 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.379, allocations: 12 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.379, allocations: 0 / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.3791, allocations: 4 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.3794, allocations: 95.77 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3794, allocations: 0 / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.3796, allocations: 23.98 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3796, allocations: 19.94 kB / 0.57 GB, free: 10.51 MB / 414.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.0003179/0.3799, allocations: 236.1 kB / 0.5702 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.38, allocations: 71.53 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.3812, allocations: 0.53 MB / 0.5708 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.3812, allocations: 4 kB / 0.5708 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3812, allocations: 4 kB / 0.5708 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3812, allocations: 3.984 kB / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3831, allocations: 1.252 MB / 0.572 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.3831, allocations: 4 kB / 0.572 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.3833, allocations: 63.91 kB / 0.5721 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3833, allocations: 4 kB / 0.5721 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.3834, allocations: 16 kB / 0.5721 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3834, allocations: 7.984 kB / 0.5721 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3834, allocations: 7.938 kB / 0.5721 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3845, allocations: 0.832 MB / 0.5729 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.3847, allocations: 103.5 kB / 0.573 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.3848, allocations: 12 kB / 0.573 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.3851, allocations: 19.98 kB / 0.5731 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.3852, allocations: 39.88 kB / 0.5731 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.3852, allocations: 31.98 kB / 0.5731 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007718/0.386, allocations: 0.5928 MB / 0.5737 GB, free: 6.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.386, allocations: 0 / 0.5737 GB, free: 6.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.3865, allocations: 87.94 kB / 0.5738 GB, free: 6.473 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 (48): * Single equations (assignments): 40 * 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.002228/0.3888, allocations: 0.5741 MB / 0.5743 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.3896, allocations: 315.3 kB / 0.5747 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3896, allocations: 0 / 0.5747 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.39, allocations: 164.3 kB / 0.5748 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.3909, allocations: 142.2 kB / 0.5749 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3928, allocations: 1.081 MB / 0.576 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3932, allocations: 285 kB / 0.5763 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.3934, allocations: 83.23 kB / 0.5763 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3936, allocations: 59.42 kB / 0.5764 GB, free: 3.957 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3936, allocations: 4 kB / 0.5764 GB, free: 3.953 MB / 414.1 MB Notification: Performance of Templates: time 0.01368/0.4073, allocations: 6.185 MB / 0.5824 GB, free: 13.87 MB / 430.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.446010997518897]