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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001072/0.001072, allocations: 173 kB / 23.49 MB, free: 1.062 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.9636/0.9636, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7634/0.7634, allocations: 154.8 MB / 415.1 MB, free: 492 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 1.853e-06/1.853e-06, allocations: 3.938 kB / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.012e-05, allocations: 6.312 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003349/0.003379, allocations: 1.59 MB / 0.5221 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.003828, allocations: 144.2 kB / 0.5223 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003932, allocations: 4 kB / 0.5223 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.003984, allocations: 5.656 kB / 0.5223 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.004042, allocations: 4.484 kB / 0.5223 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.00438, allocations: 35.83 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.004454, allocations: 31.92 kB / 0.5224 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.004547, allocations: 11.98 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.004587, allocations: 28.66 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.403e-05/0.004621, allocations: 11.98 kB / 0.5224 GB, free: 444 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004635, allocations: 5.406 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-05/0.004711, allocations: 11.98 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.004726, allocations: 15.97 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.004748, allocations: 13.28 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.004876, allocations: 39.88 kB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004881, allocations: 4 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004882, allocations: 0 / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.004888, allocations: 1.406 kB / 0.5225 GB, free: 356 kB / 490.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.0004279/0.005316, allocations: 376.5 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.005361, allocations: 11.97 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.005413, allocations: 7.531 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005523, allocations: 116.5 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.005549, allocations: 384 / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.005563, allocations: 8.375 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.005724, allocations: 62.94 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005731, allocations: 192 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.00574, allocations: 384 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005747, allocations: 0.9375 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.00579, allocations: 20.42 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.006095, allocations: 272.7 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.006255, allocations: 47.05 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.006278, allocations: 13.28 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.006372, allocations: 15.98 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.006394, allocations: 45.27 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006395, allocations: 0 / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001518/0.006547, allocations: 54.7 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.006576, allocations: 51.41 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.006647, allocations: 167.3 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.006657, allocations: 25.7 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.006705, allocations: 138.8 kB / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.006722, allocations: 7.938 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.006752, allocations: 24.53 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.006865, allocations: 492.1 kB / 0.5244 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.006884, allocations: 8.234 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.006897, allocations: 4.688 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.006938, allocations: 28.91 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00694, allocations: 3.938 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.252e-05/0.007002, allocations: 49.62 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.007014, allocations: 4 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.00702, allocations: 1.062 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007032, allocations: 0 / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.00708, allocations: 15.23 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007085, allocations: 0 / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.007103, allocations: 4 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.007108, allocations: 0 / 0.5245 GB, free: 14.12 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: 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 6.153e-05/0.007169, allocations: 168.4 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.007183, allocations: 7.938 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.058e-05/0.007274, allocations: 49.38 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.007275, allocations: 0 / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007279, allocations: 2.906 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007281, allocations: 0 / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.007367, allocations: 124.6 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007368, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.007394, allocations: 11.98 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.007395, allocations: 0 / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.007402, allocations: 3.938 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007403, allocations: 0 / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007404, allocations: 1.5 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.007497, allocations: 195.9 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.007503, allocations: 3.984 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.007513, allocations: 4.438 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.082e-05/0.007544, allocations: 4 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.007587, allocations: 9.016 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.007589, allocations: 4 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.007623, allocations: 132.3 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007624, allocations: 0 / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001439/0.007767, allocations: 8 kB / 0.5252 GB, free: 13.33 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: 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.0001235/0.007891, allocations: 102.3 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.007976, allocations: 35.59 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007977, allocations: 0 / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.008, allocations: 15.69 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.008172, allocations: 10.28 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.008421, allocations: 132.6 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.008457, allocations: 51.36 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.008476, allocations: 4 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.008503, allocations: 22.48 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.008504, allocations: 0 / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.002404/0.01091, allocations: 0.7725 MB / 0.5263 GB, free: 12.17 MB / 0.4948 GB " [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.9365247590467334]