Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 221.7 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8492/0.8492, allocations: 134 MB / 447.2 MB, free: 9.977 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 69.28 kB / 0.6197 GB, free: 6.406 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 85.9 MB / 0.7036 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002989/0.1764, allocations: 1.562 MB / 0.7051 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.1768, allocations: 124.5 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.1769, allocations: 0 / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.1769, allocations: 3.938 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.177, allocations: 7.938 kB / 0.7052 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1773, allocations: 47.83 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.1774, allocations: 31.91 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1775, allocations: 8 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.1775, allocations: 27.84 kB / 0.7054 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.1776, allocations: 15.92 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1776, allocations: 4 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.1777, allocations: 19.98 kB / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1777, allocations: 7.984 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1777, allocations: 15.92 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1779, allocations: 47.83 kB / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1779, allocations: 0 / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1779, allocations: 0 / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1779, allocations: 0 / 0.7055 GB, free: 14.65 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005279/0.1784, allocations: 282.2 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1784, allocations: 8.031 kB / 0.7057 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1785, allocations: 4.938 kB / 0.7057 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1787, allocations: 106.5 kB / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1787, allocations: 8.375 kB / 0.7059 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1787, allocations: 384 / 0.7059 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1789, allocations: 78.14 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1789, allocations: 192 / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1789, allocations: 3.938 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1789, allocations: 0 / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.1791, allocations: 43.95 kB / 0.706 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1795, allocations: 212.5 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1799, allocations: 62.42 kB / 0.7062 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.18, allocations: 32.89 kB / 0.7063 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.1801, allocations: 19.98 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1801, allocations: 34.56 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1801, allocations: 0 / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004073/0.1805, allocations: 89.62 kB / 0.7064 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1806, allocations: 55.34 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.1807, allocations: 109.8 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1807, allocations: 33.7 kB / 0.7066 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.1808, allocations: 84.14 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1808, allocations: 3.953 kB / 0.7067 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1808, allocations: 17.72 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.181, allocations: 314.8 kB / 0.707 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.181, allocations: 23.92 kB / 0.707 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.1811, allocations: 23.97 kB / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1813, allocations: 49.09 kB / 0.7071 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1813, allocations: 3.938 kB / 0.7071 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002151/0.1815, allocations: 81.53 kB / 0.7072 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1815, allocations: 7.938 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1815, allocations: 4 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1816, allocations: 0 / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.1816, allocations: 15.98 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1816, allocations: 0 / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.1817, allocations: 8.25 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1817, allocations: 3.984 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001066/0.1818, allocations: 117.7 kB / 0.7073 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1818, allocations: 0 / 0.7073 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1821, allocations: 89.33 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1821, allocations: 0 / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1821, allocations: 0 / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1821, allocations: 0 / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1823, allocations: 117.2 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1823, allocations: 4 kB / 0.7075 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.1823, allocations: 11.98 kB / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1823, allocations: 0 / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1823, allocations: 0 / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1823, allocations: 0 / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1823, allocations: 0 / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1826, allocations: 183.4 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-06/0.1826, allocations: 0 / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1826, allocations: 0 / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.1827, allocations: 11.98 kB / 0.7077 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.1828, allocations: 4 kB / 0.7077 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.1828, allocations: 0 / 0.7077 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.1828, allocations: 87.27 kB / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1828, allocations: 0 / 0.7078 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002257/0.1831, allocations: 8 kB / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002262/0.1833, allocations: 99.19 kB / 0.7079 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.1835, allocations: 55.89 kB / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1835, allocations: 0 / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/0.1836, allocations: 23.97 kB / 0.708 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1839, allocations: 9.812 kB / 0.708 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.1843, allocations: 151.7 kB / 0.7081 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.199e-05/0.1844, allocations: 67.2 kB / 0.7082 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.1844, allocations: 11.44 kB / 0.7082 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1844, allocations: 0 / 0.7082 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.002563/0.187, allocations: 0.7912 MB / 0.709 GB, free: 10.74 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.640010167378932] Failed to read output from testmodel.py, exit status != 0: 0.1948816510848701 0.211269321 0.030317753000000003 Calling exit ...