Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 104.3 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 189.7 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 69.25 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 80.21 MB / 0.6604 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001728/0.1459, allocations: 0.5695 MB / 0.6609 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002984/0.1462, allocations: 62.31 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1463, allocations: 4 kB / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.1463, allocations: 0 / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.117e-06/0.1463, allocations: 3.938 kB / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1466, allocations: 11.98 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.1467, allocations: 31.97 kB / 0.661 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1468, allocations: 4 kB / 0.661 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.1468, allocations: 19.92 kB / 0.6611 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.1468, allocations: 7.984 kB / 0.6611 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1469, allocations: 4 kB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.1469, allocations: 15.98 kB / 0.6611 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.147, allocations: 11.98 kB / 0.6611 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.147, allocations: 15.92 kB / 0.6611 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.1471, allocations: 27.91 kB / 0.6611 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1471, allocations: 8 kB / 0.6612 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1471, allocations: 0 / 0.6612 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1472, allocations: 0 / 0.6612 GB, free: 9.406 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000325/0.1475, allocations: 339.5 kB / 0.6615 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1475, allocations: 11.97 kB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.1476, allocations: 8.844 kB / 0.6615 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1477, allocations: 172.3 kB / 0.6617 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1477, allocations: 8.375 kB / 0.6617 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1477, allocations: 384 / 0.6617 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1479, allocations: 66.56 kB / 0.6617 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1479, allocations: 192 / 0.6617 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1479, allocations: 3.938 kB / 0.6617 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1479, allocations: 4 kB / 0.6617 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1481, allocations: 103.8 kB / 0.6618 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.1483, allocations: 169.7 kB / 0.662 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1484, allocations: 70.55 kB / 0.6621 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.1484, allocations: 33.17 kB / 0.6621 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.1488, allocations: 405.5 kB / 0.6625 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1488, allocations: 38.5 kB / 0.6625 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1488, allocations: 4 kB / 0.6625 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002389/0.1491, allocations: 113.5 kB / 0.6626 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1491, allocations: 51.41 kB / 0.6627 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.1492, allocations: 101.8 kB / 0.6628 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1492, allocations: 25.7 kB / 0.6628 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.1492, allocations: 80.14 kB / 0.6629 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1492, allocations: 27.64 kB / 0.6629 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1493, allocations: 37.7 kB / 0.6629 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1494, allocations: 318.8 kB / 0.6632 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.1495, allocations: 19.98 kB / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.1495, allocations: 19.98 kB / 0.6633 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.1496, allocations: 63.78 kB / 0.6633 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1496, allocations: 4 kB / 0.6634 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000141/0.1498, allocations: 93.55 kB / 0.6634 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1498, allocations: 5.719 kB / 0.6634 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1498, allocations: 3.938 kB / 0.6634 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1498, allocations: 4 kB / 0.6635 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.1499, allocations: 15.98 kB / 0.6635 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1499, allocations: 8 kB / 0.6635 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.1499, allocations: 4 kB / 0.6635 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.15, allocations: 4 kB / 0.6635 GB, free: 6.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000132/0.1501, allocations: 126.6 kB / 0.6636 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.1501, allocations: 3.906 kB / 0.6636 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1503, allocations: 125.5 kB / 0.6637 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1503, allocations: 4 kB / 0.6637 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1503, allocations: 4 kB / 0.6637 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1504, allocations: 0 / 0.6637 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1505, allocations: 173.5 kB / 0.6639 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1505, allocations: 3.938 kB / 0.6639 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.1506, allocations: 19.98 kB / 0.6639 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1506, allocations: 7.875 kB / 0.6639 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1506, allocations: 8 kB / 0.6639 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1506, allocations: 0 / 0.6639 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1506, allocations: 0 / 0.6639 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.1508, allocations: 120 kB / 0.6641 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1508, allocations: 92.89 kB / 0.6641 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1508, allocations: 0 / 0.6641 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.1508, allocations: 4 kB / 0.6641 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.1509, allocations: 7.984 kB / 0.6642 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1509, allocations: 4 kB / 0.6642 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.1509, allocations: 75.28 kB / 0.6642 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1509, allocations: 3.938 kB / 0.6642 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001994/0.1511, allocations: 16 kB / 0.6642 GB, free: 5.809 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001696/0.1513, allocations: 123.1 kB / 0.6644 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1515, allocations: 55.97 kB / 0.6644 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1515, allocations: 0 / 0.6644 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.1515, allocations: 39.91 kB / 0.6645 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1517, allocations: 4 kB / 0.6645 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.152, allocations: 178.5 kB / 0.6646 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1522, allocations: 0.6807 MB / 0.6653 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.1523, allocations: 19.42 kB / 0.6653 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1523, allocations: 0 / 0.6653 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.002386/0.1547, allocations: 0.9551 MB / 0.6662 GB, free: 3.699 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)