Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001491/0.001491, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001615/0.001615, allocations: 210.2 kB / 24.48 MB, free: 3.836 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 46.97 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.89 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003516/0.3402, allocations: 1.823 MB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.342, allocations: 0.987 MB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.3421, allocations: 0 / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.3423, allocations: 71.66 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.3427, allocations: 123.4 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.3432, allocations: 211.2 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.3435, allocations: 211.3 kB / 0.5652 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3436, allocations: 13.73 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3438, allocations: 83.73 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.3439, allocations: 99.58 kB / 0.5654 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.344, allocations: 12 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.3441, allocations: 39.98 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.3441, allocations: 47.83 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.3442, allocations: 59.66 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.3445, allocations: 193.6 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3445, allocations: 4 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3445, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3445, allocations: 0 / 0.5657 GB, free: 228 kB / 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.001077/0.3456, allocations: 0.5121 MB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.3456, allocations: 12.03 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3457, allocations: 16.84 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3459, allocations: 182 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3459, allocations: 8.375 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3459, allocations: 8.125 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.3464, allocations: 145.5 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3464, allocations: 3.984 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3464, allocations: 0 / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3465, allocations: 4 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.3472, allocations: 167.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.3479, allocations: 356.2 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.3487, allocations: 190.4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.3491, allocations: 92.75 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3491, allocations: 4 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005758/0.3497, allocations: 167.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3497, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0037/0.3534, allocations: 0.8324 MB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3535, allocations: 59.41 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3537, allocations: 252 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3538, allocations: 33.69 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3539, allocations: 128.1 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.3539, allocations: 39.69 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.354, allocations: 33.7 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3542, allocations: 330.8 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.355, allocations: 227.2 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.3557, allocations: 231.2 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3571, allocations: 386.5 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3571, allocations: 0.5625 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001628/0.3587, allocations: 0.5155 MB / 0.5705 GB, free: 11.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.3588, allocations: 63.41 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3588, allocations: 4 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3588, allocations: 0 / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.3592, allocations: 75.89 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3592, allocations: 7.875 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.3596, allocations: 71.78 kB / 0.5707 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.3596, allocations: 8 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001447/0.3598, allocations: 129.8 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.3598, allocations: 19.91 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.3614, allocations: 418.7 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3614, allocations: 3.938 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3614, allocations: 4 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3614, allocations: 3.938 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3632, allocations: 0.6383 MB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3632, allocations: 3.938 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.3636, allocations: 71.91 kB / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3636, allocations: 0 / 0.5719 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3636, allocations: 4 kB / 0.5719 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3636, allocations: 7.875 kB / 0.5719 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3636, allocations: 0 / 0.5719 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3651, allocations: 495 kB / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3651, allocations: 11.91 kB / 0.5724 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3652, allocations: 8 kB / 0.5724 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.3656, allocations: 59.84 kB / 0.5725 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3657, allocations: 51.92 kB / 0.5725 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3657, allocations: 8 kB / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.3659, allocations: 185.8 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3659, allocations: 0 / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.3662, allocations: 47.95 kB / 0.5728 GB, free: 8.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001641/0.3679, allocations: 438.8 kB / 0.5732 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3695, allocations: 0.5212 MB / 0.5737 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3695, allocations: 0 / 0.5737 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.3703, allocations: 179.7 kB / 0.5739 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3707, allocations: 47.23 kB / 0.5739 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3717, allocations: 388.5 kB / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3718, allocations: 115.2 kB / 0.5744 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3719, allocations: 27.42 kB / 0.5744 GB, free: 7.051 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3719, allocations: 0 / 0.5744 GB, free: 7.051 MB / 414.1 MB Notification: Performance of Templates: time 0.005993/0.3779, allocations: 3.355 MB / 0.5777 GB, free: 3.699 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.947089523077011]