Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001987/0.001987, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 156.9 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3402/0.3402, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.225e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003539/0.003571, allocations: 1.853 MB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.005564, allocations: 1.02 MB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.005648, allocations: 0 / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.005927, allocations: 63.58 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.006322, allocations: 131.2 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.006895, allocations: 199.5 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.007228, allocations: 211.3 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.007332, allocations: 17.8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.007525, allocations: 107.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.007703, allocations: 87.75 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.00774, allocations: 12 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007856, allocations: 47.92 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.007954, allocations: 47.83 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.008037, allocations: 43.84 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.008373, allocations: 207.3 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.008377, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008378, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.008383, allocations: 0 / 381.3 MB, free: 14.84 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.00109/0.009473, allocations: 0.5807 MB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.009511, allocations: 8.031 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.009609, allocations: 32.78 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.009894, allocations: 180.2 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.00991, allocations: 8.375 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.009944, allocations: 8.375 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.01031, allocations: 126 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01032, allocations: 192 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.01034, allocations: 384 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.01035, allocations: 3.938 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.01082, allocations: 115.9 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.01179, allocations: 383.6 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.01232, allocations: 147 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.01257, allocations: 63.8 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.01261, allocations: 15.92 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.01301, allocations: 148.8 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.01301, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002419/0.01543, allocations: 0.5558 MB / 383.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.01549, allocations: 59.39 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.01582, allocations: 294.7 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.01585, allocations: 37.69 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.01599, allocations: 182.8 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.01605, allocations: 39.69 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01615, allocations: 47.36 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.01645, allocations: 0.5079 MB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.01695, allocations: 171.2 kB / 384.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.01743, allocations: 175.3 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.01825, allocations: 257.8 kB / 385.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01825, allocations: 7.938 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00115/0.0194, allocations: 408.2 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.01947, allocations: 67.39 kB / 385.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01948, allocations: 0 / 385.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01949, allocations: 0 / 385.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.01984, allocations: 51.89 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01985, allocations: 0 / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.02011, allocations: 43.95 kB / 385.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.02013, allocations: 4 kB / 385.9 MB, free: 9.871 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.0001725/0.02031, allocations: 172.5 kB / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.02036, allocations: 23.86 kB / 386.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.0214, allocations: 306.2 kB / 386.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.0214, allocations: 0 / 386.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.02141, allocations: 4 kB / 386.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02141, allocations: 0 / 386.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.02274, allocations: 0.5832 MB / 387 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02274, allocations: 4 kB / 387 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.02298, allocations: 43.89 kB / 387 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.02298, allocations: 0 / 387 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.023, allocations: 0 / 387 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.023, allocations: 0 / 387 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.02301, allocations: 7.984 kB / 387.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.02404, allocations: 439.4 kB / 387.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.02407, allocations: 11.91 kB / 387.5 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.02412, allocations: 15.98 kB / 387.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.02439, allocations: 31.97 kB / 387.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.02456, allocations: 47.92 kB / 387.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.02458, allocations: 7.984 kB / 387.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.02479, allocations: 217.7 kB / 387.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02479, allocations: 0 / 387.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.0251, allocations: 47.92 kB / 387.9 MB, free: 7.867 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.002887/0.02798, allocations: 433.9 kB / 388.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.02949, allocations: 436.2 kB / 388.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.02949, allocations: 0 / 388.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.03007, allocations: 139.6 kB / 388.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.03049, allocations: 47.05 kB / 388.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.03147, allocations: 345.2 kB / 389.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.03162, allocations: 115.4 kB / 389.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.03176, allocations: 25.47 kB / 389.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.03187, allocations: 24.5 kB / 389.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03187, allocations: 0 / 389.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of Templates: time 0.009235/0.04111, allocations: 3.89 MB / 393.3 MB, free: 2.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.088805973995477]