Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001322/0.001322, allocations: 119.1 kB / 18.46 MB, free: 4.691 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.001532/0.001532, allocations: 207.3 kB / 21.42 MB, free: 1.738 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.532/1.532, allocations: 230.6 MB / 254.8 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.2462/0.2462, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.91 kB / 0.4921 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1586, allocations: 65.99 MB / 0.5565 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003864/0.1625, allocations: 1.689 MB / 0.5582 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1637, allocations: 0.5767 MB / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1639, allocations: 0 / 0.5588 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.1645, allocations: 463.1 kB / 0.5592 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.1651, allocations: 291.3 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.1657, allocations: 183.1 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.166, allocations: 175.7 kB / 0.5598 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1661, allocations: 16.23 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1662, allocations: 115.7 kB / 0.5599 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.1666, allocations: 255.4 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1666, allocations: 4 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1667, allocations: 51.97 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1669, allocations: 91.62 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.167, allocations: 103 kB / 0.5604 GB, free: 1.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.1674, allocations: 282.5 kB / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1674, allocations: 0 / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1674, allocations: 0 / 0.5607 GB, free: 1.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1674, allocations: 0 / 0.5607 GB, free: 1.004 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.0008566/0.1682, allocations: 0.6685 MB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1683, allocations: 8.031 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.1683, allocations: 48.61 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1687, allocations: 300.6 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-06/0.1687, allocations: 4.375 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.1687, allocations: 8.375 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1689, allocations: 65.73 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1689, allocations: 0 / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1689, allocations: 0 / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1689, allocations: 0 / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1691, allocations: 39.97 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.1697, allocations: 416.5 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1698, allocations: 42.56 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1699, allocations: 16.94 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1699, allocations: 7.984 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1699, allocations: 42.64 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1699, allocations: 3.938 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.171, allocations: 316.6 kB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.171, allocations: 59.34 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.172, allocations: 0.8698 MB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.172, allocations: 25.7 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1722, allocations: 232 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1722, allocations: 23.8 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1723, allocations: 21.7 kB / 0.5638 GB, free: 13.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1725, allocations: 362.8 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.1726, allocations: 35.97 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.1727, allocations: 24 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1729, allocations: 76.81 kB / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1729, allocations: 0 / 0.5643 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002757/0.1731, allocations: 153.2 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1732, allocations: 11.94 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1732, allocations: 4 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1732, allocations: 4 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1733, allocations: 15.98 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1733, allocations: 7.938 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.1734, allocations: 7.984 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1734, allocations: 4 kB / 0.5645 GB, free: 12.89 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 (8): * Single equations (assignments): 8 * 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.0002058/0.1736, allocations: 212 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.1736, allocations: 43.72 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.174, allocations: 177.8 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.174, allocations: 7.984 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.174, allocations: 3.938 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.174, allocations: 0 / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.1748, allocations: 0.5148 MB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1748, allocations: 7.969 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.1748, allocations: 19.98 kB / 0.5654 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1748, allocations: 3.938 kB / 0.5654 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1749, allocations: 0 / 0.5654 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1749, allocations: 4 kB / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1749, allocations: 0 / 0.5654 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1752, allocations: 256 kB / 0.5657 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.1753, allocations: 116.7 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1753, allocations: 8 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1754, allocations: 3.984 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1755, allocations: 4 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1755, allocations: 4 kB / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006644/0.1761, allocations: 0.6589 MB / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1761, allocations: 0 / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1764, allocations: 27.94 kB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001751/0.1782, allocations: 461.9 kB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1784, allocations: 79.94 kB / 0.567 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1784, allocations: 3.938 kB / 0.567 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1785, allocations: 43.91 kB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1789, allocations: 30.23 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1803, allocations: 0.8716 MB / 0.5679 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.1807, allocations: 0.8377 MB / 0.5688 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.1808, allocations: 15.44 kB / 0.5688 GB, free: 8.504 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1808, allocations: 0 / 0.5688 GB, free: 8.504 MB / 430.1 MB Notification: Performance of Templates: time 0.00775/0.1885, allocations: 4.064 MB / 0.5727 GB, free: 4.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 8.003397470980417]