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.001593/0.001593, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001761/0.001761, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2458/0.2458, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.002015/0.002015, allocations: 71.88 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003653/0.3437, allocations: 1.815 MB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3455, allocations: 0.9947 MB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.3456, allocations: 0 / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.3458, allocations: 67.7 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.3462, allocations: 123.4 kB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.3467, allocations: 211.2 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.347, allocations: 199.5 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3471, allocations: 21.72 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3472, allocations: 87.69 kB / 0.5653 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3474, allocations: 111.6 kB / 0.5654 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.3474, allocations: 12 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.3475, allocations: 39.94 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3476, allocations: 47.88 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.3477, allocations: 59.66 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.348, allocations: 193.6 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.348, allocations: 0 / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.348, allocations: 0 / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.348, allocations: 4 kB / 0.5657 GB, free: 184 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.001234/0.3493, allocations: 0.5044 MB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3493, allocations: 8.031 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.3494, allocations: 20.84 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3497, allocations: 178.1 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3497, allocations: 4.375 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.3497, allocations: 16.12 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.3503, allocations: 153.4 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3503, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3503, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3503, allocations: 0 / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.351, allocations: 175.8 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.3519, allocations: 348.3 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.3527, allocations: 194.3 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.353, allocations: 92.75 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3531, allocations: 4 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005803/0.3537, allocations: 167.2 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3537, allocations: 0 / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003719/0.3574, allocations: 0.8361 MB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3574, allocations: 55.41 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3577, allocations: 256 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.3577, allocations: 33.7 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.3578, allocations: 120.1 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.3579, allocations: 51.94 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.358, allocations: 37.64 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3581, allocations: 326.8 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.3589, allocations: 223.2 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.3596, allocations: 239.2 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.3609, allocations: 378.2 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3609, allocations: 0 / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00157/0.3625, allocations: 0.5193 MB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.3625, allocations: 63.41 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3625, allocations: 0 / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3626, allocations: 4 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.363, allocations: 67.89 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.363, allocations: 4 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.3634, allocations: 75.78 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3634, allocations: 0 / 0.5707 GB, free: 10.83 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.0001494/0.3636, allocations: 141.8 kB / 0.5708 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.3636, allocations: 19.91 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.3651, allocations: 422.2 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3651, allocations: 4 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3651, allocations: 0 / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3652, allocations: 8.5 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.3669, allocations: 0.6344 MB / 0.5719 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.367, allocations: 0 / 0.5719 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3673, allocations: 71.91 kB / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3673, allocations: 0 / 0.5719 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3674, allocations: 4 kB / 0.5719 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.3674, allocations: 11.88 kB / 0.5719 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3674, allocations: 0 / 0.5719 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.3689, allocations: 499 kB / 0.5724 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3689, allocations: 11.91 kB / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.369, allocations: 4 kB / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.3694, allocations: 63.84 kB / 0.5725 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.3695, allocations: 47.92 kB / 0.5725 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3696, allocations: 8 kB / 0.5725 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3697, allocations: 189.8 kB / 0.5727 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 4 kB / 0.5727 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.3701, allocations: 47.95 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.001655/0.3717, allocations: 431.5 kB / 0.5732 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.3733, allocations: 0.5289 MB / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3733, allocations: 4 kB / 0.5737 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.374, allocations: 175.7 kB / 0.5739 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.3744, allocations: 40.64 kB / 0.5739 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009708/0.3754, allocations: 366.8 kB / 0.5743 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3755, allocations: 119.2 kB / 0.5744 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3757, allocations: 25.41 kB / 0.5744 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3758, allocations: 27.42 kB / 0.5744 GB, free: 7 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3758, allocations: 0 / 0.5744 GB, free: 7 MB / 414.1 MB Notification: Performance of Templates: time 0.008317/0.3841, allocations: 4.021 MB / 0.5784 GB, free: 3.027 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 cvode -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.15349794299982]