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.0008351/0.0008352, allocations: 96.67 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.0009599/0.00096, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002943, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002316/0.1426, allocations: 1.711 MB / 484.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1439, allocations: 0.7952 MB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.144, allocations: 0 / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1444, allocations: 167.5 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.1448, allocations: 187.4 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.1456, allocations: 396.5 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.1459, allocations: 279.2 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1461, allocations: 52.72 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1462, allocations: 111.4 kB / 486.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1464, allocations: 155.4 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1465, allocations: 4 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1466, allocations: 35.98 kB / 487 MB, free: 272 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1468, allocations: 167.4 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1469, allocations: 192.4 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.1473, allocations: 398.5 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1473, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1474, allocations: 0 / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1474, 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.001118/0.1485, allocations: 0.7739 MB / 488.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1485, allocations: 8.875 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.1487, allocations: 76.08 kB / 488.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.1493, allocations: 0.512 MB / 489.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1493, allocations: 8.375 kB / 489.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1494, allocations: 8.375 kB / 489.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1498, allocations: 175.3 kB / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1498, allocations: 0 / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1499, allocations: 4 kB / 489.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1499, allocations: 0 / 489.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.1504, allocations: 179.7 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1514, allocations: 0.7385 MB / 490.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1518, allocations: 149.1 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.1521, allocations: 97.78 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1522, allocations: 7.984 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1522, allocations: 30.56 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1522, allocations: 0 / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002944/0.1552, allocations: 0.9503 MB / 491.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1552, allocations: 81.05 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1563, allocations: 1.047 MB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1563, allocations: 29.8 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1566, allocations: 288.2 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.1566, allocations: 59.11 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1567, allocations: 21.7 kB / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.1568, allocations: 314 kB / 493.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.1573, allocations: 151.9 kB / 493.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.1578, allocations: 168.2 kB / 493.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.1588, allocations: 321.4 kB / 493.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1588, allocations: 4 kB / 493.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001118/0.1599, allocations: 420.6 kB / 494.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1599, allocations: 8 kB / 494.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1599, allocations: 0 / 494.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.16, allocations: 0 / 494.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.1603, allocations: 87.92 kB / 494.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1603, allocations: 0 / 494.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1606, allocations: 52.17 kB / 494.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1607, allocations: 11.94 kB / 494.4 MB, free: 8.523 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.0002395/0.1609, allocations: 229.6 kB / 494.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.161, allocations: 59.25 kB / 494.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1622, allocations: 466.6 kB / 495.2 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1623, allocations: 3.984 kB / 495.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1623, allocations: 0.9375 kB / 495.2 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1623, allocations: 7.984 kB / 495.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.1641, allocations: 1.001 MB / 496.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1641, allocations: 3.984 kB / 496.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.1644, allocations: 91.88 kB / 496.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1644, allocations: 0 / 496.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1645, allocations: 4 kB / 496.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1645, allocations: 0 / 496.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1645, allocations: 0 / 496.3 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1656, allocations: 0.5914 MB / 496.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1658, allocations: 160.3 kB / 497 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.1659, allocations: 4 kB / 497 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.1662, allocations: 51.95 kB / 497.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.1663, allocations: 23.91 kB / 497.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1663, allocations: 8 kB / 497.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.1671, allocations: 0.7762 MB / 497.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1671, allocations: 0 / 497.9 MB, free: 4.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1675, allocations: 60 kB / 497.9 MB, free: 4.895 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.0009639/0.1685, allocations: 395.7 kB / 498.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1695, allocations: 339.6 kB / 498.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1695, allocations: 0 / 498.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.1701, allocations: 183.8 kB / 498.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.1707, allocations: 75.64 kB / 498.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1723, allocations: 1.179 MB / 0.4884 GB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.1728, allocations: 0.8902 MB / 0.4892 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.173, allocations: 91.22 kB / 0.4893 GB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1731, allocations: 39.42 kB / 0.4894 GB, free: 1.797 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1731, allocations: 0 / 0.4894 GB, free: 1.797 MB / 366.1 MB Notification: Performance of Templates: time 0.009608/0.1828, allocations: 4.656 MB / 0.4939 GB, free: 13.16 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)