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.001027/0.001028, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.3 MB, free: 9.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.11 MB / 343.6 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 77.95 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1377, allocations: 62.44 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003498/0.1412, allocations: 2.077 MB / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1428, allocations: 0.7951 MB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.1429, allocations: 3.938 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.1434, allocations: 167.6 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.144, allocations: 183.4 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.1449, allocations: 400.9 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.1452, allocations: 275.2 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1454, allocations: 60.7 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1455, allocations: 115.5 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1457, allocations: 163.3 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1457, allocations: 8 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.1458, allocations: 36 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.146, allocations: 167.5 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1462, allocations: 186.5 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.1466, allocations: 402.7 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1466, allocations: 0 / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1466, allocations: 0 / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1466, allocations: 0 / 484.3 MB, free: 0.7383 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.001175/0.1478, allocations: 0.8358 MB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1479, allocations: 12.88 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.148, allocations: 60.19 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.1486, allocations: 0.5042 MB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1486, allocations: 12.36 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.1486, allocations: 12.38 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1491, allocations: 155.3 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1491, allocations: 4 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1491, allocations: 7.984 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1491, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.1496, allocations: 139.8 kB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1506, allocations: 0.7307 MB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.151, allocations: 141.2 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1513, allocations: 77.72 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1513, allocations: 3.938 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1513, allocations: 38.56 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1513, allocations: 0 / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002766/0.1541, allocations: 0.798 MB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1542, allocations: 81.11 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1554, allocations: 1.043 MB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1555, allocations: 33.7 kB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.1557, allocations: 284.2 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.1558, allocations: 59.11 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.1559, allocations: 37.64 kB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1561, allocations: 314 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.1565, allocations: 115.9 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.157, allocations: 141.6 kB / 489.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.1578, allocations: 253.6 kB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1578, allocations: 0 / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001006/0.1588, allocations: 360.5 kB / 490.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1588, allocations: 4 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1589, allocations: 0 / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1589, allocations: 8 kB / 490.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1592, allocations: 63.94 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1593, allocations: 224 / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.1595, allocations: 39.94 kB / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1596, allocations: 8.125 kB / 490.6 MB, free: 10.14 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.0002644/0.1598, allocations: 233.7 kB / 490.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.16, allocations: 63.19 kB / 490.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.1611, allocations: 402.4 kB / 491.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.1611, allocations: 4 kB / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1611, allocations: 0 / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.1612, allocations: 3.984 kB / 491.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.1629, allocations: 0.9432 MB / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1629, allocations: 0 / 492.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.1632, allocations: 63.88 kB / 492.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1632, allocations: 0 / 492.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1632, allocations: 12 kB / 492.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1632, allocations: 0 / 492.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.1633, allocations: 7.984 kB / 492.3 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1643, allocations: 0.5155 MB / 492.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.1645, allocations: 152.3 kB / 493 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.1646, allocations: 4 kB / 493 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.1649, allocations: 35.94 kB / 493 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.165, allocations: 31.84 kB / 493.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.165, allocations: 4 kB / 493.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000905/0.166, allocations: 0.7724 MB / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.166, allocations: 0 / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000393/0.1664, allocations: 56 kB / 493.9 MB, free: 6.746 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.0009635/0.1673, allocations: 397.7 kB / 494.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1683, allocations: 279.6 kB / 494.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1684, allocations: 0 / 494.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.1688, allocations: 155.8 kB / 494.7 MB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006542/0.1695, allocations: 82.94 kB / 494.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1711, allocations: 1.17 MB / 496 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.1716, allocations: 0.8896 MB / 496.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.1718, allocations: 91.52 kB / 496.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.172, allocations: 47.42 kB / 497 MB, free: 3.727 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.172, allocations: 0 / 497 MB, free: 3.727 MB / 366.1 MB Notification: Performance of Templates: time 0.009292/0.1813, allocations: 4.751 MB / 0.49 GB, free: 15 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)