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.001276/0.001276, 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.001427/0.001427, allocations: 222.9 kB / 23 MB, free: 4.91 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.8205/0.8205, 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.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.002062/0.002062, allocations: 73.25 kB / 0.6197 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.165, allocations: 85.92 MB / 0.7036 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001851/0.1669, allocations: 0.575 MB / 0.7042 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.1671, allocations: 60.11 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1672, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1672, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.1672, allocations: 0 / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1675, allocations: 19.92 kB / 0.7043 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.1676, allocations: 31.97 kB / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1676, allocations: 7.984 kB / 0.7043 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1676, allocations: 11.94 kB / 0.7043 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.1677, allocations: 15.97 kB / 0.7043 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1677, allocations: 0 / 0.7043 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.1678, allocations: 23.98 kB / 0.7044 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.1678, allocations: 7.984 kB / 0.7044 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.1678, allocations: 19.92 kB / 0.7044 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.168, allocations: 35.83 kB / 0.7044 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.168, allocations: 3.938 kB / 0.7044 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.168, allocations: 4 kB / 0.7044 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.168, allocations: 4 kB / 0.7044 GB, free: 15.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003559/0.1683, allocations: 258.3 kB / 0.7047 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1684, allocations: 8.031 kB / 0.7047 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1684, allocations: 4.938 kB / 0.7047 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1685, allocations: 114.5 kB / 0.7048 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1685, allocations: 4.375 kB / 0.7048 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1685, allocations: 4.375 kB / 0.7048 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1687, allocations: 62.17 kB / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1687, allocations: 192 / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1687, allocations: 7.938 kB / 0.7049 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1687, allocations: 4 kB / 0.7049 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1688, allocations: 99.86 kB / 0.705 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.169, allocations: 117.2 kB / 0.7051 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1691, allocations: 74.47 kB / 0.7052 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1692, allocations: 24.84 kB / 0.7052 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.1694, allocations: 19.98 kB / 0.7052 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.1694, allocations: 30.56 kB / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1694, allocations: 0 / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002566/0.1697, allocations: 121.8 kB / 0.7054 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1697, allocations: 51.41 kB / 0.7054 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.1698, allocations: 101.8 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1698, allocations: 33.7 kB / 0.7055 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.1698, allocations: 80.14 kB / 0.7056 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1699, allocations: 19.86 kB / 0.7056 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1699, allocations: 33.7 kB / 0.7057 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1701, allocations: 310.8 kB / 0.706 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.1701, allocations: 19.98 kB / 0.706 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.1701, allocations: 19.98 kB / 0.706 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1702, allocations: 68.27 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1702, allocations: 4 kB / 0.7061 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001456/0.1704, allocations: 89.61 kB / 0.7061 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1704, allocations: 8 kB / 0.7062 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1704, allocations: 7.984 kB / 0.7062 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1704, allocations: 3.938 kB / 0.7062 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.1705, allocations: 19.98 kB / 0.7062 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1705, allocations: 0 / 0.7062 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.1706, allocations: 11.89 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1706, allocations: 7.938 kB / 0.7062 GB, free: 13.73 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.0001549/0.1707, allocations: 121.8 kB / 0.7063 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1707, allocations: 3.938 kB / 0.7063 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1709, allocations: 129.4 kB / 0.7064 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.171, allocations: 3.984 kB / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.171, allocations: 0 / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.171, allocations: 0 / 0.7065 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1711, allocations: 125.2 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1711, allocations: 3.984 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.1712, allocations: 16 kB / 0.7066 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1712, allocations: 0 / 0.7066 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1712, allocations: 7.984 kB / 0.7066 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1712, allocations: 3.938 kB / 0.7066 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1712, allocations: 0 / 0.7066 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1713, allocations: 125 kB / 0.7067 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.1714, allocations: 7.953 kB / 0.7067 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1714, allocations: 7.922 kB / 0.7067 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.1714, allocations: 7.984 kB / 0.7067 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1714, allocations: 7.984 kB / 0.7068 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1714, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.1715, allocations: 75.28 kB / 0.7068 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1715, allocations: 0 / 0.7068 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001946/0.1717, allocations: 12 kB / 0.7068 GB, free: 13.01 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.0001739/0.1718, allocations: 111.2 kB / 0.7069 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.172, allocations: 67.12 kB / 0.707 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.172, allocations: 0 / 0.707 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.172, allocations: 31.92 kB / 0.707 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1722, allocations: 8 kB / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.1725, allocations: 166.6 kB / 0.7072 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.1726, allocations: 71.2 kB / 0.7073 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1726, allocations: 19.42 kB / 0.7073 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1726, allocations: 4 kB / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.002541/0.1751, allocations: 0.948 MB / 0.7082 GB, free: 11.54 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.601020777132362] Failed to read output from testmodel.py, exit status != 0: 0.18276721332222223 0.198343772 0.027387088 Calling exit ...