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.001255/0.001255, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.4 MB / 247.1 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2598/0.2598, allocations: 46.1 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 79.86 kB / 417.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.168, allocations: 62.44 MB / 480.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004635/0.1727, allocations: 1.923 MB / 482.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1745, allocations: 0.7093 MB / 482.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1746, allocations: 4 kB / 482.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.1752, allocations: 155.6 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.1758, allocations: 159.5 kB / 483.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1769, allocations: 313.8 kB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.1774, allocations: 231.4 kB / 483.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1776, allocations: 53.67 kB / 483.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1778, allocations: 103.6 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1781, allocations: 147.5 kB / 483.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.1781, allocations: 16 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1783, allocations: 43.98 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1785, allocations: 111.6 kB / 484.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1786, allocations: 115.1 kB / 484.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.179, allocations: 215.9 kB / 484.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.179, allocations: 4 kB / 484.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.179, allocations: 0 / 484.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.179, allocations: 0 / 484.4 MB, free: 1.301 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.001323/0.1804, allocations: 0.6574 MB / 485.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1804, allocations: 8.031 kB / 485.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1806, allocations: 40.47 kB / 485.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.1812, allocations: 366.1 kB / 485.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1812, allocations: 4.375 kB / 485.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1813, allocations: 12.36 kB / 485.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.1819, allocations: 191.2 kB / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.182, allocations: 0 / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.182, allocations: 8 kB / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.182, allocations: 0 / 485.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.1828, allocations: 151.8 kB / 485.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1843, allocations: 0.6525 MB / 486.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1849, allocations: 149.1 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.1853, allocations: 81.78 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.1854, allocations: 11.98 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1854, allocations: 30.56 kB / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.013e-06/0.1854, allocations: 0 / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.003958/0.1894, allocations: 0.7836 MB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.1895, allocations: 77.11 kB / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1905, allocations: 0.5839 MB / 488.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.1906, allocations: 33.7 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.1908, allocations: 204.3 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.1909, allocations: 55.19 kB / 488.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.191, allocations: 37.62 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.1913, allocations: 354.8 kB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.192, allocations: 135.9 kB / 489 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.1927, allocations: 153.6 kB / 489.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.194, allocations: 293.4 kB / 489.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.194, allocations: 4 kB / 489.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00161/0.1957, allocations: 372.9 kB / 489.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1957, allocations: 4 kB / 489.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1957, allocations: 0 / 489.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1957, allocations: 4 kB / 489.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.1963, allocations: 67.86 kB / 489.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1963, allocations: 0 / 489.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.1967, allocations: 39.95 kB / 489.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.1967, allocations: 4 kB / 489.9 MB, free: 11.52 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.0003001/0.197, allocations: 189.7 kB / 490.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.1972, allocations: 39.53 kB / 490.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.199, allocations: 416.9 kB / 490.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.199, allocations: 11.92 kB / 490.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.199, allocations: 0.75 kB / 490.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.199, allocations: 4 kB / 490.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.2016, allocations: 0.9112 MB / 491.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2016, allocations: 0 / 491.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.2021, allocations: 63.92 kB / 491.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.2021, allocations: 4 kB / 491.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.2021, allocations: 12 kB / 491.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2021, allocations: 0 / 491.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2022, allocations: 0 / 491.6 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2038, allocations: 0.5313 MB / 492.1 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.204, allocations: 124.6 kB / 492.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.2041, allocations: 4 kB / 492.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.2045, allocations: 43.94 kB / 492.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2047, allocations: 19.92 kB / 492.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2047, allocations: 4 kB / 492.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000702/0.2054, allocations: 443.1 kB / 492.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2054, allocations: 288 / 492.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000584/0.206, allocations: 52 kB / 492.8 MB, free: 8.57 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.00149/0.2075, allocations: 407.1 kB / 493.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2091, allocations: 323.6 kB / 493.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2092, allocations: 0 / 493.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.2099, allocations: 159.8 kB / 493.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.2107, allocations: 55.88 kB / 493.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2126, allocations: 0.8213 MB / 494.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.2133, allocations: 0.8105 MB / 495.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2135, allocations: 35.42 kB / 495.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2135, allocations: 0 / 495.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01086/0.2244, allocations: 4.667 MB / 0.4883 GB, free: 1.406 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)