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.001604/0.001604, allocations: 85.78 kB / 20.68 MB, free: 0.8906 MB / 14.72 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.001682/0.001682, allocations: 162.3 kB / 23.95 MB, free: 3.914 MB / 14.72 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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.129 MB / 190.1 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.2223/0.2223, allocations: 34.26 MB / 294.8 MB, free: 14.5 MB / 286.1 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.863e-06/1.863e-06, allocations: 0 / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.608e-05, allocations: 6.219 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003671/0.003707, allocations: 1.826 MB / 444.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005685, allocations: 0.9966 MB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.005779, allocations: 0 / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.006098, allocations: 67.66 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.006561, allocations: 119.3 kB / 445.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.007148, allocations: 214.6 kB / 445.9 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.007513, allocations: 207.3 kB / 446.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.007652, allocations: 21.73 kB / 446.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.007855, allocations: 107.8 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.008055, allocations: 91.75 kB / 446.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.008095, allocations: 16 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.008209, allocations: 43.92 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.008327, allocations: 51.77 kB / 446.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.008425, allocations: 43.89 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.0088, allocations: 195.4 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.008805, allocations: 3.938 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008806, allocations: 3.938 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.008821, allocations: 0 / 446.7 MB, free: 1.27 MB / 366.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.001262/0.01008, allocations: 0.5083 MB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.01012, allocations: 12.03 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.0102, allocations: 20.8 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.01049, allocations: 173.4 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.0105, allocations: 4.375 kB / 447.4 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.01054, allocations: 4.375 kB / 447.4 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.01111, allocations: 154 kB / 447.5 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01112, allocations: 192 / 447.5 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.01114, allocations: 384 / 447.5 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01115, allocations: 7.938 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.01193, allocations: 171.7 kB / 447.7 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2109/0.2229, allocations: 335.3 kB / 448 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.2237, allocations: 197.9 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.2241, allocations: 89.14 kB / 448.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2241, allocations: 4.094 kB / 448.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/0.2248, allocations: 171.4 kB / 448.5 MB, free: 19.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.2248, allocations: 1 kB / 448.5 MB, free: 19.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.00389/0.2287, allocations: 0.8387 MB / 449.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.2287, allocations: 58.64 kB / 449.4 MB, free: 19.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.2289, allocations: 246.9 kB / 449.6 MB, free: 18.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2289, allocations: 32.61 kB / 449.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.229, allocations: 121.8 kB / 449.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.229, allocations: 39.56 kB / 449.8 MB, free: 18.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.2291, allocations: 36.58 kB / 449.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.2292, allocations: 331.4 kB / 450.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.23, allocations: 227.7 kB / 450.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.2308, allocations: 230.3 kB / 450.6 MB, free: 18.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2323, allocations: 388.9 kB / 451 MB, free: 18.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2323, allocations: 1 kB / 451 MB, free: 18.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001786/0.2341, allocations: 0.5206 MB / 451.5 MB, free: 17.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.2341, allocations: 60.2 kB / 451.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2341, allocations: 0.75 kB / 451.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.2342, allocations: 6.453 kB / 451.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.2346, allocations: 68.53 kB / 451.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2347, allocations: 1.375 kB / 451.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.2351, allocations: 68.31 kB / 451.7 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2351, allocations: 4.016 kB / 451.7 MB, free: 17.85 MB / 366.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.0001336/0.2353, allocations: 141.6 kB / 451.9 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.2353, allocations: 20.09 kB / 451.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.237, allocations: 423.1 kB / 452.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.237, allocations: 10.27 kB / 452.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.237, allocations: 0 / 452.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.237, allocations: 2.172 kB / 452.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2389, allocations: 0.6434 MB / 452.9 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2389, allocations: 1.953 kB / 452.9 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.2393, allocations: 67.44 kB / 453 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2393, allocations: 1.156 kB / 453 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2393, allocations: 2.234 kB / 453 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2393, allocations: 2.219 kB / 453 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2393, allocations: 0 / 453 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.2409, allocations: 0.4899 MB / 453.5 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.2409, allocations: 13.03 kB / 453.5 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.241, allocations: 7.172 kB / 453.5 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.2414, allocations: 59.09 kB / 453.6 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.2416, allocations: 50.97 kB / 453.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.2416, allocations: 4.203 kB / 453.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2417, allocations: 189.2 kB / 453.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2417, allocations: 0.5625 kB / 453.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.2421, allocations: 43.31 kB / 453.9 MB, free: 16.93 MB / 366.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.001556/0.2436, allocations: 436.8 kB / 454.3 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.2454, allocations: 0.5245 MB / 454.8 MB, free: 16.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2454, allocations: 4 kB / 454.8 MB, free: 16.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00086/0.2462, allocations: 182.6 kB / 455 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.2466, allocations: 39.44 kB / 455 MB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2477, allocations: 376 kB / 455.4 MB, free: 16.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2478, allocations: 117.9 kB / 455.5 MB, free: 16.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.248, allocations: 36 kB / 455.6 MB, free: 16.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2481, allocations: 23.38 kB / 455.6 MB, free: 16.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2481, allocations: 0 / 455.6 MB, free: 16.12 MB / 366.1 MB Notification: Performance of Templates: time 0.009187/0.2573, allocations: 3.866 MB / 459.4 MB, free: 15.71 MB / 366.1 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.0249131843447685]