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.001744/0.001744, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001615/0.001615, allocations: 220 kB / 22.24 MB, free: 5.109 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.801 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.942/0.942, allocations: 134 MB / 446.4 MB, free: 9.934 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.002033/0.002033, allocations: 71.48 kB / 0.619 GB, free: 6.336 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2059, allocations: 85.9 MB / 0.7029 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001779/0.2077, allocations: 0.5836 MB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.208, allocations: 56.2 kB / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.208, allocations: 4 kB / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.208, allocations: 0 / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.208, allocations: 0 / 0.7035 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2083, allocations: 15.98 kB / 0.7035 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.2084, allocations: 27.97 kB / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.2084, allocations: 0 / 0.7036 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2085, allocations: 19.92 kB / 0.7036 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.2085, allocations: 15.86 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2085, allocations: 4 kB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.2086, allocations: 23.97 kB / 0.7036 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.2086, allocations: 8 kB / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.2087, allocations: 23.92 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2088, allocations: 39.81 kB / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2088, allocations: 0 / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2088, allocations: 0 / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2088, allocations: 0 / 0.7037 GB, free: 15.69 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.0003363/0.2091, allocations: 262.3 kB / 0.7039 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2092, allocations: 12.03 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.2092, allocations: 0.9375 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.501e-05/0.2093, allocations: 106.5 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2093, allocations: 4.375 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2093, allocations: 8.375 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2095, allocations: 73.88 kB / 0.7041 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2095, allocations: 4.125 kB / 0.7041 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2095, allocations: 7.938 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2095, allocations: 0 / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2096, allocations: 95.86 kB / 0.7042 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.2098, allocations: 121.2 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2099, allocations: 66.53 kB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.21, allocations: 28.84 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2101, allocations: 19.98 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2102, allocations: 34.5 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.2102, allocations: 4 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002522/0.2104, allocations: 113.9 kB / 0.7046 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.2105, allocations: 55.41 kB / 0.7047 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.079e-05/0.2105, allocations: 101.8 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2106, allocations: 25.7 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.2106, allocations: 84.14 kB / 0.7049 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2106, allocations: 15.86 kB / 0.7049 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.2107, allocations: 33.7 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2109, allocations: 318.8 kB / 0.7052 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.2109, allocations: 19.98 kB / 0.7052 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.2109, allocations: 19.98 kB / 0.7053 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.211, allocations: 68.7 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.211, allocations: 0 / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001436/0.2112, allocations: 96.02 kB / 0.7054 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2112, allocations: 4 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2112, allocations: 0 / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2112, allocations: 3.938 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2113, allocations: 19.98 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2113, allocations: 0 / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.2113, allocations: 11.89 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.2113, allocations: 3.938 kB / 0.7055 GB, free: 13.71 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.0001312/0.2115, allocations: 129.8 kB / 0.7056 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2115, allocations: 7.984 kB / 0.7056 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.2117, allocations: 121.4 kB / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2117, allocations: 0 / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2117, allocations: 4 kB / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2117, allocations: 3.984 kB / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2118, allocations: 121.2 kB / 0.7058 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2118, allocations: 0 / 0.7058 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.2119, allocations: 19.92 kB / 0.7058 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2119, allocations: 8 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2119, allocations: 4 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2119, allocations: 3.938 kB / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2119, allocations: 0 / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.2121, allocations: 121 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.2121, allocations: 3.953 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2121, allocations: 7.938 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.2121, allocations: 4 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2122, allocations: 11.97 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2122, allocations: 4 kB / 0.706 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.2123, allocations: 79.22 kB / 0.7061 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2123, allocations: 4 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000205/0.2125, allocations: 16 kB / 0.7061 GB, free: 12.99 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.0001842/0.2126, allocations: 103.2 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.2128, allocations: 61.75 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2128, allocations: 0 / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.2129, allocations: 31.92 kB / 0.7063 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.213, allocations: 8 kB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2133, allocations: 144.9 kB / 0.7064 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.395e-05/0.2134, allocations: 67.2 kB / 0.7065 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.536e-05/0.2135, allocations: 35.95 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2135, allocations: 19.44 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2135, allocations: 3.938 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.003227/0.2168, allocations: 0.5665 MB / 0.7071 GB, free: 11.91 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: 5.9097696747630835] Failed to read output from testmodel.py, exit status != 0: 0.22384478338062763 0.23960003400000002 0.027622029000000003 Calling exit ...