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.001348/0.001348, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001493/0.001493, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2319/0.2319, allocations: 46.97 MB / 361.6 MB, free: 4.113 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.002082/0.002082, allocations: 67.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.314, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003387/0.3174, allocations: 1.812 MB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3192, allocations: 0.9987 MB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.3193, allocations: 4 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.3196, allocations: 63.66 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.32, allocations: 123.4 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.3206, allocations: 211 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.3209, allocations: 203.4 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.321, allocations: 17.41 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3211, allocations: 91.67 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3213, allocations: 107.6 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.3213, allocations: 16 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3215, allocations: 39.98 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3216, allocations: 43.78 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.3216, allocations: 59.7 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.3219, allocations: 190.1 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.322, allocations: 4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.322, allocations: 0 / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.322, allocations: 0 / 0.5657 GB, free: 180 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.001176/0.3231, allocations: 0.5122 MB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3232, allocations: 8.031 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.3232, allocations: 20.83 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3235, allocations: 182.1 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3235, allocations: 384 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.3236, allocations: 12.12 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.3241, allocations: 149.5 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3241, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3242, allocations: 4 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3242, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.3249, allocations: 171.7 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.3258, allocations: 356.2 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.3266, allocations: 186.4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.3269, allocations: 96.7 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.327, allocations: 7.938 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.3276, allocations: 167.2 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3276, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003826/0.3314, allocations: 0.8323 MB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.3315, allocations: 59.41 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3318, allocations: 252 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3318, allocations: 33.7 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3319, allocations: 128 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.332, allocations: 35.69 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3321, allocations: 37.7 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3322, allocations: 330.8 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.333, allocations: 231.2 kB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.3338, allocations: 234 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.3352, allocations: 378.7 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3352, allocations: 0 / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001705/0.3369, allocations: 0.5194 MB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.337, allocations: 63.39 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.337, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.337, allocations: 4 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3375, allocations: 75.84 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3375, allocations: 0 / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.3379, allocations: 71.78 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3379, allocations: 7.984 kB / 0.5707 GB, free: 10.82 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.0001545/0.3381, allocations: 129.8 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.3381, allocations: 24.45 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.3397, allocations: 426.4 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3397, allocations: 0 / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3397, allocations: 0 / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3398, allocations: 3.938 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.3416, allocations: 0.6425 MB / 0.5719 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3416, allocations: 4.047 kB / 0.5719 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.342, allocations: 71.78 kB / 0.5719 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.342, allocations: 0 / 0.5719 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.342, allocations: 7.984 kB / 0.5719 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.342, allocations: 3.938 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.342, allocations: 0 / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3436, allocations: 491.1 kB / 0.5724 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.3436, allocations: 15.89 kB / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.3436, allocations: 4 kB / 0.5724 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.3441, allocations: 71.84 kB / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3442, allocations: 47.92 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3443, allocations: 4 kB / 0.5725 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3445, allocations: 185.8 kB / 0.5727 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3445, allocations: 0 / 0.5727 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.3448, allocations: 47.94 kB / 0.5728 GB, free: 8.598 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.001688/0.3465, allocations: 439.6 kB / 0.5732 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.3481, allocations: 0.5212 MB / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3481, allocations: 0 / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.3489, allocations: 183.8 kB / 0.5739 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3493, allocations: 44.44 kB / 0.5739 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3504, allocations: 370.8 kB / 0.5743 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3505, allocations: 123.2 kB / 0.5744 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3507, allocations: 29.41 kB / 0.5744 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3508, allocations: 19.44 kB / 0.5744 GB, free: 6.992 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3508, allocations: 0 / 0.5744 GB, free: 6.992 MB / 414.1 MB Notification: Performance of Templates: time 0.008369/0.3591, allocations: 4.026 MB / 0.5784 GB, free: 3.012 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 -s gbode -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.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.164197707999847]