Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001966/0.001966, allocations: 84.55 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.002168/0.002168, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.48/1.48, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2105/0.2105, allocations: 34.29 MB / 295 MB, free: 14.59 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.786e-05, allocations: 2.281 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003436/0.003464, allocations: 1.662 MB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004648, allocations: 0.5608 MB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.004731, allocations: 4 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.005379, allocations: 451 kB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.005946, allocations: 295.2 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.006443, allocations: 183.3 kB / 445.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.006752, allocations: 179.6 kB / 446 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.006859, allocations: 11.98 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.007065, allocations: 123.7 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.007398, allocations: 243.6 kB / 446.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.007424, allocations: 4 kB / 446.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.007535, allocations: 35.86 kB / 446.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.007657, allocations: 87.7 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.007723, allocations: 39.73 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.008083, allocations: 235.1 kB / 446.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008086, allocations: 0 / 446.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008087, allocations: 4 kB / 446.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.008098, allocations: 7.984 kB / 446.8 MB, free: 1.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008179/0.008916, allocations: 0.5698 MB / 447.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.008956, allocations: 8.031 kB / 447.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.009043, allocations: 44.66 kB / 447.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.009374, allocations: 246 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.009386, allocations: 4.312 kB / 447.6 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.009411, allocations: 8.375 kB / 447.7 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.009588, allocations: 50.23 kB / 447.7 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.009602, allocations: 192 / 447.7 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.009616, allocations: 12.12 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.00962, allocations: 4 kB / 447.7 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.009741, allocations: 27.92 kB / 447.7 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2504/0.2601, allocations: 336.9 kB / 448.1 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2604, allocations: 47.94 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.2604, allocations: 15.75 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.2605, allocations: 0.6094 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2605, allocations: 31.97 kB / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.2605, allocations: 0 / 448.2 MB, free: 19.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006591/0.2611, allocations: 242.9 kB / 448.4 MB, free: 19.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2612, allocations: 59.22 kB / 448.5 MB, free: 19.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008431/0.262, allocations: 0.8615 MB / 449.3 MB, free: 18.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.262, allocations: 31 kB / 449.4 MB, free: 18.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2622, allocations: 217.1 kB / 449.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2622, allocations: 15.02 kB / 449.6 MB, free: 18.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.2622, allocations: 15.89 kB / 449.6 MB, free: 18.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.2623, allocations: 361.6 kB / 449.9 MB, free: 18.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.2624, allocations: 21.39 kB / 450 MB, free: 18.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.2625, allocations: 21.25 kB / 450 MB, free: 18.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2626, allocations: 56.86 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2626, allocations: 1.031 kB / 450 MB, free: 18.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.2628, allocations: 125.1 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2628, allocations: 4.594 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2628, allocations: 1.156 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2629, allocations: 6.594 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.2629, allocations: 15.81 kB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2629, allocations: 3.938 kB / 450.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.263, allocations: 5.047 kB / 450.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.263, allocations: 1.859 kB / 450.2 MB, free: 18.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001622/0.2632, allocations: 214.2 kB / 450.4 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.2632, allocations: 47.89 kB / 450.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.2635, allocations: 144.2 kB / 450.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2635, allocations: 0 / 450.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2635, allocations: 0 / 450.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2635, allocations: 6.203 kB / 450.6 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.264, allocations: 411.1 kB / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.264, allocations: 0 / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.2641, allocations: 15.73 kB / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2641, allocations: 3.359 kB / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2641, allocations: 0.7969 kB / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2641, allocations: 6.156 kB / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2641, allocations: 0 / 451 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2643, allocations: 226.3 kB / 451.3 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.2643, allocations: 36.53 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.2644, allocations: 1.641 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.2645, allocations: 7.812 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.2645, allocations: 10.38 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2645, allocations: 1.156 kB / 451.3 MB, free: 17.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000534/0.265, allocations: 0.6513 MB / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 0 / 452 MB, free: 17.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.2656, allocations: 26.23 kB / 452 MB, free: 17.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001507/0.2671, allocations: 430.5 kB / 452.4 MB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.2673, allocations: 57.02 kB / 452.5 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2673, allocations: 1.375 kB / 452.5 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.2674, allocations: 30.31 kB / 452.5 MB, free: 17.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.2677, allocations: 23.17 kB / 452.5 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2687, allocations: 0.8174 MB / 453.3 MB, free: 16.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.2689, allocations: 222.6 kB / 453.6 MB, free: 16.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.269, allocations: 15.64 kB / 453.6 MB, free: 16.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.269, allocations: 17.94 kB / 453.6 MB, free: 16.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.269, allocations: 0 / 453.6 MB, free: 16.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005207/0.2742, allocations: 1.352 MB / 454.9 MB, free: 16.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980520475655794]