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.001792/0.001792, 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.002068/0.002068, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.481/1.481, 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.2275/0.2275, allocations: 46.95 MB / 361.6 MB, free: 4.051 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.002082/0.002082, allocations: 75.88 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003406/0.2937, allocations: 1.818 MB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2954, allocations: 0.9713 MB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.2955, allocations: 0 / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.2957, allocations: 67.72 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.2961, allocations: 119.4 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.2965, allocations: 162.9 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.2968, allocations: 199.4 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2969, allocations: 17.73 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.297, allocations: 79.75 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.2972, allocations: 115.6 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2972, allocations: 12 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.2973, allocations: 43.98 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.2974, allocations: 43.83 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2975, allocations: 55.72 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2977, allocations: 189.6 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2977, allocations: 0 / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2977, allocations: 3.938 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2977, allocations: 4 kB / 0.5656 GB, free: 292 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.001134/0.2989, allocations: 0.5044 MB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2989, allocations: 8.031 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.299, allocations: 24.73 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2992, allocations: 170.2 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2992, allocations: 12.38 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.2993, allocations: 12.12 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.2998, allocations: 145.5 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2998, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2998, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2998, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.3006, allocations: 163.8 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.301, allocations: 288.3 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.3019, allocations: 198.3 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.3023, allocations: 84.77 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3023, allocations: 7.984 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.3029, allocations: 167.2 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3029, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003744/0.3066, allocations: 0.8205 MB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3066, allocations: 55.41 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3069, allocations: 247.8 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.307, allocations: 29.7 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.3071, allocations: 128 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.3071, allocations: 47.83 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-05/0.3072, allocations: 29.72 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3074, allocations: 330.8 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007958/0.3082, allocations: 227.2 kB / 0.5692 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.3089, allocations: 227.2 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.3102, allocations: 359.3 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3102, allocations: 3.938 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001606/0.3118, allocations: 0.5077 MB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.3119, allocations: 63.39 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3119, allocations: 0 / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3119, allocations: 0 / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.3124, allocations: 75.84 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3124, allocations: 0 / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.3128, allocations: 63.84 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3128, allocations: 8 kB / 0.5704 GB, free: 11.08 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.0001538/0.313, allocations: 137.8 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.313, allocations: 23.86 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3146, allocations: 406 kB / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3147, allocations: 7.984 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3147, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3147, allocations: 3.938 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.3165, allocations: 0.6228 MB / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3165, allocations: 0 / 0.5716 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.3169, allocations: 67.91 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3169, allocations: 0 / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.317, allocations: 3.984 kB / 0.5717 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.317, allocations: 11.94 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.317, allocations: 0 / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3185, allocations: 483 kB / 0.5721 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.3186, allocations: 15.89 kB / 0.5722 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.3186, allocations: 4 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.3191, allocations: 71.84 kB / 0.5722 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.3192, allocations: 47.92 kB / 0.5723 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3193, allocations: 4 kB / 0.5723 GB, free: 9.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3195, allocations: 180.6 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3195, allocations: 0 / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.3198, allocations: 51.98 kB / 0.5725 GB, free: 8.898 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.001679/0.3215, allocations: 429 kB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3231, allocations: 0.5095 MB / 0.5734 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3231, allocations: 3.938 kB / 0.5734 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.3239, allocations: 179.7 kB / 0.5736 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3244, allocations: 40.58 kB / 0.5736 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3254, allocations: 366.6 kB / 0.574 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3255, allocations: 115.2 kB / 0.5741 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3256, allocations: 17.42 kB / 0.5741 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3257, allocations: 19.42 kB / 0.5741 GB, free: 7.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3257, allocations: 0 / 0.5741 GB, free: 7.34 MB / 414.1 MB Notification: Performance of Templates: time 0.008141/0.3338, allocations: 3.987 MB / 0.578 GB, free: 3.402 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 -s gbode -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: 5.102437394001754]