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.001418/0.001418, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001362/0.001362, allocations: 164 kB / 23.95 MB, free: 4.148 MB / 14.72 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.526/1.526, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2216/0.2216, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.492e-05/1.492e-05, allocations: 3.984 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/4.673e-05, allocations: 6.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003595/0.003642, allocations: 1.825 MB / 444.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.005802, allocations: 0.9856 MB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.005903, allocations: 4 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.006209, allocations: 71.59 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.006665, allocations: 119.3 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.007211, allocations: 214.2 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.007545, allocations: 211.4 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.007659, allocations: 13.81 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.007844, allocations: 107.8 kB / 446.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.008016, allocations: 103.6 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.008051, allocations: 12 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.008154, allocations: 43.92 kB / 446.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.008248, allocations: 43.84 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.008334, allocations: 47.83 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.008656, allocations: 199.4 kB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.00866, allocations: 0 / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008662, allocations: 0 / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.008667, allocations: 0 / 446.7 MB, free: 1.387 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.001181/0.009848, allocations: 0.5083 MB / 447.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.009885, allocations: 8.031 kB / 447.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.009959, allocations: 24.8 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.01023, allocations: 177.4 kB / 447.4 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.01024, allocations: 4.375 kB / 447.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.01028, allocations: 12.3 kB / 447.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.01086, allocations: 154 kB / 447.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01088, allocations: 3.938 kB / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.0109, allocations: 0 / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.0109, allocations: 0 / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.0117, allocations: 167.8 kB / 447.7 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1989/0.2106, allocations: 338 kB / 448.1 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/0.2115, allocations: 196.1 kB / 448.2 MB, free: 19.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.2118, allocations: 91.92 kB / 448.3 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.2119, allocations: 2.219 kB / 448.3 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.2124, allocations: 172.2 kB / 448.5 MB, free: 19.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.2124, allocations: 1.219 kB / 448.5 MB, free: 19.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004001/0.2164, allocations: 0.8381 MB / 449.3 MB, free: 19.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2164, allocations: 59.25 kB / 449.4 MB, free: 19.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.2167, allocations: 246.9 kB / 449.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2167, allocations: 37 kB / 449.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2168, allocations: 122.4 kB / 449.8 MB, free: 18.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.2168, allocations: 38.84 kB / 449.8 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.2169, allocations: 32.92 kB / 449.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.217, allocations: 334.6 kB / 450.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.2178, allocations: 230.8 kB / 450.4 MB, free: 18.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007717/0.2185, allocations: 230 kB / 450.6 MB, free: 18.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.2199, allocations: 383.1 kB / 451 MB, free: 18.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2199, allocations: 0 / 451 MB, free: 18.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001616/0.2215, allocations: 0.5206 MB / 451.5 MB, free: 18.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.2216, allocations: 63.31 kB / 451.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2216, allocations: 0 / 451.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2216, allocations: 5.75 kB / 451.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.222, allocations: 72.59 kB / 451.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.222, allocations: 2.781 kB / 451.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.2224, allocations: 62.17 kB / 451.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2225, allocations: 9.469 kB / 451.8 MB, free: 17.95 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.0001269/0.2226, allocations: 134.7 kB / 451.9 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.2227, allocations: 21.09 kB / 451.9 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.2243, allocations: 422.4 kB / 452.3 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2243, allocations: 2.594 kB / 452.3 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2243, allocations: 4 kB / 452.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2243, allocations: 2.688 kB / 452.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2262, allocations: 0.6335 MB / 453 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2262, allocations: 0 / 453 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.2266, allocations: 76.47 kB / 453 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2266, allocations: 3.812 kB / 453 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2267, allocations: 2.828 kB / 453 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2267, allocations: 1.375 kB / 453 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2267, allocations: 0.75 kB / 453 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2283, allocations: 0.4929 MB / 453.5 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.2284, allocations: 14.33 kB / 453.5 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.2284, allocations: 8.406 kB / 453.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.2288, allocations: 59.12 kB / 453.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.229, allocations: 46.48 kB / 453.7 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.229, allocations: 8.75 kB / 453.7 MB, free: 17.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.2292, allocations: 184.2 kB / 453.8 MB, free: 17.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2292, allocations: 7.938 kB / 453.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.2295, allocations: 44.36 kB / 453.9 MB, free: 17.03 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.001611/0.2311, allocations: 431.7 kB / 454.3 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.2328, allocations: 0.524 MB / 454.8 MB, free: 16.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2328, allocations: 1 kB / 454.8 MB, free: 16.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.2336, allocations: 181.8 kB / 455 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.234, allocations: 49.23 kB / 455.1 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.235, allocations: 375.8 kB / 455.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2351, allocations: 121.9 kB / 455.6 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.2352, allocations: 27.61 kB / 455.6 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.2353, allocations: 28.36 kB / 455.6 MB, free: 16.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2353, allocations: 0 / 455.6 MB, free: 16.25 MB / 366.1 MB Notification: Performance of Templates: time 0.008272/0.2436, allocations: 3.857 MB / 459.5 MB, free: 15.84 MB / 366.1 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: 5.091520976275206]