Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001413/0.001413, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001544/0.001544, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.254/1.254, allocations: 154.8 MB / 414.3 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.5199 GB, free: 1.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.546e-05, allocations: 2.312 kB / 0.5199 GB, free: 1.137 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002659/0.002695, allocations: 0.5897 MB / 0.5205 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.003113, allocations: 52.42 kB / 0.5205 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.003138, allocations: 0 / 0.5205 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.0032, allocations: 2.203 kB / 0.5205 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-06/0.003208, allocations: 0 / 0.5205 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.00359, allocations: 23.91 kB / 0.5206 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.003709, allocations: 29.75 kB / 0.5206 GB, free: 480 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.003755, allocations: 7.984 kB / 0.5206 GB, free: 472 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.003811, allocations: 8.656 kB / 0.5206 GB, free: 464 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.00386, allocations: 15.97 kB / 0.5206 GB, free: 448 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003885, allocations: 4 kB / 0.5206 GB, free: 444 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.004012, allocations: 14.89 kB / 0.5206 GB, free: 432 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.004082, allocations: 20.62 kB / 0.5207 GB, free: 412 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.004124, allocations: 5.969 kB / 0.5207 GB, free: 408 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004292, allocations: 44.56 kB / 0.5207 GB, free: 364 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004295, allocations: 0 / 0.5207 GB, free: 364 kB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004295, allocations: 1.656 kB / 0.5207 GB, free: 364 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.004299, allocations: 1.094 kB / 0.5207 GB, free: 364 kB / 442.7 MB 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.000533/0.004832, allocations: 266.3 kB / 0.521 GB, free: 64 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.00489, allocations: 8.031 kB / 0.521 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.004965, allocations: 5.688 kB / 0.521 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.005151, allocations: 109.8 kB / 0.5211 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.005169, allocations: 1.781 kB / 0.5211 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.005189, allocations: 4.375 kB / 0.5211 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.005421, allocations: 69.88 kB / 0.5211 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005431, allocations: 4.125 kB / 0.5212 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.005449, allocations: 9.719 kB / 0.5212 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005454, allocations: 384 / 0.5212 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.005713, allocations: 99.8 kB / 0.5213 GB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.005981, allocations: 117.2 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.006211, allocations: 75.59 kB / 0.5214 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.006304, allocations: 24.84 kB / 0.5215 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.006561, allocations: 22.77 kB / 0.5215 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.00662, allocations: 38.5 kB / 0.5215 GB, free: 15.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.006622, allocations: 0 / 0.5215 GB, free: 15.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004647/0.007087, allocations: 113.9 kB / 0.5216 GB, free: 15.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.007155, allocations: 55.41 kB / 0.5217 GB, free: 15.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.00726, allocations: 97.81 kB / 0.5218 GB, free: 15.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.007294, allocations: 29.69 kB / 0.5218 GB, free: 15.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.007367, allocations: 84.08 kB / 0.5219 GB, free: 15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.007422, allocations: 24.36 kB / 0.5219 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.007514, allocations: 34.27 kB / 0.5219 GB, free: 14.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.007774, allocations: 310.8 kB / 0.5222 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.007856, allocations: 20.95 kB / 0.5223 GB, free: 14.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.007935, allocations: 23.98 kB / 0.5223 GB, free: 14.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.008144, allocations: 69.39 kB / 0.5223 GB, free: 14.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008146, allocations: 4 kB / 0.5224 GB, free: 14.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002856/0.008432, allocations: 89.67 kB / 0.5224 GB, free: 14.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.008451, allocations: 4 kB / 0.5224 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.008457, allocations: 0.9375 kB / 0.5224 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.008478, allocations: 0 / 0.5224 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.00866, allocations: 19.98 kB / 0.5225 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.008673, allocations: 5.344 kB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.008719, allocations: 11.89 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.008736, allocations: 4 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB 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.0002413/0.008977, allocations: 123 kB / 0.5226 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.009016, allocations: 11.94 kB / 0.5226 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.009425, allocations: 118.2 kB / 0.5227 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.009433, allocations: 5.266 kB / 0.5227 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.009438, allocations: 0 / 0.5227 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.00945, allocations: 7.922 kB / 0.5227 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.009663, allocations: 121.2 kB / 0.5229 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.00967, allocations: 5.344 kB / 0.5229 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.009812, allocations: 19.92 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009815, allocations: 0 / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.009826, allocations: 4 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.009829, allocations: 3.094 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.00983, allocations: 0 / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.01017, allocations: 128.9 kB / 0.523 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01019, allocations: 8 kB / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.01021, allocations: 0 / 0.523 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.74e-05/0.01024, allocations: 4 kB / 0.523 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.0103, allocations: 11.92 kB / 0.523 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.01032, allocations: 15.92 kB / 0.523 GB, free: 13.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.832e-05/0.01039, allocations: 78.06 kB / 0.5231 GB, free: 13.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01039, allocations: 0 / 0.5231 GB, free: 13.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.01078, allocations: 12 kB / 0.5231 GB, free: 13.66 MB / 458.7 MB 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.0002765/0.01105, allocations: 107.2 kB / 0.5232 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.01131, allocations: 63.89 kB / 0.5233 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01131, allocations: 1.312 kB / 0.5233 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.01143, allocations: 34.88 kB / 0.5233 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01168, allocations: 8 kB / 0.5233 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.01218, allocations: 146.2 kB / 0.5235 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.01231, allocations: 71.2 kB / 0.5235 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.01283, allocations: 38.39 kB / 0.5236 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01288, allocations: 16.44 kB / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01288, allocations: 0 / 0.5236 GB, free: 13.14 MB / 458.7 MB Notification: Performance of Templates: time 0.005219/0.01809, allocations: 0.5926 MB / 0.5242 GB, free: 12.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.826973426970653]