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.001427/0.001427, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001584/0.001584, allocations: 161.6 kB / 24.27 MB, free: 172 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.496/1.496, allocations: 177.2 MB / 204.6 MB, free: 5.574 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.3559/0.3559, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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 2.295e-06/2.295e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.994e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003794/0.003824, allocations: 1.829 MB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.005942, allocations: 1.001 MB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.00603, allocations: 4 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.006369, allocations: 67.59 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.006856, allocations: 123.3 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.007453, allocations: 199.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.00782, allocations: 211.3 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.007933, allocations: 13.81 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.008135, allocations: 107.8 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.00831, allocations: 91.75 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.00835, allocations: 12 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.008475, allocations: 43.92 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.008582, allocations: 47.83 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.411e-05/0.008677, allocations: 51.84 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.009031, allocations: 207.3 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009035, allocations: 0 / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.009036, allocations: 0 / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.009042, allocations: 0 / 381.3 MB, free: 14.93 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.001249/0.01029, allocations: 0.4928 MB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.01034, allocations: 16.03 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.01044, allocations: 20.8 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.01075, allocations: 185.4 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.01077, allocations: 8.375 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.01081, allocations: 8.359 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.01137, allocations: 146 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.01139, allocations: 3.938 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.01141, allocations: 4 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01142, allocations: 4 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.01217, allocations: 163.8 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.01307, allocations: 340.3 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.01393, allocations: 202.3 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.01433, allocations: 92.75 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01437, allocations: 0 / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006508/0.01502, allocations: 179.1 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01502, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.004162/0.01918, allocations: 0.8362 MB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.01928, allocations: 63.34 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.01967, allocations: 244.1 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.01972, allocations: 33.7 kB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01985, allocations: 124.1 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.01993, allocations: 39.69 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.02005, allocations: 33.7 kB / 384.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.02033, allocations: 330.8 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/0.02115, allocations: 239.1 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.02193, allocations: 233.2 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.0236, allocations: 372 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.0236, allocations: 3.938 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001762/0.02536, allocations: 0.5255 MB / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.02543, allocations: 59.41 kB / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02543, allocations: 0 / 386.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/0.02547, allocations: 3.984 kB / 386.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.02591, allocations: 67.91 kB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.02592, allocations: 4 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.02635, allocations: 63.91 kB / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.02638, allocations: 4 kB / 386.4 MB, free: 9.59 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.0001911/0.02657, allocations: 137.8 kB / 386.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.02664, allocations: 35.78 kB / 386.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.02832, allocations: 430.4 kB / 387 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.02833, allocations: 0 / 387 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.02834, allocations: 4 kB / 387 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.02834, allocations: 3.984 kB / 387 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.0304, allocations: 0.6424 MB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03041, allocations: 0 / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.0308, allocations: 67.91 kB / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.0308, allocations: 0 / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.03082, allocations: 0 / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.03083, allocations: 3.984 kB / 387.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.03083, allocations: 4 kB / 387.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.03256, allocations: 0.4912 MB / 388.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.03259, allocations: 11.91 kB / 388.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.03263, allocations: 7.922 kB / 388.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.03308, allocations: 67.91 kB / 388.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.03327, allocations: 47.92 kB / 388.3 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.03329, allocations: 7.938 kB / 388.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.03351, allocations: 185.8 kB / 388.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03351, allocations: 0 / 388.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.03386, allocations: 43.94 kB / 388.5 MB, free: 7.359 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.002214/0.03608, allocations: 435.5 kB / 389 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.03781, allocations: 0.5251 MB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03781, allocations: 0 / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.03857, allocations: 179.8 kB / 389.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.03901, allocations: 44.69 kB / 389.7 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.04018, allocations: 379.4 kB / 390.1 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.04034, allocations: 123.4 kB / 390.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.04048, allocations: 29.45 kB / 390.2 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.04058, allocations: 28.48 kB / 390.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04058, allocations: 0 / 390.2 MB, free: 5.727 MB / 362.7 MB Notification: Performance of Templates: time 0.009607/0.05019, allocations: 3.892 MB / 394.1 MB, free: 1.887 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=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/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: 4.927281692973338]