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.0009762/0.0009762, allocations: 94.86 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002734/0.1492, allocations: 1.711 MB / 484.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1509, allocations: 0.7991 MB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1511, allocations: 3.938 kB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1516, allocations: 167.6 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.1521, allocations: 183.4 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009498/0.153, allocations: 397.2 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.1535, allocations: 279.2 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1537, allocations: 64.64 kB / 486.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1539, allocations: 103.5 kB / 486.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1542, allocations: 155.3 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.1543, allocations: 4 kB / 486.9 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1544, allocations: 39.98 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1546, allocations: 167.4 kB / 487.1 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1548, allocations: 192.3 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.1553, allocations: 398.5 kB / 487.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1554, allocations: 4 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1554, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.1554, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.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.001402/0.1568, allocations: 0.7739 MB / 488.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1569, allocations: 8.875 kB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.157, allocations: 64.09 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.1578, allocations: 0.5081 MB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1578, allocations: 4.375 kB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1579, allocations: 8.375 kB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.1584, allocations: 179.3 kB / 489.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.1584, allocations: 0 / 489.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1584, allocations: 8 kB / 489.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1585, allocations: 0 / 489.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.159, allocations: 175.7 kB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1602, allocations: 0.7385 MB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.1606, allocations: 153.1 kB / 490.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.1609, allocations: 93.78 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.161, allocations: 4 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.161, allocations: 38.55 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.161, allocations: 0 / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00301/0.164, allocations: 0.9503 MB / 491.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1641, allocations: 77.11 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1653, allocations: 1.051 MB / 492.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1653, allocations: 29.64 kB / 492.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1655, allocations: 288.2 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.1656, allocations: 59.11 kB / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1657, allocations: 21.72 kB / 492.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1658, allocations: 310 kB / 493.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.1663, allocations: 151.9 kB / 493.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.1668, allocations: 169.6 kB / 493.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.1677, allocations: 321.4 kB / 493.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1677, allocations: 0 / 493.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001109/0.1689, allocations: 428.5 kB / 494.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1689, allocations: 8 kB / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1689, allocations: 0 / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1689, allocations: 0.75 kB / 494.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1693, allocations: 79.94 kB / 494.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1693, allocations: 4.203 kB / 494.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1696, allocations: 55.95 kB / 494.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1696, allocations: 7.938 kB / 494.4 MB, free: 8.543 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.0003441/0.17, allocations: 233.6 kB / 494.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.1702, allocations: 55.25 kB / 494.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1715, allocations: 466.6 kB / 495.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.1716, allocations: 8.188 kB / 495.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1716, allocations: 0 / 495.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1716, allocations: 7.938 kB / 495.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.1739, allocations: 1.005 MB / 496.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.1739, allocations: 0 / 496.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1743, allocations: 91.86 kB / 496.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1743, allocations: 0 / 496.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1743, allocations: 4 kB / 496.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1743, allocations: 0 / 496.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1743, allocations: 0 / 496.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1756, allocations: 0.5819 MB / 496.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.1758, allocations: 164.3 kB / 497 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.1759, allocations: 7.984 kB / 497 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.1762, allocations: 51.89 kB / 497.1 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.1763, allocations: 27.91 kB / 497.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1763, allocations: 8 kB / 497.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009264/0.1772, allocations: 0.7645 MB / 497.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1773, allocations: 0 / 497.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004039/0.1777, allocations: 67.98 kB / 497.9 MB, free: 4.914 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.001178/0.1789, allocations: 390.7 kB / 498.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.18, allocations: 335.7 kB / 498.6 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.18, allocations: 0 / 498.6 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.1807, allocations: 183.8 kB / 498.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.1814, allocations: 78.05 kB / 498.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1831, allocations: 1.187 MB / 0.4884 GB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.1837, allocations: 0.8902 MB / 0.4892 GB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.184, allocations: 91.2 kB / 0.4893 GB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1841, allocations: 43.42 kB / 0.4894 GB, free: 1.812 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1841, allocations: 0 / 0.4894 GB, free: 1.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01189/0.196, allocations: 4.656 MB / 0.4939 GB, free: 13.18 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)