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.0009277/0.0009279, allocations: 101.9 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.0002991, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 63.56 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002412/0.143, allocations: 1.661 MB / 484.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1444, allocations: 0.7565 MB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1445, allocations: 0 / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.1449, allocations: 167.6 kB / 485 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.1454, allocations: 187.4 kB / 485.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.1463, allocations: 377.6 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.1467, allocations: 255.2 kB / 485.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.1469, allocations: 52.88 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1471, allocations: 95.56 kB / 485.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1473, allocations: 139.4 kB / 486.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1474, allocations: 8 kB / 486.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1475, allocations: 39.92 kB / 486.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1477, allocations: 151.5 kB / 486.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.1478, allocations: 85.39 kB / 486.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.1481, allocations: 307.7 kB / 486.6 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1481, allocations: 4 kB / 486.7 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1481, allocations: 0 / 486.7 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1482, allocations: 0 / 486.7 MB, free: 284 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.001111/0.1493, allocations: 0.7776 MB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1493, allocations: 8.031 kB / 487.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1494, allocations: 67.09 kB / 487.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.1501, allocations: 495.6 kB / 488 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1501, allocations: 8 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1502, allocations: 15.98 kB / 488 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.1506, allocations: 170.6 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1506, allocations: 7.984 kB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1506, allocations: 4 kB / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1506, allocations: 0 / 488.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.1511, allocations: 167.8 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1521, allocations: 0.7346 MB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1525, allocations: 157.2 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.1528, allocations: 97.72 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1528, allocations: 224 / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1528, allocations: 46.52 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1528, allocations: 3.938 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00258/0.1554, allocations: 0.9386 MB / 490.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.1555, allocations: 85.11 kB / 490.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1567, allocations: 1.043 MB / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1567, allocations: 29.7 kB / 491.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.1569, allocations: 284.2 kB / 491.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.157, allocations: 63.17 kB / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.157, allocations: 0 / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1571, allocations: 310 kB / 492.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.1576, allocations: 159.7 kB / 492.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.158, allocations: 172.2 kB / 492.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1584, allocations: 151.9 kB / 492.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1584, allocations: 3.953 kB / 492.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001108/0.1596, allocations: 420.7 kB / 493 MB, free: 9.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1596, allocations: 8 kB / 493 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1596, allocations: 0 / 493 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1596, allocations: 0 / 493 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.16, allocations: 87.88 kB / 493.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.16, allocations: 3.984 kB / 493.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1602, allocations: 51.95 kB / 493.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1602, allocations: 8 kB / 493.2 MB, free: 9.508 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.0002294/0.1605, allocations: 221.8 kB / 493.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1606, allocations: 67.2 kB / 493.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1617, allocations: 466.4 kB / 493.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1617, allocations: 8 kB / 493.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1617, allocations: 0 / 493.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1617, allocations: 0 / 493.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.1636, allocations: 1.001 MB / 494.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1636, allocations: 0 / 494.9 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.1639, allocations: 87.91 kB / 495 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.1639, allocations: 7.938 kB / 495 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.164, allocations: 4 kB / 495 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.164, allocations: 4 kB / 495 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.164, allocations: 0 / 495 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1651, allocations: 0.5805 MB / 495.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.1653, allocations: 164.3 kB / 495.8 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.1654, allocations: 3.984 kB / 495.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.1657, allocations: 51.95 kB / 495.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1658, allocations: 23.97 kB / 495.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1659, allocations: 4 kB / 495.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00104/0.1669, allocations: 0.7723 MB / 496.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1669, allocations: 288 / 496.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.1674, allocations: 64 kB / 496.7 MB, free: 5.891 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.001206/0.1686, allocations: 399.6 kB / 497.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009192/0.1695, allocations: 339.6 kB / 497.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1695, allocations: 4 kB / 497.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.17, allocations: 183.8 kB / 497.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1706, allocations: 70.91 kB / 497.6 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1726, allocations: 1.109 MB / 498.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.1731, allocations: 0.8896 MB / 499.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.1733, allocations: 99.47 kB / 499.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1735, allocations: 39.42 kB / 499.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1735, allocations: 8 kB / 499.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of Templates: time 0.009979/0.1835, allocations: 4.544 MB / 0.4925 GB, free: 14.32 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)