Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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 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 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 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.CombiTable2D.Test21,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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 202.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4304/0.4304, allocations: 43.5 MB / 313.5 MB, free: 8.207 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001506, allocations: 67.89 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004765/0.1672, allocations: 2.014 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1689, allocations: 0.655 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1691, allocations: 4 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.1697, allocations: 239.5 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1701, allocations: 179.5 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.1711, allocations: 419.3 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.1714, allocations: 271.3 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1716, allocations: 60.92 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1718, allocations: 119.5 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.172, allocations: 195.3 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1721, allocations: 8 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1723, allocations: 59.97 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1724, allocations: 87.73 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1725, allocations: 107 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.1728, allocations: 275 kB / 444.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1729, allocations: 4 kB / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1729, allocations: 0 / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1729, allocations: 0 / 444.5 MB, free: 9.941 MB / 382.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.0009044/0.1738, allocations: 0.6108 MB / 445.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.1739, allocations: 8.031 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.1739, allocations: 36.47 kB / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.1743, allocations: 314.1 kB / 445.4 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1744, allocations: 4.375 kB / 445.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.1744, allocations: 12.38 kB / 445.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1747, allocations: 113.7 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1747, allocations: 0 / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1748, allocations: 8 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1748, allocations: 4 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.175, allocations: 67.89 kB / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.1758, allocations: 480.3 kB / 446.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1761, allocations: 90.55 kB / 446.2 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.1762, allocations: 36.78 kB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.1762, allocations: 4 kB / 446.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1763, allocations: 38.5 kB / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1763, allocations: 0 / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001118/0.1774, allocations: 384.1 kB / 446.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1774, allocations: 55.41 kB / 446.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.178, allocations: 0.5172 MB / 447.2 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1781, allocations: 25.7 kB / 447.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1782, allocations: 196.3 kB / 447.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.1783, allocations: 59.16 kB / 447.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1784, allocations: 25.72 kB / 447.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1786, allocations: 354.8 kB / 447.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1787, allocations: 51.97 kB / 447.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1788, allocations: 47.97 kB / 448 MB, free: 6.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.179, allocations: 124.2 kB / 448.1 MB, free: 6.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.179, allocations: 3.938 kB / 448.1 MB, free: 6.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003346/0.1794, allocations: 193.1 kB / 448.3 MB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1794, allocations: 8 kB / 448.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1794, allocations: 7.984 kB / 448.3 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1795, allocations: 0 / 448.3 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1796, allocations: 31.98 kB / 448.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1797, allocations: 3.938 kB / 448.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.1797, allocations: 11.92 kB / 448.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1798, allocations: 8 kB / 448.3 MB, free: 5.836 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1799, allocations: 173.7 kB / 448.5 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.18, allocations: 39.53 kB / 448.6 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.1804, allocations: 229.3 kB / 448.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1804, allocations: 0 / 448.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1805, allocations: 0 / 448.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1805, allocations: 7.922 kB / 448.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.1812, allocations: 0.6111 MB / 449.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1812, allocations: 0 / 449.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1813, allocations: 31.97 kB / 449.4 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1814, allocations: 4 kB / 449.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1814, allocations: 8 kB / 449.4 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1814, allocations: 3.984 kB / 449.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1814, allocations: 3.938 kB / 449.4 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1818, allocations: 294.9 kB / 449.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1819, allocations: 100.7 kB / 449.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1819, allocations: 8 kB / 449.8 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.182, allocations: 3.984 kB / 449.8 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.1821, allocations: 19.92 kB / 449.9 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1821, allocations: 4 kB / 449.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003761/0.1825, allocations: 399.1 kB / 450.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1825, allocations: 3.938 kB / 450.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1828, allocations: 40 kB / 450.3 MB, free: 3.773 MB / 382.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 (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.001948/0.1848, allocations: 0.6921 MB / 451 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1852, allocations: 139.7 kB / 451.1 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1852, allocations: 8 kB / 451.1 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1853, allocations: 71.91 kB / 451.2 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.186, allocations: 65.38 kB / 451.3 MB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1872, allocations: 0.7541 MB / 452 MB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1876, allocations: 0.8064 MB / 452.8 MB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1878, allocations: 45.89 kB / 452.9 MB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.1878, allocations: 23.44 kB / 452.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1878, allocations: 0 / 452.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of Templates: time 0.2356/0.4235, allocations: 3.042 MB / 455.9 MB, free: 48.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches