Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001341/0.001341, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.00142/0.00142, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 68.64 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1566, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001695/0.1584, allocations: 0.5759 MB / 0.6659 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.1587, allocations: 58.39 kB / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.1587, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.1588, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.1588, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1591, allocations: 19.92 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.1592, allocations: 31.95 kB / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1592, allocations: 0 / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1593, allocations: 15.94 kB / 0.666 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.1593, allocations: 19.97 kB / 0.666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1593, allocations: 0 / 0.666 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.1594, allocations: 15.98 kB / 0.6661 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1595, allocations: 8 kB / 0.6661 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.1595, allocations: 19.91 kB / 0.6661 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1596, allocations: 35.89 kB / 0.6661 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1596, allocations: 0 / 0.6661 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1596, allocations: 0 / 0.6661 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.1596, allocations: 0 / 0.6661 GB, free: 4.945 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.0003528/0.16, allocations: 335.4 kB / 0.6664 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.16, allocations: 17.11 kB / 0.6665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1601, allocations: 4.938 kB / 0.6665 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.1602, allocations: 172.2 kB / 0.6666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1602, allocations: 4.375 kB / 0.6666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1602, allocations: 4.375 kB / 0.6666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1604, allocations: 58.58 kB / 0.6667 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1604, allocations: 192 / 0.6667 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1604, allocations: 7.938 kB / 0.6667 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1604, allocations: 4 kB / 0.6667 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1605, allocations: 99.86 kB / 0.6668 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.1607, allocations: 177.6 kB / 0.667 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1609, allocations: 82.41 kB / 0.667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.1609, allocations: 29.17 kB / 0.6671 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.1613, allocations: 405.5 kB / 0.6675 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1613, allocations: 34.5 kB / 0.6675 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1613, allocations: 4 kB / 0.6675 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002401/0.1616, allocations: 113.6 kB / 0.6676 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1616, allocations: 63.34 kB / 0.6677 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.1617, allocations: 93.77 kB / 0.6678 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1617, allocations: 25.7 kB / 0.6678 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.1617, allocations: 84.14 kB / 0.6679 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.1618, allocations: 19.73 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1618, allocations: 37.7 kB / 0.6679 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1619, allocations: 322.8 kB / 0.6682 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.162, allocations: 27.92 kB / 0.6682 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.162, allocations: 19.98 kB / 0.6683 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.1621, allocations: 52.84 kB / 0.6683 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1621, allocations: 0 / 0.6683 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.1623, allocations: 97.5 kB / 0.6684 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1623, allocations: 8 kB / 0.6684 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1623, allocations: 3.938 kB / 0.6684 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1623, allocations: 3.938 kB / 0.6684 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1624, allocations: 19.98 kB / 0.6684 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1624, allocations: 0 / 0.6684 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1625, allocations: 4 kB / 0.6684 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1625, allocations: 4 kB / 0.6684 GB, free: 2.238 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.0001312/0.1626, allocations: 125.8 kB / 0.6686 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.1626, allocations: 3.906 kB / 0.6686 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.1628, allocations: 130.2 kB / 0.6687 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1629, allocations: 3.984 kB / 0.6687 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1629, allocations: 0 / 0.6687 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1629, allocations: 4 kB / 0.6687 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.163, allocations: 173.7 kB / 0.6689 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.163, allocations: 0 / 0.6689 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.1631, allocations: 19.94 kB / 0.6689 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.1631, allocations: 7.922 kB / 0.6689 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1631, allocations: 0 / 0.6689 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1631, allocations: 0 / 0.6689 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1631, allocations: 0 / 0.6689 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1633, allocations: 129 kB / 0.669 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1633, allocations: 88.98 kB / 0.6691 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1634, allocations: 4 kB / 0.6691 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.1634, allocations: 4 kB / 0.6691 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1634, allocations: 7.984 kB / 0.6691 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.1634, allocations: 4 kB / 0.6691 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.1635, allocations: 79.28 kB / 0.6692 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1635, allocations: 3.938 kB / 0.6692 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001934/0.1637, allocations: 8 kB / 0.6692 GB, free: 1.355 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.0002295/0.1639, allocations: 120.6 kB / 0.6693 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.164, allocations: 59.84 kB / 0.6694 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1641, allocations: 0 / 0.6694 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.1641, allocations: 39.92 kB / 0.6694 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1643, allocations: 4 kB / 0.6694 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1646, allocations: 178.4 kB / 0.6696 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1648, allocations: 0.6846 MB / 0.6703 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1649, allocations: 23.42 kB / 0.6703 GB, free: 192 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1649, allocations: 0 / 0.6703 GB, free: 192 kB / 0.4981 GB Notification: Performance of Templates: time 0.002466/0.1674, allocations: 0.952 MB / 0.6712 GB, free: 15.23 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)