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.00135/0.001349, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 79.81 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 62.44 MB / 481.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003171/0.155, allocations: 1.883 MB / 483.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1563, allocations: 0.7053 MB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.1564, allocations: 4 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.1568, allocations: 163.5 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.1572, allocations: 187.3 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.1579, allocations: 322.8 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1582, allocations: 239.4 kB / 484.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1583, allocations: 61.66 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1584, allocations: 95.66 kB / 485.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1586, allocations: 151.5 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1586, allocations: 12 kB / 485.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.321e-05/0.1587, allocations: 40 kB / 485.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1588, allocations: 107.7 kB / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.1589, allocations: 119 kB / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.1592, allocations: 302.8 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1592, allocations: 4 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1592, allocations: 0 / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1592, allocations: 0 / 485.8 MB, free: 140 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.0009247/0.1602, allocations: 0.6457 MB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1602, allocations: 8.031 kB / 486.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1603, allocations: 40.41 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.1607, allocations: 366.1 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1607, allocations: 12.38 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1608, allocations: 16.31 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.1611, allocations: 175.2 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1612, allocations: 0 / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1612, allocations: 8 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1612, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.1616, allocations: 155.8 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1628, allocations: 0.6449 MB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1632, allocations: 153.1 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.1634, allocations: 81.78 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1635, allocations: 0 / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.1635, allocations: 42.55 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/0.1635, allocations: 0 / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00256/0.1661, allocations: 0.7758 MB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.1662, allocations: 85.11 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.1668, allocations: 0.5839 MB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1669, allocations: 29.92 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1671, allocations: 196.4 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.1671, allocations: 67.06 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.1672, allocations: 37.62 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1674, allocations: 350.8 kB / 490.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.1679, allocations: 135.9 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.1683, allocations: 161.6 kB / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.1692, allocations: 293.4 kB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1692, allocations: 0 / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001002/0.1702, allocations: 368.8 kB / 491.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1703, allocations: 10.5 kB / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1703, allocations: 0 / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.1703, allocations: 0 / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1706, allocations: 67.86 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1707, allocations: 8 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1709, allocations: 35.95 kB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1709, allocations: 4 kB / 491.3 MB, free: 10.37 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.0002268/0.1711, allocations: 185.7 kB / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.1712, allocations: 39.52 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1725, allocations: 416.7 kB / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1725, allocations: 4 kB / 491.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1725, allocations: 0.75 kB / 491.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1725, allocations: 8.172 kB / 491.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1743, allocations: 0.911 MB / 492.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1744, allocations: 0 / 492.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1746, allocations: 67.92 kB / 492.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1746, allocations: 0 / 492.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1747, allocations: 12 kB / 492.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1747, allocations: 0 / 492.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1747, allocations: 0 / 492.9 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1757, allocations: 0.5369 MB / 493.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1759, allocations: 124.6 kB / 493.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1759, allocations: 4 kB / 493.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1762, allocations: 39.95 kB / 493.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.1763, allocations: 23.91 kB / 493.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.1764, allocations: 8 kB / 493.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.1769, allocations: 439.1 kB / 494.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1769, allocations: 0 / 494.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.1773, allocations: 52 kB / 494.1 MB, free: 7.418 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.0009839/0.1783, allocations: 393.6 kB / 494.5 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1793, allocations: 311.6 kB / 494.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1794, allocations: 0 / 494.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.1799, allocations: 167.8 kB / 495 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.1804, allocations: 59.3 kB / 495.1 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1817, allocations: 0.7063 MB / 495.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.1822, allocations: 0.8181 MB / 496.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.1824, allocations: 66.25 kB / 496.6 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.1825, allocations: 35.42 kB / 496.7 MB, free: 4.969 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1825, allocations: 3.938 kB / 496.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of Templates: time 0.008237/0.1907, allocations: 3.648 MB / 0.4886 GB, free: 1.328 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)