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.001292/0.001292, allocations: 78.25 kB / 19.75 MB, free: 2.055 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.001401/0.001401, allocations: 155.7 kB / 23 MB, free: 4.949 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.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.8042/0.8042, allocations: 101.3 MB / 361.1 MB, free: 10.04 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.003286/0.003286, allocations: 63.97 kB / 0.5357 GB, free: 5.48 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1901, allocations: 85.88 MB / 0.6195 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001895/0.192, allocations: 0.5903 MB / 0.6201 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003039/0.1923, allocations: 52.22 kB / 0.6201 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1923, allocations: 4 kB / 0.6201 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1923, allocations: 0 / 0.6201 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-06/0.1923, allocations: 0 / 0.6201 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1927, allocations: 19.97 kB / 0.6202 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.038e-05/0.1928, allocations: 27.97 kB / 0.6202 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.1928, allocations: 8 kB / 0.6202 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.1929, allocations: 15.98 kB / 0.6202 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.1929, allocations: 11.97 kB / 0.6202 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1929, allocations: 3.938 kB / 0.6202 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.193, allocations: 19.98 kB / 0.6203 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.1931, allocations: 19.92 kB / 0.6203 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.1931, allocations: 19.92 kB / 0.6203 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1932, allocations: 31.83 kB / 0.6203 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1932, allocations: 4 kB / 0.6203 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1932, allocations: 0 / 0.6203 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.1932, allocations: 0 / 0.6203 GB, free: 0.9922 MB / 0.5137 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.0003947/0.1936, allocations: 262.3 kB / 0.6206 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1937, allocations: 8.031 kB / 0.6206 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1937, allocations: 4.938 kB / 0.6206 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1938, allocations: 106.5 kB / 0.6207 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1938, allocations: 12.38 kB / 0.6207 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1938, allocations: 8.375 kB / 0.6207 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.194, allocations: 58.23 kB / 0.6208 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.194, allocations: 4.125 kB / 0.6208 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.194, allocations: 3.938 kB / 0.6208 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.194, allocations: 4 kB / 0.6208 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1942, allocations: 95.86 kB / 0.6209 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1944, allocations: 125.2 kB / 0.621 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1945, allocations: 69.22 kB / 0.6211 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.482e-05/0.1946, allocations: 32.83 kB / 0.6211 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.1948, allocations: 19.98 kB / 0.6211 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1948, allocations: 38.5 kB / 0.6211 GB, free: 48 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.1948, allocations: 0 / 0.6211 GB, free: 48 kB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0003124/0.1951, allocations: 109.9 kB / 0.6212 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1952, allocations: 59.34 kB / 0.6213 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.1952, allocations: 101.8 kB / 0.6214 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1953, allocations: 25.7 kB / 0.6214 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.1953, allocations: 84.14 kB / 0.6215 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1953, allocations: 23.78 kB / 0.6215 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1954, allocations: 33.7 kB / 0.6216 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1955, allocations: 314.8 kB / 0.6219 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.1956, allocations: 19.98 kB / 0.6219 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.1956, allocations: 23.98 kB / 0.6219 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1957, allocations: 63.39 kB / 0.622 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1957, allocations: 0 / 0.622 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001455/0.1959, allocations: 93.61 kB / 0.622 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1959, allocations: 8 kB / 0.6221 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1959, allocations: 0 / 0.6221 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1959, allocations: 7.922 kB / 0.6221 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.196, allocations: 16 kB / 0.6221 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.196, allocations: 0 / 0.6221 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.196, allocations: 7.891 kB / 0.6221 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1961, allocations: 11.98 kB / 0.6221 GB, free: 15 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.000145/0.1962, allocations: 125.8 kB / 0.6222 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1962, allocations: 0 / 0.6222 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.1965, allocations: 129.5 kB / 0.6223 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1965, allocations: 0 / 0.6223 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1965, allocations: 0 / 0.6223 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1965, allocations: 0 / 0.6223 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1966, allocations: 117.3 kB / 0.6225 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1966, allocations: 0 / 0.6225 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1967, allocations: 23.94 kB / 0.6225 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1967, allocations: 4 kB / 0.6225 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1967, allocations: 7.984 kB / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.1967, allocations: 3.938 kB / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1967, allocations: 0 / 0.6225 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1969, allocations: 113.1 kB / 0.6226 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.1969, allocations: 11.83 kB / 0.6226 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1969, allocations: 11.92 kB / 0.6226 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.1969, allocations: 4 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.1969, allocations: 11.92 kB / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1969, allocations: 0 / 0.6226 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.197, allocations: 83.22 kB / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.197, allocations: 0 / 0.6227 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001986/0.1972, allocations: 16 kB / 0.6227 GB, free: 14.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.000157/0.1973, allocations: 107.2 kB / 0.6228 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1975, allocations: 59.58 kB / 0.6229 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1975, allocations: 0 / 0.6229 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.1976, allocations: 31.92 kB / 0.6229 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.1977, allocations: 8 kB / 0.6229 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.198, allocations: 148.7 kB / 0.6231 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.1981, allocations: 74.94 kB / 0.6231 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.3e-05/0.1982, allocations: 39.95 kB / 0.6232 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.1982, allocations: 16.5 kB / 0.6232 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1982, allocations: 0 / 0.6232 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.003096/0.2013, allocations: 0.5678 MB / 0.6238 GB, free: 13.2 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.33894667821005] Failed to read output from testmodel.py, exit status != 0: 0.21061439998447895 0.22471595599999994 0.028455010000000003 Calling exit ...