Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001385/0.001385, allocations: 92.22 kB / 19.65 MB, free: 276 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.001034/0.001034, allocations: 173 kB / 23.02 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.9783/0.9783, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7922/0.7922, allocations: 154.9 MB / 414.8 MB, free: 392 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5207 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.984e-05/5.19e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003825/0.003877, allocations: 1.601 MB / 0.5222 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.00438, allocations: 136.4 kB / 0.5224 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.004424, allocations: 0 / 0.5224 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.229e-05/0.004466, allocations: 8.703 kB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.004521, allocations: 1.422 kB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.004871, allocations: 32.62 kB / 0.5224 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.004953, allocations: 44.83 kB / 0.5225 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.005045, allocations: 10.95 kB / 0.5225 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.005087, allocations: 19.98 kB / 0.5225 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.005129, allocations: 15.97 kB / 0.5225 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.005146, allocations: 4 kB / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.005238, allocations: 19.98 kB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.005252, allocations: 11.92 kB / 0.5225 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.005276, allocations: 7.984 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.005414, allocations: 47.77 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.005419, allocations: 0.5 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005421, allocations: 0.75 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.005427, allocations: 0 / 0.5226 GB, free: 14.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004/0.005827, allocations: 373.4 kB / 0.523 GB, free: 14.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.005868, allocations: 8.031 kB / 0.523 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.005948, allocations: 5.906 kB / 0.523 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.006064, allocations: 120.5 kB / 0.5231 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.006092, allocations: 5.344 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.006105, allocations: 4.375 kB / 0.5231 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.006283, allocations: 63.47 kB / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.006292, allocations: 192 / 0.5231 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006303, allocations: 1.344 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.006312, allocations: 4.375 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.006363, allocations: 29.59 kB / 0.5232 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.006731, allocations: 263.8 kB / 0.5234 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.006941, allocations: 46.98 kB / 0.5235 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.006969, allocations: 11.75 kB / 0.5235 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.0071, allocations: 24.47 kB / 0.5235 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.007125, allocations: 38.36 kB / 0.5236 GB, free: 13.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.007126, allocations: 0 / 0.5236 GB, free: 13.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001635/0.007289, allocations: 54.86 kB / 0.5236 GB, free: 13.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.007319, allocations: 55.34 kB / 0.5237 GB, free: 13.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.007386, allocations: 161.9 kB / 0.5238 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.007397, allocations: 29.7 kB / 0.5238 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.007444, allocations: 131.5 kB / 0.524 GB, free: 13.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.00746, allocations: 9.359 kB / 0.524 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.00749, allocations: 27.36 kB / 0.524 GB, free: 13.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.007609, allocations: 496.1 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.007631, allocations: 0 / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.007645, allocations: 8.797 kB / 0.5245 GB, free: 12.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.007686, allocations: 19.94 kB / 0.5245 GB, free: 12.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.007689, allocations: 1.094 kB / 0.5245 GB, free: 12.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.173e-05/0.00777, allocations: 57.58 kB / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.007794, allocations: 8 kB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0078, allocations: 1.031 kB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.00782, allocations: 0 / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.007895, allocations: 12.89 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.007903, allocations: 4 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.007926, allocations: 0 / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007931, allocations: 0.5938 kB / 0.5246 GB, free: 12.57 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.255e-05/0.008014, allocations: 161.3 kB / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.008031, allocations: 7.938 kB / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.008157, allocations: 50.11 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00816, allocations: 0.9062 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.008164, allocations: 4 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008167, allocations: 0 / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.008278, allocations: 119.5 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.00828, allocations: 0 / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.008318, allocations: 11.98 kB / 0.5249 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.00832, allocations: 0 / 0.5249 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.00833, allocations: 7.875 kB / 0.5249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008332, allocations: 3.938 kB / 0.5249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.008335, allocations: 4 kB / 0.5249 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.008446, allocations: 193.4 kB / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.008452, allocations: 3.938 kB / 0.5251 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.008469, allocations: 15.92 kB / 0.5251 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.0085, allocations: 0.5625 kB / 0.5251 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.008551, allocations: 12.58 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.008554, allocations: 0 / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.008592, allocations: 132.1 kB / 0.5253 GB, free: 11.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008592, allocations: 0 / 0.5253 GB, free: 11.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.008748, allocations: 8 kB / 0.5253 GB, free: 11.78 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000153/0.008901, allocations: 108.7 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.008993, allocations: 23.62 kB / 0.5254 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008995, allocations: 0.5938 kB / 0.5254 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.009021, allocations: 20.83 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.009198, allocations: 4 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.009488, allocations: 137 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.00953, allocations: 59.22 kB / 0.5256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.009552, allocations: 4 kB / 0.5256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.00958, allocations: 8.5 kB / 0.5256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.009581, allocations: 2.5 kB / 0.5256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of Templates: time 0.002879/0.01246, allocations: 0.8253 MB / 0.5264 GB, free: 10.57 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7933004568330944]