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.001309/0.001309, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3115/0.3115, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002786, allocations: 78.91 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1409, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00356/0.1445, allocations: 2.023 MB / 482.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1459, allocations: 0.7989 MB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.146, allocations: 7.938 kB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.1464, allocations: 171.4 kB / 483.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.1468, allocations: 223.1 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.1477, allocations: 409.4 kB / 484.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.148, allocations: 295.2 kB / 484.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1482, allocations: 64.7 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1483, allocations: 119.5 kB / 484.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1485, allocations: 163.4 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.1485, allocations: 12 kB / 485 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.1486, allocations: 43.97 kB / 485.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1489, allocations: 175.4 kB / 485.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1491, allocations: 178.6 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1495, allocations: 422.6 kB / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1495, allocations: 0 / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1495, allocations: 0 / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.1495, allocations: 0 / 485.8 MB, free: 192 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.001175/0.1507, allocations: 0.8239 MB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1507, allocations: 20.02 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.1508, allocations: 56.19 kB / 486.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.1514, allocations: 0.5081 MB / 487.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1515, allocations: 8.375 kB / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1515, allocations: 12.38 kB / 487.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1519, allocations: 159.3 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1519, allocations: 7.984 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.152, allocations: 0 / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.152, allocations: 4 kB / 487.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1525, allocations: 143.7 kB / 487.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1535, allocations: 0.7229 MB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1539, allocations: 141.1 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1541, allocations: 73.78 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1542, allocations: 7.984 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1542, allocations: 38.56 kB / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1542, allocations: 4 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002683/0.1569, allocations: 0.7941 MB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.157, allocations: 85.05 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1582, allocations: 1.043 MB / 490.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1582, allocations: 29.7 kB / 490.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1584, allocations: 284.2 kB / 490.8 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.1585, allocations: 71.08 kB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1586, allocations: 29.72 kB / 490.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1587, allocations: 314 kB / 491.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.1592, allocations: 119.9 kB / 491.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.1596, allocations: 141.6 kB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.1605, allocations: 249.4 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1605, allocations: 0 / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001042/0.1616, allocations: 352.6 kB / 492 MB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1616, allocations: 8 kB / 492 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1616, allocations: 4 kB / 492 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1616, allocations: 416 / 492 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.162, allocations: 63.94 kB / 492.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.162, allocations: 19.8 kB / 492.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1622, allocations: 35.95 kB / 492.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1622, allocations: 4 kB / 492.2 MB, free: 9.59 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.0002374/0.1625, allocations: 233.7 kB / 492.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1626, allocations: 55.25 kB / 492.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.1638, allocations: 406.5 kB / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1638, allocations: 0 / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1638, allocations: 7.938 kB / 492.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1638, allocations: 0 / 492.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1656, allocations: 0.9348 MB / 493.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1656, allocations: 0 / 493.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.1659, allocations: 67.86 kB / 493.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1659, allocations: 0 / 493.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.166, allocations: 8.75 kB / 493.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.166, allocations: 80 / 493.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.166, allocations: 3.984 kB / 493.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1671, allocations: 0.525 MB / 494.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.1673, allocations: 148.3 kB / 494.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1673, allocations: 15.98 kB / 494.5 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1676, allocations: 31.95 kB / 494.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.1677, allocations: 27.91 kB / 494.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1677, allocations: 8 kB / 494.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009119/0.1687, allocations: 0.7684 MB / 495.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 495.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.1691, allocations: 64 kB / 495.4 MB, free: 6.195 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.001485/0.1706, allocations: 395 kB / 495.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.1716, allocations: 283.6 kB / 496.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1716, allocations: 0 / 496.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.1721, allocations: 155.8 kB / 496.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.1729, allocations: 86.67 kB / 496.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1746, allocations: 1.045 MB / 497.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.1753, allocations: 0.8776 MB / 498.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.1754, allocations: 47.42 kB / 498.3 MB, free: 3.402 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1754, allocations: 0 / 498.3 MB, free: 3.402 MB / 366.1 MB Notification: Performance of Templates: time 0.01045/0.1859, allocations: 6.489 MB / 0.493 GB, free: 12.93 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)