Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000829/0.000829, allocations: 94.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009644/0.0009642, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2727/0.2727, allocations: 46.19 MB / 344.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003823, allocations: 12.2 kB / 418.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 63.57 MB / 482.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00285/0.1564, allocations: 1.541 MB / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1581, allocations: 0.6552 MB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1583, allocations: 7.938 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.1588, allocations: 159.6 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.1593, allocations: 159.5 kB / 484.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.1602, allocations: 290 kB / 485.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.1606, allocations: 199.4 kB / 485.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1608, allocations: 49.83 kB / 485.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.161, allocations: 79.73 kB / 485.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1613, allocations: 123.5 kB / 485.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.1613, allocations: 8 kB / 485.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1615, allocations: 24 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1617, allocations: 99.66 kB / 485.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.1618, allocations: 65.52 kB / 485.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1621, allocations: 207.9 kB / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.1622, allocations: 0 / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1622, allocations: 0 / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1622, allocations: 4 kB / 486 MB, free: 0.8281 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001394/0.1636, allocations: 0.6302 MB / 486.7 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.1637, allocations: 16.03 kB / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1638, allocations: 39.47 kB / 486.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.1645, allocations: 341.3 kB / 487.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.1645, allocations: 8 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.1646, allocations: 12 kB / 487.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.1651, allocations: 198.5 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1651, allocations: 0 / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1652, allocations: 0 / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1652, allocations: 4 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.1658, allocations: 187.8 kB / 487.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1671, allocations: 0.6644 MB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1675, allocations: 173.1 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.1678, allocations: 93.78 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1678, allocations: 0 / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1679, allocations: 46.5 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.396e-06/0.1679, allocations: 4 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002654/0.1705, allocations: 0.9204 MB / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1706, allocations: 81.11 kB / 489.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.1715, allocations: 0.5877 MB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.1715, allocations: 29.7 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.1717, allocations: 196.4 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.1718, allocations: 63.19 kB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.1718, allocations: 3.938 kB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.1721, allocations: 358.8 kB / 490.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.1726, allocations: 163.9 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.1731, allocations: 189.6 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.1735, allocations: 175.8 kB / 491.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1735, allocations: 3.953 kB / 491.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001028/0.1746, allocations: 428.9 kB / 491.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1746, allocations: 10.5 kB / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1746, allocations: 0 / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1746, allocations: 0 / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.175, allocations: 79.94 kB / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.175, allocations: 4.141 kB / 491.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1753, allocations: 59.94 kB / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1753, allocations: 4 kB / 491.8 MB, free: 10.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.1755, allocations: 185.7 kB / 491.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1756, allocations: 39.48 kB / 492 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.1768, allocations: 484.5 kB / 492.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1768, allocations: 4 kB / 492.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1768, allocations: 0 / 492.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1768, allocations: 0 / 492.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.1786, allocations: 0.9863 MB / 493.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1786, allocations: 0 / 493.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.1789, allocations: 83.88 kB / 493.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.179, allocations: 0 / 493.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.179, allocations: 8 kB / 493.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.179, allocations: 7.984 kB / 493.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.179, allocations: 0 / 493.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1802, allocations: 0.5957 MB / 494.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.1803, allocations: 120.6 kB / 494.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.1804, allocations: 4 kB / 494.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1807, allocations: 63.88 kB / 494.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.1808, allocations: 15.97 kB / 494.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1808, allocations: 8 kB / 494.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006028/0.1814, allocations: 443.1 kB / 494.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1814, allocations: 0 / 494.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00041/0.1818, allocations: 47.98 kB / 494.8 MB, free: 7.688 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 (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.001161/0.183, allocations: 398.4 kB / 495.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1841, allocations: 377.7 kB / 495.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1841, allocations: 0 / 495.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.1846, allocations: 207.7 kB / 495.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.1851, allocations: 45.44 kB / 495.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1864, allocations: 0.7685 MB / 496.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.1869, allocations: 0.8185 MB / 497.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000273/0.1872, allocations: 78.48 kB / 497.5 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.1873, allocations: 31.42 kB / 497.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1873, allocations: 0 / 497.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of Templates: time 0.008007/0.1953, allocations: 3.193 MB / 0.489 GB, free: 1.898 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)