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.001313/0.001313, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.001241, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 78.62 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003569/0.1292, allocations: 1.876 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1305, allocations: 0.7053 MB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.1307, allocations: 4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.1312, allocations: 179.4 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1315, allocations: 175.4 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.1322, allocations: 326 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1324, allocations: 231.4 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1326, allocations: 69.62 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1327, allocations: 91.67 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1329, allocations: 147.5 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.1329, allocations: 12 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.133, allocations: 39.98 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1332, allocations: 119.6 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1333, allocations: 115.1 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1336, allocations: 291.2 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1336, allocations: 0 / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1337, allocations: 3.938 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1337, allocations: 0 / 484.4 MB, free: 0.9258 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.0009778/0.1347, allocations: 0.6574 MB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1347, allocations: 8.031 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.1348, allocations: 40.47 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.1352, allocations: 366.1 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1352, allocations: 4.375 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1352, allocations: 12.38 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.1357, allocations: 175.3 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1357, allocations: 0 / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1357, allocations: 8 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1357, allocations: 4 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.1362, allocations: 151.8 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/0.1372, allocations: 0.6449 MB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.1376, allocations: 157.1 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.1379, allocations: 85.77 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1379, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1379, allocations: 38.56 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1379, allocations: 0 / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002627/0.1406, allocations: 0.7836 MB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1406, allocations: 81.11 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.1412, allocations: 0.5838 MB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1413, allocations: 33.7 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1414, allocations: 196.3 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.1415, allocations: 59.2 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.1415, allocations: 41.61 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1417, allocations: 350.8 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.1422, allocations: 135.9 kB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.1426, allocations: 157.6 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.1435, allocations: 297.4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1435, allocations: 0 / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00103/0.1446, allocations: 368.8 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1446, allocations: 8 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1446, allocations: 4 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1446, allocations: 3.984 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.145, allocations: 59.94 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.145, allocations: 4.156 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1452, allocations: 39.94 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1452, allocations: 11.98 kB / 489.9 MB, free: 11.15 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.0001965/0.1454, allocations: 189.7 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.1455, allocations: 35.53 kB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.1467, allocations: 412.6 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1467, allocations: 0 / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1467, allocations: 0 / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1467, allocations: 4.109 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1483, allocations: 0.9228 MB / 491.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1483, allocations: 0 / 491.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1486, allocations: 63.88 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1486, allocations: 4 kB / 491.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1486, allocations: 4 kB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1486, allocations: 0.75 kB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1486, allocations: 8 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1497, allocations: 0.5277 MB / 492 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1498, allocations: 120.6 kB / 492.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1499, allocations: 11.92 kB / 492.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.1502, allocations: 39.95 kB / 492.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1503, allocations: 31.84 kB / 492.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1503, allocations: 4 kB / 492.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004297/0.1507, allocations: 443.1 kB / 492.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1507, allocations: 0 / 492.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1511, allocations: 48 kB / 492.7 MB, free: 8.199 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.0008888/0.152, allocations: 390.1 kB / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.153, allocations: 327.6 kB / 493.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.153, allocations: 4 kB / 493.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.1535, allocations: 159.8 kB / 493.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.1541, allocations: 55.94 kB / 493.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1553, allocations: 0.7103 MB / 494.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.1559, allocations: 0.8181 MB / 495.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1561, allocations: 74.55 kB / 495.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.1562, allocations: 31.42 kB / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1562, allocations: 0 / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of Templates: time 0.009375/0.1656, allocations: 3.655 MB / 498.9 MB, free: 2.098 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)