Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007816/0.000782, allocations: 103.6 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4158/0.4158, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.000392, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002237/0.1621, allocations: 1.317 MB / 491.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1635, allocations: 0.8713 MB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.1636, allocations: 0 / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1638, allocations: 23.92 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.164, allocations: 31.84 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1643, allocations: 99.86 kB / 492.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1645, allocations: 55.84 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1646, allocations: 12.17 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1646, allocations: 23.86 kB / 492.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1648, allocations: 23.86 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1648, allocations: 0 / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1649, allocations: 51.95 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.165, allocations: 4 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.165, allocations: 33.64 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1652, allocations: 79.81 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1652, allocations: 0 / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1652, allocations: 0 / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1652, allocations: 0 / 492.9 MB, free: 8.598 MB / 378.7 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.0005596/0.1658, allocations: 379.4 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1658, allocations: 16.02 kB / 493.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1659, allocations: 11.86 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1661, allocations: 186.8 kB / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1661, allocations: 8 kB / 493.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1662, allocations: 0 / 493.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1664, allocations: 71.39 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1664, allocations: 4 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1664, allocations: 4 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1664, allocations: 0 / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1666, allocations: 47.92 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.1671, allocations: 284.8 kB / 493.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1672, allocations: 46.56 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.1673, allocations: 32.92 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1673, allocations: 0 / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1674, allocations: 38.5 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1674, allocations: 0 / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008369/0.1682, allocations: 249 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1683, allocations: 77.11 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1684, allocations: 133.8 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1685, allocations: 29.7 kB / 494.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.1685, allocations: 92.14 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1686, allocations: 31.58 kB / 494.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1686, allocations: 0 / 494.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1687, allocations: 318.8 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1688, allocations: 39.98 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.169, allocations: 57.67 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1691, allocations: 40.02 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1691, allocations: 0 / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002991/0.1694, allocations: 129.6 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1695, allocations: 7.953 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1695, allocations: 4 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1695, allocations: 0 / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1696, allocations: 23.92 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1696, allocations: 4 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.1697, allocations: 15.98 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1697, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.1698, allocations: 117.8 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1699, allocations: 11.89 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.1702, allocations: 138.3 kB / 495.5 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1703, allocations: 4 kB / 495.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1703, allocations: 4 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1703, allocations: 0 / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1709, allocations: 410.4 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1709, allocations: 3.953 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.171, allocations: 23.98 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.171, allocations: 4 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.171, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.171, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.171, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1713, allocations: 223.4 kB / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1714, allocations: 96.95 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1714, allocations: 0 / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1715, allocations: 15.98 kB / 496.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1716, allocations: 15.98 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.1716, allocations: 0 / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.1717, allocations: 103.3 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1717, allocations: 0 / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.172, allocations: 20 kB / 496.4 MB, free: 4.754 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009257/0.1729, allocations: 445.4 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1732, allocations: 91.88 kB / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1732, allocations: 4 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1734, allocations: 55.95 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1737, allocations: 15.92 kB / 497 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.1742, allocations: 218.9 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1745, allocations: 0.6887 MB / 497.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.1746, allocations: 15.44 kB / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1746, allocations: 0 / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of Templates: time 0.003633/0.1782, allocations: 1.7 MB / 499.6 MB, free: 1.516 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches