Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004349, allocations: 12 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.0026/0.1633, allocations: 1.61 MB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1647, allocations: 0.7134 MB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.1648, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.1652, allocations: 227.5 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1655, allocations: 175.5 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.1664, allocations: 441.8 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1667, allocations: 191.6 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1669, allocations: 48.58 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1671, allocations: 111.6 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1673, allocations: 139.5 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1673, allocations: 4 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1675, allocations: 51.84 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1676, allocations: 71.75 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.1676, allocations: 61.52 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1679, allocations: 227.8 kB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1679, allocations: 0 / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.168, allocations: 4 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.168, allocations: 0 / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007908/0.1688, allocations: 0.5875 MB / 476.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1688, allocations: 8.031 kB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.1689, allocations: 39.44 kB / 476.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1693, allocations: 305.2 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1693, allocations: 8 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1694, allocations: 15.95 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.1696, allocations: 109.5 kB / 476.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1697, allocations: 4 kB / 476.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1697, allocations: 4 kB / 476.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1697, allocations: 4 kB / 476.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1699, allocations: 75.94 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.1707, allocations: 0.4886 MB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1708, allocations: 102.4 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.1709, allocations: 7.984 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1709, allocations: 34.56 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1709, allocations: 0 / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009563/0.1719, allocations: 391.9 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.172, allocations: 59.61 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.1727, allocations: 0.5447 MB / 478.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1727, allocations: 37.64 kB / 478.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1729, allocations: 196.4 kB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.173, allocations: 67.08 kB / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.173, allocations: 4 kB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1733, allocations: 350.8 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1734, allocations: 43.98 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1735, allocations: 62.31 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1737, allocations: 55.98 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1737, allocations: 0 / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003624/0.174, allocations: 209 kB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1741, allocations: 7.953 kB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1741, allocations: 0 / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.1742, allocations: 8 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1743, allocations: 31.98 kB / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1744, allocations: 0 / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.1745, allocations: 15.98 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1745, allocations: 4 kB / 479.3 MB, free: 5.656 MB / 350.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 (17): * Single equations (assignments): 17 * 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 0.0001961/0.1747, allocations: 178.3 kB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.1747, allocations: 39.52 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.1753, allocations: 247.1 kB / 479.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1753, allocations: 4 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1753, allocations: 4 kB / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1753, allocations: 0 / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.1762, allocations: 0.6367 MB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1762, allocations: 0 / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1763, allocations: 35.97 kB / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1764, allocations: 0 / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1764, allocations: 8 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1764, allocations: 0 / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1764, allocations: 3.984 kB / 480.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.1768, allocations: 306.8 kB / 480.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1769, allocations: 128.5 kB / 480.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.177, allocations: 8 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.1771, allocations: 11.98 kB / 480.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1771, allocations: 11.98 kB / 480.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.1772, allocations: 8 kB / 480.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.1776, allocations: 407.1 kB / 481.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 481.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.1779, allocations: 47.98 kB / 481.4 MB, free: 3.496 MB / 350.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 (17): * Single equations (assignments): 17 * 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.001869/0.1798, allocations: 0.6985 MB / 482.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1801, allocations: 139.9 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1802, allocations: 0 / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1803, allocations: 79.81 kB / 482.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.1808, allocations: 65.45 kB / 482.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1821, allocations: 0.7049 MB / 483.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/0.1826, allocations: 0.8106 MB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1827, allocations: 45.91 kB / 483.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1828, allocations: 27.42 kB / 483.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1828, allocations: 0 / 483.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Templates: time 0.007821/0.1907, allocations: 3.15 MB / 487.1 MB, free: 14.06 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches