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.001741/0.001741, allocations: 85.48 kB / 19.44 MB, free: 340 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.001916/0.001916, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.351/1.351, allocations: 154.8 MB / 414.4 MB, free: 456 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 1.483e-06/1.483e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.928e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001674/0.001703, allocations: 0.5966 MB / 0.5205 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.00197, allocations: 55.8 kB / 0.5205 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.00199, allocations: 1.312 kB / 0.5205 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.002033, allocations: 0 / 0.5205 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.002038, allocations: 1.094 kB / 0.5205 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.002307, allocations: 19.91 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.002392, allocations: 37.2 kB / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.00242, allocations: 0 / 0.5206 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.002461, allocations: 11.98 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.002491, allocations: 13.25 kB / 0.5206 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.002508, allocations: 5.031 kB / 0.5206 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.002605, allocations: 23.91 kB / 0.5207 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.002634, allocations: 11.92 kB / 0.5207 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.002658, allocations: 5.125 kB / 0.5207 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.002786, allocations: 43.92 kB / 0.5207 GB, free: 1.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002788, allocations: 3.938 kB / 0.5207 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002789, allocations: 0.5938 kB / 0.5207 GB, free: 1.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.002793, allocations: 0 / 0.5207 GB, free: 1.422 MB / 490.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.0004126/0.003205, allocations: 362 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.003239, allocations: 8.031 kB / 0.5211 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.003291, allocations: 12.89 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.003399, allocations: 116.5 kB / 0.5212 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.003415, allocations: 6.188 kB / 0.5212 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.00343, allocations: 8.375 kB / 0.5212 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.003562, allocations: 50.23 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.00357, allocations: 192 / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.003581, allocations: 4.375 kB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.003587, allocations: 10.08 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.003756, allocations: 91.31 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.003931, allocations: 124.6 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.00406, allocations: 67.03 kB / 0.5215 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.004226, allocations: 28.42 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.004389, allocations: 19.98 kB / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.00443, allocations: 38.8 kB / 0.5216 GB, free: 384 kB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.004431, allocations: 4 kB / 0.5216 GB, free: 380 kB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002602/0.004691, allocations: 93.61 kB / 0.5217 GB, free: 280 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.004737, allocations: 55.41 kB / 0.5218 GB, free: 212 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.004834, allocations: 155.5 kB / 0.5219 GB, free: 44 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.004855, allocations: 25.92 kB / 0.5219 GB, free: 12 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.00494, allocations: 130.8 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.004979, allocations: 33.14 kB / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.005047, allocations: 43.36 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.005298, allocations: 492.1 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.005335, allocations: 15.98 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.005366, allocations: 18.58 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.733e-05/0.005454, allocations: 39.69 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005456, allocations: 0 / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001615/0.005617, allocations: 92.39 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.005631, allocations: 4 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005636, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.005651, allocations: 4 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.005751, allocations: 16.55 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.005758, allocations: 4 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.005784, allocations: 12.39 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.005793, allocations: 4.969 kB / 0.5228 GB, free: 15.09 MB / 0.4948 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.000127/0.00592, allocations: 162.1 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.005935, allocations: 4 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.006165, allocations: 121.4 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.006169, allocations: 4.938 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.006172, allocations: 0 / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.006178, allocations: 7.875 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.006307, allocations: 127.9 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006308, allocations: 0 / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.006377, allocations: 16 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006379, allocations: 0 / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.006389, allocations: 3.984 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.006393, allocations: 4 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006393, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.006593, allocations: 132.2 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.006598, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.006613, allocations: 6.906 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.006633, allocations: 8 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.006674, allocations: 11.92 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.006679, allocations: 0 / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.552e-05/0.006744, allocations: 123.2 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006744, allocations: 3.938 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002064/0.006951, allocations: 15.94 kB / 0.5235 GB, free: 14.29 MB / 0.4948 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.000182/0.007133, allocations: 112.7 kB / 0.5236 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.007278, allocations: 55.59 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007279, allocations: 0.5 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.007341, allocations: 45.03 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.007495, allocations: 9.875 kB / 0.5237 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.007808, allocations: 146.2 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.182e-05/0.007879, allocations: 63.34 kB / 0.5239 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.955e-05/0.007959, allocations: 38.25 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.007993, allocations: 20.5 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.007993, allocations: 0 / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.003401/0.01139, allocations: 0.5963 MB / 0.5246 GB, free: 13.18 MB / 0.4948 GB " [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: 6.0984605309786275]