Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.12 MB / 344.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 84.31 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1598, allocations: 62.45 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004434/0.1643, allocations: 2.024 MB / 482.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.166, allocations: 0.795 MB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1662, allocations: 4 kB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.1668, allocations: 183.3 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1673, allocations: 219.1 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1685, allocations: 413.1 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1689, allocations: 295.2 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1691, allocations: 60.7 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1693, allocations: 119.5 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1695, allocations: 167.4 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1696, allocations: 12 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1697, allocations: 47.97 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1699, allocations: 171.4 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.1701, allocations: 182.6 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.1706, allocations: 414.6 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1707, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1707, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1707, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001316/0.172, allocations: 0.8317 MB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1721, allocations: 12.03 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.1722, allocations: 56.19 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.1729, allocations: 0.5081 MB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.173, allocations: 8.375 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1731, allocations: 12.38 kB / 486.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.1736, allocations: 163.3 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1736, allocations: 3.938 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.1736, allocations: 4 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1736, allocations: 7.984 kB / 486.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.1742, allocations: 139.7 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.1757, allocations: 0.7229 MB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.1762, allocations: 145.1 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.1765, allocations: 77.78 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.1765, allocations: 4 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.1766, allocations: 34.55 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.454e-06/0.1766, allocations: 4 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002964/0.1796, allocations: 0.7941 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1797, allocations: 89.03 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.1811, allocations: 1.043 MB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1811, allocations: 33.7 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.1814, allocations: 280.3 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.1815, allocations: 63.09 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.1815, allocations: 29.72 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1817, allocations: 314 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.1822, allocations: 123.9 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.1826, allocations: 140.2 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.1838, allocations: 249.4 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1838, allocations: 4 kB / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001401/0.1853, allocations: 360.7 kB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1853, allocations: 8.094 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1853, allocations: 3.938 kB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1853, allocations: 0 / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.1858, allocations: 63.92 kB / 491.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1858, allocations: 8.141 kB / 491.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.1862, allocations: 40.17 kB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1862, allocations: 4 kB / 491.5 MB, free: 9.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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.0003407/0.1866, allocations: 237.6 kB / 491.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1867, allocations: 55.25 kB / 491.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.1884, allocations: 402.3 kB / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1884, allocations: 0 / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1884, allocations: 4 kB / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1884, allocations: 4 kB / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.1905, allocations: 0.9346 MB / 493.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1905, allocations: 0.75 kB / 493.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1908, allocations: 67.86 kB / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1908, allocations: 0 / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1908, allocations: 12 kB / 493.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1909, allocations: 0 / 493.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1909, allocations: 4 kB / 493.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.192, allocations: 0.5173 MB / 493.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.1921, allocations: 156.3 kB / 493.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.1922, allocations: 11.98 kB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.1925, allocations: 35.95 kB / 493.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.1926, allocations: 27.91 kB / 493.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1926, allocations: 4 kB / 494 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008799/0.1935, allocations: 0.7684 MB / 494.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1935, allocations: 0 / 494.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.1939, allocations: 60 kB / 494.8 MB, free: 6.109 MB / 366.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 (18): * Single equations (assignments): 18 * 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.001451/0.1953, allocations: 406 kB / 495.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000992/0.1963, allocations: 283.6 kB / 495.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1963, allocations: 0 / 495.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.1968, allocations: 147.8 kB / 495.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.1975, allocations: 88.81 kB / 495.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.199, allocations: 1.032 MB / 496.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.1996, allocations: 0.8893 MB / 497.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.1998, allocations: 95.52 kB / 497.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1999, allocations: 43.44 kB / 497.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1999, allocations: 0 / 497.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01114/0.211, allocations: 5.123 MB / 0.4911 GB, free: 14.12 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)