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.002528/0.002528, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002078/0.002078, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3421/0.3421, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 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 1.974e-06/1.974e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.634e-05, allocations: 5.406 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004018/0.004055, allocations: 1.845 MB / 379.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.006145, allocations: 1.021 MB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.006228, allocations: 3.938 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.006528, allocations: 59.89 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.006916, allocations: 135.2 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.007457, allocations: 203.4 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.007779, allocations: 203.4 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.007884, allocations: 21.78 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.008086, allocations: 107.7 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.008252, allocations: 87.75 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.008288, allocations: 16 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.008401, allocations: 47.92 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.008495, allocations: 43.83 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.008583, allocations: 47.83 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.00891, allocations: 199.4 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.008914, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.008916, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.008922, allocations: 4 kB / 381.3 MB, free: 14.89 MB / 362.7 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.0011/0.01002, allocations: 0.5807 MB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.01006, allocations: 8.031 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.01014, allocations: 24.8 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.01042, allocations: 180.2 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.01044, allocations: 8.359 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.01047, allocations: 4.375 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.01085, allocations: 126 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01086, allocations: 3.938 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.01087, allocations: 0 / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01088, allocations: 4 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.01135, allocations: 111.9 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.0121, allocations: 383.7 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.01264, allocations: 158.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.01289, allocations: 63.64 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.01293, allocations: 4 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000405/0.01334, allocations: 140.9 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.01334, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002476/0.01581, allocations: 0.5671 MB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.01588, allocations: 51.41 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.01622, allocations: 302.7 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.01625, allocations: 25.7 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.0164, allocations: 182.8 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.01646, allocations: 39.7 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01657, allocations: 47.36 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.01692, allocations: 0.5117 MB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.01744, allocations: 179.3 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.01794, allocations: 177.3 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.01877, allocations: 262.9 kB / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01877, allocations: 0 / 385.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001346/0.02011, allocations: 406.6 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.02018, allocations: 71.5 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02019, allocations: 7.922 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.0202, allocations: 0 / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.0205, allocations: 43.95 kB / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.02051, allocations: 4 kB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.02079, allocations: 35.97 kB / 386 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.02082, allocations: 11.92 kB / 386 MB, free: 9.926 MB / 362.7 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.0001705/0.02099, allocations: 176.5 kB / 386.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.02104, allocations: 19.86 kB / 386.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.0221, allocations: 302.9 kB / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.0221, allocations: 0 / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.0221, allocations: 0 / 386.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02211, allocations: 4 kB / 386.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.02347, allocations: 0.5872 MB / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.02347, allocations: 0 / 387.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.02373, allocations: 35.97 kB / 387.1 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02373, allocations: 4 kB / 387.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.02376, allocations: 11.98 kB / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.02376, allocations: 0 / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02376, allocations: 0 / 387.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.02485, allocations: 435.5 kB / 387.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.02488, allocations: 15.91 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.02492, allocations: 4 kB / 387.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.0252, allocations: 39.95 kB / 387.6 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.02537, allocations: 47.92 kB / 387.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.02539, allocations: 11.94 kB / 387.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002137/0.0256, allocations: 205.8 kB / 387.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0256, allocations: 0 / 387.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.02592, allocations: 47.94 kB / 387.9 MB, free: 7.934 MB / 362.7 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.002911/0.02883, allocations: 449.4 kB / 388.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.03001, allocations: 425.2 kB / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03001, allocations: 0 / 388.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.03052, allocations: 147.5 kB / 388.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.03095, allocations: 49.11 kB / 389 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.03188, allocations: 333.2 kB / 389.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.03203, allocations: 123.4 kB / 389.4 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.03216, allocations: 29.45 kB / 389.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.03227, allocations: 24.5 kB / 389.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03227, allocations: 0 / 389.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of Templates: time 0.009394/0.04167, allocations: 3.883 MB / 393.3 MB, free: 2.629 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/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.029404947068542]