Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.00168/0.00168, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002037/0.002037, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.2497/0.2497, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 63.89 kB / 0.4914 GB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1579, allocations: 66 MB / 0.5559 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003965/0.1619, allocations: 1.675 MB / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1643, allocations: 1.179 MB / 0.5587 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1644, allocations: 0 / 0.5587 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1647, allocations: 27.84 kB / 0.5587 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.1652, allocations: 95.55 kB / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.1657, allocations: 127.2 kB / 0.5589 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1659, allocations: 71.77 kB / 0.559 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1661, allocations: 11.98 kB / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.1662, allocations: 31.86 kB / 0.559 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1664, allocations: 35.83 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1664, allocations: 4 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1667, allocations: 103.9 kB / 0.5591 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.1668, allocations: 23.92 kB / 0.5592 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.1668, allocations: 31.78 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1672, allocations: 139.5 kB / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1672, allocations: 0 / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1672, allocations: 0 / 0.5593 GB, free: 1.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1672, allocations: 3.938 kB / 0.5593 GB, free: 1.824 MB / 414.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.0007177/0.1679, allocations: 414.8 kB / 0.5597 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1679, allocations: 8.031 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.168, allocations: 12.89 kB / 0.5598 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1683, allocations: 198.3 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1683, allocations: 384 / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1683, allocations: 8.375 kB / 0.5599 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1686, allocations: 83.44 kB / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1686, allocations: 0 / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1686, allocations: 0 / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1686, allocations: 0 / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1687, allocations: 35.97 kB / 0.5601 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1692, allocations: 292.8 kB / 0.5603 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1694, allocations: 42.5 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.1695, allocations: 24.92 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.1695, allocations: 8.062 kB / 0.5604 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1695, allocations: 34.56 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1695, allocations: 0 / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009175/0.1705, allocations: 209.3 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.1705, allocations: 85.05 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1707, allocations: 147.6 kB / 0.5609 GB, free: 56 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1707, allocations: 25.7 kB / 0.5609 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1709, allocations: 96.12 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1709, allocations: 27.73 kB / 0.561 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1709, allocations: 25.66 kB / 0.561 GB, free: 15.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1711, allocations: 322.8 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1712, allocations: 31.97 kB / 0.5614 GB, free: 15.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1714, allocations: 49.75 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1716, allocations: 68.81 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1716, allocations: 7.969 kB / 0.5615 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003049/0.1719, allocations: 113.6 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1719, allocations: 8 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1719, allocations: 0 / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.172, allocations: 0 / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1721, allocations: 23.97 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1721, allocations: 0 / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.1722, allocations: 11.94 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1722, allocations: 4 kB / 0.5616 GB, free: 15.21 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001233/0.1723, allocations: 120 kB / 0.5618 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1724, allocations: 8.234 kB / 0.5618 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.1727, allocations: 126.3 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1727, allocations: 7.984 kB / 0.5619 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1727, allocations: 0 / 0.5619 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.1727, allocations: 3.938 kB / 0.5619 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.1734, allocations: 394.4 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1734, allocations: 0 / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.1735, allocations: 27.97 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1735, allocations: 0 / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.1735, allocations: 11.94 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1735, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1735, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1739, allocations: 203.8 kB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.1739, allocations: 89.05 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.174, allocations: 3.938 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.1741, allocations: 19.94 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1741, allocations: 3.984 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1741, allocations: 7.938 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1742, allocations: 117.4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 0 / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1746, allocations: 35.88 kB / 0.5628 GB, free: 13.95 MB / 430.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 (7): * Single equations (assignments): 7 * 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.001788/0.1763, allocations: 498.7 kB / 0.5633 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1767, allocations: 79.88 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1767, allocations: 0 / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.1768, allocations: 43.91 kB / 0.5634 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1772, allocations: 17.3 kB / 0.5634 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.1778, allocations: 213.6 kB / 0.5636 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1781, allocations: 0.6924 MB / 0.5643 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.755e-05/0.1782, allocations: 16.28 kB / 0.5643 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.1782, allocations: 19.42 kB / 0.5643 GB, free: 12.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1782, allocations: 7.938 kB / 0.5643 GB, free: 12.52 MB / 430.1 MB Notification: Performance of Templates: time 0.005409/0.1836, allocations: 1.897 MB / 0.5662 GB, free: 10.62 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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: 5.405680637806654]