Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001778/0.001778, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002123/0.002123, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2177/0.2177, allocations: 46.97 MB / 361.6 MB, free: 4.016 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2794, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003395/0.2828, allocations: 1.826 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2845, allocations: 0.9674 MB / 0.5646 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.2846, allocations: 0 / 0.5646 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.2848, allocations: 63.73 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.2852, allocations: 119.4 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.2856, allocations: 167.4 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.2859, allocations: 203.4 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.286, allocations: 13.73 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2861, allocations: 87.67 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2863, allocations: 107.6 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.2863, allocations: 12 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2865, allocations: 51.91 kB / 0.5654 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.2865, allocations: 35.91 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.2866, allocations: 59.66 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.2869, allocations: 193.6 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2869, allocations: 0 / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2869, allocations: 0 / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.2869, allocations: 0 / 0.5656 GB, free: 280 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.00116/0.2881, allocations: 0.5043 MB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2881, allocations: 8.031 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.2882, allocations: 24.8 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.2885, allocations: 170.2 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2885, allocations: 8.375 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.2885, allocations: 8.125 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.2891, allocations: 145.5 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2891, allocations: 3.938 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.2891, allocations: 4 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2891, allocations: 4 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2898, allocations: 159.8 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.2903, allocations: 276.4 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.2911, allocations: 190.4 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.2915, allocations: 100.7 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2915, allocations: 0 / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.2921, allocations: 163.2 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.2921, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003801/0.2959, allocations: 0.8284 MB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2959, allocations: 59.41 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.2962, allocations: 243.9 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.2962, allocations: 29.7 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.2963, allocations: 124.1 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.2964, allocations: 43.69 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.2965, allocations: 33.7 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2967, allocations: 338.8 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.2974, allocations: 215.2 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.2982, allocations: 227.2 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2995, allocations: 366.5 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2995, allocations: 0 / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001583/0.3011, allocations: 0.5078 MB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.3012, allocations: 63.34 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3012, allocations: 0 / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3012, allocations: 8 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.3016, allocations: 75.89 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3016, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.3021, allocations: 67.84 kB / 0.5704 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3021, allocations: 8 kB / 0.5705 GB, free: 11.07 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.0001574/0.3023, allocations: 137.8 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3023, allocations: 19.86 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.3039, allocations: 406.6 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3039, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3039, allocations: 4 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.304, allocations: 23.83 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.304, allocations: 4 kB / 0.571 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.3044, allocations: 63.91 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.3046, allocations: 43.92 kB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001791/0.3064, allocations: 0.5076 MB / 0.5716 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001479/0.3079, allocations: 0.5491 MB / 0.5722 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006761/0.3085, allocations: 172.4 kB / 0.5723 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.3087, allocations: 180.6 kB / 0.5725 GB, free: 8.938 MB / 414.1 MB Notification: Performance of Backend: time 3.91e-07/0.3087, allocations: 8 kB / 0.5725 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002775/0.3115, allocations: 0.763 MB / 0.5732 GB, free: 8.312 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008511/0.3123, allocations: 0.7447 MB / 0.574 GB, free: 7.52 MB / 414.1 MB Notification: Performance of Templates: time 0.009351/0.3217, allocations: 5.019 MB / 0.5789 GB, free: 2.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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,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.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.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,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.8989676750061335]