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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009201/0.009201, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7937/0.7937, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 403.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008721, allocations: 91.95 kB / 485.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 12 kB / 0.5641 GB, free: 2.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4774, allocations: 81.57 MB / 0.6438 GB, free: 39.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.634, allocations: 110.4 MB / 0.7516 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.6343, allocations: 75.95 kB / 0.7516 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001989/0.6363, allocations: 0.8203 MB / 0.7524 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6363, allocations: 0 / 0.7524 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6363, allocations: 4 kB / 0.7524 GB, free: 8.605 MB / 0.5261 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.0003367/0.6367, allocations: 329.5 kB / 0.7528 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6367, allocations: 8.031 kB / 0.7528 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.6368, allocations: 7.906 kB / 0.7528 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6369, allocations: 174.2 kB / 0.7529 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.6369, allocations: 7.938 kB / 0.7529 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.637, allocations: 0 / 0.7529 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6371, allocations: 69.64 kB / 0.753 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.6371, allocations: 4 kB / 0.753 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6372, allocations: 4 kB / 0.753 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6372, allocations: 0 / 0.753 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.6373, allocations: 99.88 kB / 0.7531 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.6376, allocations: 181.5 kB / 0.7533 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.6377, allocations: 70.48 kB / 0.7534 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.638, allocations: 405.5 kB / 0.7537 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.638, allocations: 34.56 kB / 0.7538 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.6381, allocations: 0 / 0.7538 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002617/0.6383, allocations: 113.6 kB / 0.7539 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6384, allocations: 51.73 kB / 0.7539 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.6384, allocations: 85 kB / 0.754 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6384, allocations: 33.64 kB / 0.754 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.6385, allocations: 84.33 kB / 0.7541 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.6385, allocations: 27.69 kB / 0.7542 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.6385, allocations: 4 kB / 0.7542 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6387, allocations: 314.8 kB / 0.7545 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.6387, allocations: 19.98 kB / 0.7545 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.6387, allocations: 19.98 kB / 0.7545 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.623e-05/0.6388, allocations: 31.92 kB / 0.7545 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6388, allocations: 0 / 0.7545 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001252/0.6389, allocations: 90.28 kB / 0.7546 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.639, allocations: 8 kB / 0.7546 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.639, allocations: 0 / 0.7546 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.639, allocations: 0 / 0.7546 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6391, allocations: 27.92 kB / 0.7546 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.6391, allocations: 0 / 0.7546 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.6391, allocations: 11.78 kB / 0.7547 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.6392, allocations: 4 kB / 0.7547 GB, free: 6.031 MB / 0.5261 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.6393, allocations: 122.3 kB / 0.7548 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.6393, allocations: 7.953 kB / 0.7548 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.6395, allocations: 129.7 kB / 0.7549 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6395, allocations: 0 / 0.7549 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6395, allocations: 0 / 0.7549 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6396, allocations: 3.984 kB / 0.7549 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.6397, allocations: 173.5 kB / 0.7551 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6397, allocations: 0 / 0.7551 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.6398, allocations: 19.98 kB / 0.7551 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6398, allocations: 7.953 kB / 0.7551 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.6398, allocations: 0 / 0.7551 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6398, allocations: 0 / 0.7551 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6398, allocations: 4 kB / 0.7551 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.64, allocations: 117.4 kB / 0.7552 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.64, allocations: 85.05 kB / 0.7553 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.64, allocations: 7.953 kB / 0.7553 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.638e-05/0.6401, allocations: 0 / 0.7553 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.6401, allocations: 11.92 kB / 0.7553 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.6401, allocations: 4 kB / 0.7553 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.6401, allocations: 79.28 kB / 0.7554 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6402, allocations: 0 / 0.7554 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002029/0.6404, allocations: 27.92 kB / 0.7554 GB, free: 5.141 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.6406, allocations: 116.2 kB / 0.7555 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.6407, allocations: 63.83 kB / 0.7556 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6407, allocations: 0 / 0.7556 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.6408, allocations: 31.98 kB / 0.7556 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.526e-05/0.6409, allocations: 10.03 kB / 0.7556 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.6411, allocations: 142.7 kB / 0.7558 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.6414, allocations: 0.6848 MB / 0.7564 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.829e-05/0.6415, allocations: 39.92 kB / 0.7565 GB, free: 4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.6415, allocations: 23.31 kB / 0.7565 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6415, allocations: 4 kB / 0.7565 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of Templates: time 0.002518/0.6441, allocations: 0.5499 MB / 0.757 GB, free: 3.426 MB / 0.5261 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)