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.001542/0.001542, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001736/0.001736, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2206/0.2206, 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.001998/0.001998, allocations: 59.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003181/0.2816, allocations: 1.828 MB / 0.5636 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2833, allocations: 0.987 MB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.2833, allocations: 0 / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2835, allocations: 71.64 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.2839, allocations: 123.4 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.2844, allocations: 215.2 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.2846, allocations: 203.4 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.2847, allocations: 13.73 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.2849, allocations: 91.62 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.285, allocations: 107.6 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.285, allocations: 12 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.2851, allocations: 40 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.2852, allocations: 51.81 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.2853, allocations: 59.66 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2856, allocations: 189.7 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2856, allocations: 0 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2856, allocations: 0 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2856, allocations: 0 / 0.5657 GB, free: 204 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.001092/0.2867, allocations: 0.5199 MB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2867, allocations: 8.031 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.2868, allocations: 16.84 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.287, allocations: 178.2 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.287, allocations: 4.375 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2871, allocations: 12.12 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.2876, allocations: 149.5 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2876, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2876, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2876, allocations: 0 / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.2883, allocations: 171.7 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.2891, allocations: 344.3 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.2898, allocations: 194.4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.2902, allocations: 88.75 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2902, allocations: 0 / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005591/0.2908, allocations: 179.1 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.2908, allocations: 0 / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003602/0.2944, allocations: 0.8323 MB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2944, allocations: 55.61 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2947, allocations: 260 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2948, allocations: 33.7 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.2948, allocations: 124.1 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.2949, allocations: 39.69 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.295, allocations: 33.7 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2951, allocations: 334.8 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/0.2959, allocations: 227.2 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.2966, allocations: 239.2 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2979, allocations: 370.5 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2979, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001585/0.2995, allocations: 0.5233 MB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.2995, allocations: 67.34 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2995, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2996, allocations: 0 / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3, allocations: 71.89 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3, allocations: 0 / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.3004, allocations: 71.78 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3004, allocations: 4 kB / 0.5707 GB, free: 10.85 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.0001484/0.3006, allocations: 137.8 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.3006, allocations: 19.91 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.3021, allocations: 426.6 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3021, allocations: 0 / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3021, allocations: 0 / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3022, allocations: 23.78 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.3022, allocations: 12.55 kB / 0.5713 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.3026, allocations: 59.91 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3028, allocations: 51.92 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0018/0.3046, allocations: 0.5078 MB / 0.5719 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001509/0.3061, allocations: 0.5569 MB / 0.5724 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000704/0.3068, allocations: 179.8 kB / 0.5726 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.307, allocations: 185.8 kB / 0.5728 GB, free: 8.672 MB / 414.1 MB Notification: Performance of Backend: time 2.51e-07/0.307, allocations: 0 / 0.5728 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.3097, allocations: 0.7668 MB / 0.5735 GB, free: 8.051 MB / 414.1 MB Notification: Performance of SimCode: time 0.000855/0.3106, allocations: 0.7655 MB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Templates: time 0.009196/0.3198, allocations: 5.095 MB / 0.5792 GB, free: 2.184 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.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: 4.811896259998321]