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.001143/0.001143, allocations: 81.08 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001901/0.001901, allocations: 169 kB / 23.27 MB, free: 1.219 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.9978/0.9978, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7603/0.7603, allocations: 154.9 MB / 415.1 MB, free: 240 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.453e-06/1.453e-06, allocations: 1.094 kB / 0.5212 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.827e-05, allocations: 5.188 kB / 0.5212 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001554/0.001572, allocations: 0.5957 MB / 0.5218 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.001813, allocations: 47.8 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.001833, allocations: 0.9688 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.001866, allocations: 0.9844 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.001871, allocations: 1.469 kB / 0.5218 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.002149, allocations: 27.84 kB / 0.5218 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.002228, allocations: 27.97 kB / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.002261, allocations: 0 / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.002303, allocations: 21.3 kB / 0.5219 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.002331, allocations: 11.98 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.002345, allocations: 0.7812 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.002442, allocations: 19.97 kB / 0.5219 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.002468, allocations: 19.19 kB / 0.5219 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.002491, allocations: 12.36 kB / 0.522 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.002586, allocations: 31.89 kB / 0.522 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002588, allocations: 0 / 0.522 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002589, allocations: 4 kB / 0.522 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.564e-06/0.002591, allocations: 0.5625 kB / 0.522 GB, free: 0.6367 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.0002749/0.002866, allocations: 361.2 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.002902, allocations: 8.031 kB / 0.5223 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.002939, allocations: 14.67 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.188e-05/0.003001, allocations: 116.5 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.003011, allocations: 384 / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.003021, allocations: 8.375 kB / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.003112, allocations: 54.95 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.003118, allocations: 192 / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.00313, allocations: 9.5 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003135, allocations: 384 / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.003213, allocations: 86.53 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.003306, allocations: 101.3 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.003364, allocations: 57.75 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.003383, allocations: 19.69 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.003508, allocations: 31.91 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.003524, allocations: 33.39 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.003526, allocations: 3.938 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0001229/0.003648, allocations: 89.89 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.003671, allocations: 55.94 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.283e-05/0.003714, allocations: 150.2 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.003723, allocations: 31.05 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.003748, allocations: 130.9 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.003771, allocations: 23.78 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.003805, allocations: 40.31 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.003908, allocations: 0.4883 MB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.003921, allocations: 11.98 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.003933, allocations: 8.953 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.003976, allocations: 45.19 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003978, allocations: 0 / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.629e-05/0.004044, allocations: 74.61 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.004054, allocations: 6.344 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.004059, allocations: 0.9375 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004071, allocations: 0 / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.004131, allocations: 19.98 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.004134, allocations: 0.5312 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.004147, allocations: 12.7 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.004153, allocations: 11.86 kB / 0.524 GB, free: 14.39 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 6.346e-05/0.004216, allocations: 168.7 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.004223, allocations: 4.625 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.004329, allocations: 116.9 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004331, allocations: 1.812 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004332, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.004334, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.873e-05/0.004393, allocations: 105.2 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.004395, allocations: 3.984 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.004427, allocations: 21.56 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.004428, allocations: 0 / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.004432, allocations: 4 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.004434, allocations: 3.984 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004434, allocations: 1.812 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.071e-05/0.004515, allocations: 128.2 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.004523, allocations: 7.938 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.00453, allocations: 0 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-06/0.004537, allocations: 0 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.004559, allocations: 14.11 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.004563, allocations: 4 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.004588, allocations: 123.1 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004588, allocations: 0 / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001209/0.004709, allocations: 12 kB / 0.5247 GB, free: 13.63 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 9.171e-05/0.004801, allocations: 113.9 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.004871, allocations: 51.59 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.004872, allocations: 0 / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.004898, allocations: 39.59 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.068e-05/0.004979, allocations: 4 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001662/0.005145, allocations: 139.8 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.005173, allocations: 59.34 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.005197, allocations: 16 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.005233, allocations: 74.89 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of SimCode: time 3.5e-07/0.005234, allocations: 2.156 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.001831/0.007064, allocations: 0.6921 MB / 0.5259 GB, free: 12.42 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: 3.7179024354554713]