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.001718/0.001718, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002087/0.002087, allocations: 160.9 kB / 24.27 MB, free: 172 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.516/1.516, allocations: 177 MB / 204.5 MB, free: 5.625 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.366/0.366, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.035e-05, allocations: 4.703 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003656/0.003687, allocations: 1.822 MB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005623, allocations: 0.9966 MB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.00569, allocations: 4 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.005991, allocations: 67.77 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.006371, allocations: 123.2 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.00691, allocations: 203.4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.007233, allocations: 207.4 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.007335, allocations: 17.8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.007536, allocations: 107.7 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.007697, allocations: 87.77 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.007733, allocations: 15.98 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.007849, allocations: 47.92 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.007945, allocations: 43.84 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.476e-05/0.00803, allocations: 43.83 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.008361, allocations: 207.3 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.008364, allocations: 0 / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008365, allocations: 0 / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.00837, allocations: 0 / 381.2 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.001199/0.009569, allocations: 0.4967 MB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.009604, allocations: 8.031 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.009697, allocations: 28.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.009989, allocations: 185.4 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.01001, allocations: 8.375 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.01005, allocations: 8.359 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.0106, allocations: 150 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.01062, allocations: 4.172 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.01064, allocations: 384 / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01065, allocations: 3.938 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007999/0.01145, allocations: 167.8 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.01233, allocations: 348.4 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.01318, allocations: 194.3 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.01358, allocations: 92.75 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.01361, allocations: 7.938 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006595/0.01427, allocations: 167.2 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.01428, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.004043/0.01832, allocations: 0.8503 MB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.01837, allocations: 51.41 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.01869, allocations: 248.1 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.01873, allocations: 33.7 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01884, allocations: 124.1 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.0189, allocations: 39.84 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.01899, allocations: 33.7 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.01919, allocations: 330.8 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/0.02001, allocations: 235.1 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.02079, allocations: 227.2 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.02246, allocations: 390.6 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.02247, allocations: 0 / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001716/0.02418, allocations: 0.5195 MB / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.02425, allocations: 63.41 kB / 386.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.02426, allocations: 0 / 386.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.02429, allocations: 3.984 kB / 386.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.02474, allocations: 63.91 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.02475, allocations: 3.938 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.02518, allocations: 67.91 kB / 386.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.02521, allocations: 4 kB / 386.3 MB, free: 9.539 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.0001708/0.02538, allocations: 141.8 kB / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.02544, allocations: 23.86 kB / 386.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.02711, allocations: 418.7 kB / 386.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.02712, allocations: 4 kB / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02712, allocations: 0 / 386.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02713, allocations: 3.984 kB / 386.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.02902, allocations: 0.6383 MB / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02902, allocations: 0 / 387.5 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.02941, allocations: 67.91 kB / 387.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.02942, allocations: 4 kB / 387.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.02944, allocations: 0 / 387.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.02944, allocations: 3.984 kB / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02944, allocations: 0 / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.03106, allocations: 0.5016 MB / 388.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.03109, allocations: 11.91 kB / 388.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.03114, allocations: 15.98 kB / 388.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.03157, allocations: 59.91 kB / 388.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.03174, allocations: 51.92 kB / 388.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.03176, allocations: 4 kB / 388.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.03198, allocations: 181.8 kB / 388.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03198, allocations: 0 / 388.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.03232, allocations: 47.94 kB / 388.4 MB, free: 7.32 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.00203/0.03435, allocations: 439.7 kB / 388.9 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.03606, allocations: 0.5212 MB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.03606, allocations: 0 / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.03683, allocations: 187.7 kB / 389.6 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.03727, allocations: 55.12 kB / 389.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.03841, allocations: 375.5 kB / 390 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.03857, allocations: 119.4 kB / 390.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.03871, allocations: 29.47 kB / 390.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.03882, allocations: 20.48 kB / 390.2 MB, free: 5.656 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03882, allocations: 4 kB / 390.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of Templates: time 0.009413/0.04823, allocations: 3.904 MB / 394.1 MB, free: 1.789 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] 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.010851011960767]