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.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.001677/0.001677, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002135/0.002135, allocations: 218.3 kB / 23.01 MB, free: 4.609 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.8358/0.8358, allocations: 134 MB / 447.2 MB, free: 10.25 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.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.002045/0.002045, allocations: 66.58 kB / 0.6198 GB, free: 6.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1758, allocations: 85.91 MB / 0.7037 GB, free: 0.8945 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001715/0.1775, allocations: 0.5797 MB / 0.7043 GB, free: 324 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.1777, allocations: 60.14 kB / 0.7043 GB, free: 264 kB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.1778, allocations: 4 kB / 0.7043 GB, free: 260 kB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.1778, allocations: 3.984 kB / 0.7043 GB, free: 256 kB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.1778, allocations: 3.938 kB / 0.7043 GB, free: 252 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1781, allocations: 15.97 kB / 0.7044 GB, free: 236 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.1782, allocations: 27.98 kB / 0.7044 GB, free: 208 kB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.1782, allocations: 0 / 0.7044 GB, free: 208 kB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.1782, allocations: 19.97 kB / 0.7044 GB, free: 188 kB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.1782, allocations: 4 kB / 0.7044 GB, free: 184 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1783, allocations: 4 kB / 0.7044 GB, free: 180 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.1784, allocations: 31.95 kB / 0.7044 GB, free: 148 kB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.1784, allocations: 7.938 kB / 0.7044 GB, free: 140 kB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1784, allocations: 23.94 kB / 0.7045 GB, free: 116 kB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1785, allocations: 35.83 kB / 0.7045 GB, free: 80 kB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1785, allocations: 3.984 kB / 0.7045 GB, free: 76 kB / 0.5138 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1785, allocations: 0 / 0.7045 GB, free: 76 kB / 0.5138 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1785, allocations: 3.938 kB / 0.7045 GB, free: 72 kB / 0.5138 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.0003449/0.1789, allocations: 262.5 kB / 0.7048 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1789, allocations: 12.03 kB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1789, allocations: 0.9375 kB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.179, allocations: 106.5 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.179, allocations: 4.375 kB / 0.7049 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1791, allocations: 8.375 kB / 0.7049 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1792, allocations: 62.22 kB / 0.7049 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1792, allocations: 192 / 0.7049 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1792, allocations: 3.938 kB / 0.7049 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1792, allocations: 4 kB / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1794, allocations: 107.7 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1796, allocations: 148.6 kB / 0.7052 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1797, allocations: 70.38 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1797, allocations: 28.84 kB / 0.7053 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.1799, allocations: 27.95 kB / 0.7053 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1799, allocations: 30.56 kB / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1799, allocations: 3.938 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002501/0.1802, allocations: 117.8 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1802, allocations: 55.41 kB / 0.7055 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.1803, allocations: 97.81 kB / 0.7056 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1803, allocations: 29.7 kB / 0.7056 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.1803, allocations: 84.14 kB / 0.7057 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1804, allocations: 19.84 kB / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1804, allocations: 33.7 kB / 0.7058 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1806, allocations: 314.8 kB / 0.7061 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.1806, allocations: 19.98 kB / 0.7061 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.1806, allocations: 23.98 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.1807, allocations: 56.83 kB / 0.7062 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1807, allocations: 4 kB / 0.7062 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001511/0.1809, allocations: 97.55 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1809, allocations: 4 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1809, allocations: 3.938 kB / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1809, allocations: 0 / 0.7063 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.181, allocations: 19.98 kB / 0.7063 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.181, allocations: 0 / 0.7063 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.1811, allocations: 11.89 kB / 0.7063 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1811, allocations: 4 kB / 0.7063 GB, free: 14.04 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: 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.0001435/0.1812, allocations: 129.8 kB / 0.7064 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1812, allocations: 4 kB / 0.7064 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1814, allocations: 124.4 kB / 0.7066 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1814, allocations: 4 kB / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1815, allocations: 0 / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1815, allocations: 0 / 0.7066 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.1816, allocations: 148.7 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1816, allocations: 0 / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.1817, allocations: 23.92 kB / 0.7067 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.1817, allocations: 7.938 kB / 0.7067 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1817, allocations: 4 kB / 0.7067 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1817, allocations: 0 / 0.7067 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1817, allocations: 0 / 0.7067 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1819, allocations: 117 kB / 0.7068 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.1819, allocations: 19.83 kB / 0.7069 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1819, allocations: 0 / 0.7069 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.1819, allocations: 0 / 0.7069 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.182, allocations: 15.98 kB / 0.7069 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.182, allocations: 4 kB / 0.7069 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.182, allocations: 75.28 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.182, allocations: 0 / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002079/0.1822, allocations: 15.94 kB / 0.707 GB, free: 13.29 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: 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.000193/0.1824, allocations: 118.5 kB / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.1826, allocations: 51.97 kB / 0.7071 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1826, allocations: 4 kB / 0.7071 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.1826, allocations: 43.91 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1828, allocations: 0 / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.1831, allocations: 174.5 kB / 0.7073 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1834, allocations: 0.6844 MB / 0.708 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1834, allocations: 15.44 kB / 0.708 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.1834, allocations: 0 / 0.708 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.002555/0.186, allocations: 0.9539 MB / 0.709 GB, free: 11.19 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.853192300070077] Failed to read output from testmodel.py, exit status != 0: 0.19325385498814285 0.210439499 0.028322513 Calling exit ...