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.0008987/0.0008987, allocations: 93.06 kB / 19.65 MB, free: 280 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.001012/0.001012, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.9524/0.9524, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8448/0.8448, allocations: 154.9 MB / 414.8 MB, free: 412 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 179] 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 1.573e-06/1.573e-06, allocations: 0 / 0.5207 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.109e-05, allocations: 3.562 kB / 0.5207 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.004451/0.004472, allocations: 0.6033 MB / 0.5213 GB, free: 64 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.004707, allocations: 52.67 kB / 0.5214 GB, free: 12 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.004727, allocations: 0.5625 kB / 0.5214 GB, free: 12 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.004769, allocations: 5.438 kB / 0.5214 GB, free: 8 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.513e-06/0.004776, allocations: 0 / 0.5214 GB, free: 8 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.005075, allocations: 19.97 kB / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.005156, allocations: 32.72 kB / 0.5214 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.005187, allocations: 2.75 kB / 0.5214 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.005223, allocations: 15.98 kB / 0.5215 GB, free: 15.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.489e-05/0.005248, allocations: 12.95 kB / 0.5215 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.005263, allocations: 4 kB / 0.5215 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.00536, allocations: 23.91 kB / 0.5215 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.005385, allocations: 8.875 kB / 0.5215 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.005415, allocations: 9.953 kB / 0.5215 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.005521, allocations: 41.64 kB / 0.5216 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005524, allocations: 0.7656 kB / 0.5216 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005524, allocations: 0 / 0.5216 GB, free: 15.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005529, allocations: 1.219 kB / 0.5216 GB, free: 15.85 MB / 458.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.0003289/0.005857, allocations: 368.3 kB / 0.5219 GB, free: 15.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.005898, allocations: 8.031 kB / 0.5219 GB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.005943, allocations: 9.5 kB / 0.5219 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.853e-05/0.006012, allocations: 108.6 kB / 0.522 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.006027, allocations: 10.06 kB / 0.522 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.006039, allocations: 4.375 kB / 0.522 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.006153, allocations: 54.17 kB / 0.5221 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006162, allocations: 192 / 0.5221 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.006173, allocations: 4.375 kB / 0.5221 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.006182, allocations: 5.656 kB / 0.5221 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.006293, allocations: 87.81 kB / 0.5222 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.006426, allocations: 124.9 kB / 0.5223 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.991e-05/0.006516, allocations: 63.75 kB / 0.5224 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.006553, allocations: 31.61 kB / 0.5224 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.00672, allocations: 17.5 kB / 0.5224 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.006742, allocations: 37.39 kB / 0.5224 GB, free: 14.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.006743, allocations: 3.938 kB / 0.5224 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001934/0.006937, allocations: 93.34 kB / 0.5225 GB, free: 14.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.007024, allocations: 55.39 kB / 0.5226 GB, free: 14.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.007074, allocations: 150.8 kB / 0.5227 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007087, allocations: 30.83 kB / 0.5228 GB, free: 14.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.007119, allocations: 130.8 kB / 0.5229 GB, free: 14.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.007149, allocations: 23.8 kB / 0.5229 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00306/0.01021, allocations: 40.11 kB / 0.5229 GB, free: 14.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01033, allocations: 0.4923 MB / 0.5234 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.01036, allocations: 12.62 kB / 0.5234 GB, free: 13.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.01038, allocations: 15.92 kB / 0.5235 GB, free: 13.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.01045, allocations: 43 kB / 0.5235 GB, free: 13.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01045, allocations: 0 / 0.5235 GB, free: 13.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001109/0.01056, allocations: 77.28 kB / 0.5236 GB, free: 13.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.01058, allocations: 8 kB / 0.5236 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01058, allocations: 3.938 kB / 0.5236 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.0106, allocations: 0 / 0.5236 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.01068, allocations: 27.92 kB / 0.5236 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01069, allocations: 0 / 0.5236 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.01071, allocations: 11.89 kB / 0.5236 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01071, allocations: 4.781 kB / 0.5236 GB, free: 13.54 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 8.047e-05/0.0108, allocations: 168.1 kB / 0.5238 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.01081, allocations: 4.938 kB / 0.5238 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01096, allocations: 113.5 kB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01096, allocations: 5.594 kB / 0.5239 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.01097, allocations: 0 / 0.5239 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01097, allocations: 3.938 kB / 0.5239 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.018e-05/0.01105, allocations: 128.6 kB / 0.524 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.01105, allocations: 0.9688 kB / 0.524 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.01111, allocations: 19.98 kB / 0.5241 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01111, allocations: 0 / 0.5241 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01112, allocations: 2 kB / 0.5241 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.01112, allocations: 7.938 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01112, allocations: 0 / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.01124, allocations: 128.2 kB / 0.5242 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.01124, allocations: 4 kB / 0.5242 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.01125, allocations: 0.6875 kB / 0.5242 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.01126, allocations: 0 / 0.5242 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.01129, allocations: 16.58 kB / 0.5242 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.01129, allocations: 4 kB / 0.5242 GB, free: 12.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.01144, allocations: 119.8 kB / 0.5243 GB, free: 12.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01144, allocations: 0.6562 kB / 0.5243 GB, free: 12.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.01157, allocations: 23.92 kB / 0.5243 GB, free: 12.74 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.0001095/0.01168, allocations: 100.9 kB / 0.5244 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.01177, allocations: 63.53 kB / 0.5245 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01178, allocations: 2.75 kB / 0.5245 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.01181, allocations: 31.67 kB / 0.5245 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.209e-05/0.0119, allocations: 15.92 kB / 0.5245 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.01212, allocations: 141.1 kB / 0.5247 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.01215, allocations: 63.22 kB / 0.5247 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.0122, allocations: 33.95 kB / 0.5248 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.01223, allocations: 20.5 kB / 0.5248 GB, free: 12.22 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01223, allocations: 0 / 0.5248 GB, free: 12.22 MB / 458.7 MB Notification: Performance of Templates: time 0.002216/0.01444, allocations: 0.6479 MB / 0.5254 GB, free: 11.61 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8118237876333296]