Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 98 kB / 17 MB, free: 6.398 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.0009624/0.0009624, allocations: 180 kB / 17.89 MB, free: 5.945 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.478/1.478, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.25 MB / 337.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00292/0.1661, allocations: 1.602 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1682, allocations: 0.9049 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.1685, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1691, allocations: 251.4 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.1697, allocations: 175.5 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1713, allocations: 0.6027 MB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.1719, allocations: 255.3 kB / 475.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.1721, allocations: 72.55 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.1724, allocations: 111.5 kB / 475.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.1727, allocations: 159.4 kB / 475.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1727, allocations: 0 / 475.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1729, allocations: 55.92 kB / 475.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1731, allocations: 83.73 kB / 475.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.1732, allocations: 65.52 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.1735, allocations: 215.6 kB / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1736, allocations: 0 / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.1736, allocations: 4 kB / 476.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1736, allocations: 3.938 kB / 476.1 MB, free: 9.137 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.0008843/0.1745, allocations: 0.5796 MB / 476.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1745, allocations: 12.03 kB / 476.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.223e-05/0.1746, allocations: 35.53 kB / 476.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.175, allocations: 289.3 kB / 477 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1751, allocations: 12 kB / 477.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.1751, allocations: 11.95 kB / 477.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1754, allocations: 129.5 kB / 477.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1754, allocations: 3.906 kB / 477.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1755, allocations: 8 kB / 477.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1755, allocations: 4 kB / 477.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.1757, allocations: 95.92 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.1765, allocations: 0.4925 MB / 477.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1767, allocations: 110.5 kB / 477.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.1768, allocations: 44.78 kB / 477.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.1769, allocations: 4 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1769, allocations: 30.56 kB / 478 MB, free: 7.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1769, allocations: 4 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001071/0.178, allocations: 456.1 kB / 478.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.178, allocations: 55.41 kB / 478.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.1786, allocations: 0.5249 MB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1787, allocations: 29.7 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1788, allocations: 196.3 kB / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.1789, allocations: 59.11 kB / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.1789, allocations: 0 / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1791, allocations: 350.8 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1792, allocations: 75.89 kB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1794, allocations: 74.3 kB / 479.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1795, allocations: 71.97 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1796, allocations: 0 / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003936/0.18, allocations: 237 kB / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.18, allocations: 10.02 kB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.18, allocations: 4 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.18, allocations: 0 / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1802, allocations: 35.92 kB / 480.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1802, allocations: 0 / 480.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.1803, allocations: 15.98 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1803, allocations: 8 kB / 480.1 MB, free: 4.898 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.0001909/0.1805, allocations: 170.3 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.1806, allocations: 43.48 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/0.1811, allocations: 281.3 kB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1812, allocations: 7.984 kB / 480.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1812, allocations: 0 / 480.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1812, allocations: 0 / 480.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.1821, allocations: 0.6816 MB / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1821, allocations: 0 / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1823, allocations: 35.97 kB / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1823, allocations: 0 / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1823, allocations: 8 kB / 481.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1823, allocations: 0 / 481.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1823, allocations: 0 / 481.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.1828, allocations: 340.8 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/0.1829, allocations: 116.6 kB / 481.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.1829, allocations: 7.984 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.183, allocations: 8 kB / 481.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1831, allocations: 11.98 kB / 481.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1831, allocations: 11.94 kB / 481.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004151/0.1835, allocations: 395.1 kB / 482.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1835, allocations: 0 / 482.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.1838, allocations: 47.98 kB / 482.3 MB, free: 2.656 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.001857/0.1857, allocations: 0.6946 MB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.1861, allocations: 171.8 kB / 483.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1861, allocations: 0 / 483.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1863, allocations: 99.88 kB / 483.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.1868, allocations: 61.47 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1881, allocations: 0.7713 MB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.1886, allocations: 0.8185 MB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.1888, allocations: 49.89 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.1889, allocations: 39.36 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1889, allocations: 0 / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of Templates: time 0.007592/0.1965, allocations: 3.053 MB / 488 MB, free: 13.19 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches