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.001426/0.001426, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001803/0.001803, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.777 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.9428/0.9428, allocations: 134 MB / 446.4 MB, free: 9.922 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.00212/0.00212, allocations: 67.36 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1905, allocations: 85.9 MB / 0.7029 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003012/0.1936, allocations: 1.553 MB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003951/0.194, allocations: 136.5 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.194, allocations: 0 / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.194, allocations: 3.938 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.1941, allocations: 3.938 kB / 0.7045 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1944, allocations: 43.89 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1945, allocations: 23.98 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.1946, allocations: 15.98 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.1946, allocations: 11.94 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.1947, allocations: 15.92 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1947, allocations: 11.92 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1948, allocations: 27.97 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1948, allocations: 7.938 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.1948, allocations: 15.92 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1949, allocations: 47.81 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1949, allocations: 0 / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.195, allocations: 0 / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.195, allocations: 0 / 0.7047 GB, free: 14.61 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.0004859/0.1954, allocations: 278.2 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1955, allocations: 12.03 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1955, allocations: 0.9375 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1956, allocations: 118.5 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1956, allocations: 4.375 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1957, allocations: 4.375 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1959, allocations: 66.16 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1959, allocations: 192 / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.1959, allocations: 3.938 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1959, allocations: 4 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1961, allocations: 43.95 kB / 0.7052 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1965, allocations: 224.4 kB / 0.7055 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.1968, allocations: 66.42 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1969, allocations: 24.83 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.197, allocations: 19.98 kB / 0.7056 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1971, allocations: 34.56 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.1971, allocations: 3.984 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.1974, allocations: 93.62 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1975, allocations: 55.41 kB / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.1976, allocations: 105.8 kB / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1976, allocations: 25.7 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.1977, allocations: 92.12 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1977, allocations: 3.953 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.1977, allocations: 17.72 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1979, allocations: 318.8 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.198, allocations: 15.98 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.1981, allocations: 23.98 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1982, allocations: 48.81 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1982, allocations: 3.938 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002105/0.1984, allocations: 69.61 kB / 0.7064 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1985, allocations: 11.98 kB / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1985, allocations: 3.938 kB / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1985, allocations: 0 / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.1986, allocations: 15.98 kB / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1986, allocations: 0 / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.1986, allocations: 8 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1986, allocations: 0 / 0.7065 GB, free: 12.65 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 9.374e-05/0.1987, allocations: 121.7 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1987, allocations: 0 / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.199, allocations: 85.33 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.199, allocations: 4 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.199, allocations: 3.938 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.199, allocations: 0 / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1992, allocations: 113.2 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1992, allocations: 256 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.1993, allocations: 19.92 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1993, allocations: 0 / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1993, allocations: 0 / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1993, allocations: 4 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1993, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1996, allocations: 179.4 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.1996, allocations: 4 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1996, allocations: 4.422 kB / 0.707 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.1997, allocations: 3.938 kB / 0.707 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.1997, allocations: 7.984 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1997, allocations: 0 / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.1998, allocations: 87.27 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1998, allocations: 0 / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002292/0.2, allocations: 12 kB / 0.7071 GB, free: 11.95 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.0001545/0.2002, allocations: 107.2 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2004, allocations: 43.95 kB / 0.7072 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2004, allocations: 0 / 0.7072 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.2005, allocations: 27.97 kB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2008, allocations: 6.281 kB / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.2011, allocations: 117.7 kB / 0.7074 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.647e-05/0.2011, allocations: 75.14 kB / 0.7074 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.2012, allocations: 7.984 kB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2012, allocations: 7.438 kB / 0.7075 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.2012, allocations: 0 / 0.7075 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.003178/0.2044, allocations: 0.7741 MB / 0.7082 GB, free: 10.75 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: 5.976215288043022] Failed to read output from testmodel.py, exit status != 0: 0.2117200866341591 0.22752007599999996 0.029533554000000004 Calling exit ...