Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001825/0.001825, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002203/0.002203, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.689/1.689, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2528/0.2528, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 67.89 kB / 0.4914 GB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1562, allocations: 65.99 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004519/0.1607, allocations: 1.692 MB / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1624, allocations: 0.5533 MB / 0.5581 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1625, allocations: 4 kB / 0.5581 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.1629, allocations: 71.7 kB / 0.5581 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.1634, allocations: 107.6 kB / 0.5582 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.1641, allocations: 134.8 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.1644, allocations: 87.8 kB / 0.5585 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1646, allocations: 16.17 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1647, allocations: 39.89 kB / 0.5585 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.165, allocations: 59.75 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.165, allocations: 4 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.1652, allocations: 55.97 kB / 0.5586 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.1653, allocations: 31.84 kB / 0.5587 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.1654, allocations: 27.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1657, allocations: 123.4 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1657, allocations: 0 / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1657, allocations: 0 / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1657, allocations: 0 / 0.5588 GB, free: 2.328 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009285/0.1667, allocations: 430.7 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1667, allocations: 8.031 kB / 0.5592 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.1668, allocations: 12.89 kB / 0.5592 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1672, allocations: 211.1 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1672, allocations: 8.375 kB / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.1672, allocations: 384 / 0.5594 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1675, allocations: 65.8 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1675, allocations: 0 / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1675, allocations: 0 / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1675, allocations: 4 kB / 0.5595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1678, allocations: 43.91 kB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.1684, allocations: 312.7 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.1688, allocations: 54.59 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1689, allocations: 20.97 kB / 0.5599 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.169, allocations: 7.984 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.169, allocations: 34.56 kB / 0.56 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.169, allocations: 3.938 kB / 0.56 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00238/0.1714, allocations: 405.3 kB / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.1715, allocations: 59.34 kB / 0.5604 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.1719, allocations: 210.4 kB / 0.5606 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1719, allocations: 29.7 kB / 0.5606 GB, free: 260 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.172, allocations: 108.1 kB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.1721, allocations: 39.69 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.1722, allocations: 25.66 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003758/0.1725, allocations: 322.8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1728, allocations: 43.97 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.173, allocations: 52 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.1734, allocations: 100.8 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1734, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005126/0.1739, allocations: 145.5 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1739, allocations: 4 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.174, allocations: 0 / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.174, allocations: 4 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1742, allocations: 35.86 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1742, allocations: 0 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1743, allocations: 7.984 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1743, allocations: 4 kB / 0.5615 GB, free: 15.35 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 (11): * Single equations (assignments): 11 * 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.0001674/0.1745, allocations: 136 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.1745, allocations: 11.91 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.1751, allocations: 170.9 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1751, allocations: 3.938 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1751, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1752, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1762, allocations: 476 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1762, allocations: 4 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1764, allocations: 23.98 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1764, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1764, allocations: 8.188 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.1764, allocations: 8.047 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1765, allocations: 4 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.1772, allocations: 257.1 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.1773, allocations: 100.9 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1773, allocations: 4 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1775, allocations: 11.98 kB / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.1776, allocations: 8 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1776, allocations: 4 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1779, allocations: 164.2 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1779, allocations: 4 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.1784, allocations: 23.94 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002481/0.1809, allocations: 463.6 kB / 0.5633 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.1814, allocations: 107.9 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1814, allocations: 0 / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1816, allocations: 51.91 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.1821, allocations: 29.2 kB / 0.5635 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009794/0.1831, allocations: 308.8 kB / 0.5638 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.1837, allocations: 0.7158 MB / 0.5645 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.1838, allocations: 20.53 kB / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1839, allocations: 15.44 kB / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1839, allocations: 0 / 0.5645 GB, free: 12.27 MB / 430.1 MB Notification: Performance of Templates: time 0.008313/0.1922, allocations: 1.589 MB / 0.5661 GB, free: 10.68 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.524635758250952]