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.002572/0.002572, allocations: 81.5 kB / 19.44 MB, free: 344 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.002948/0.002948, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.331/1.331, allocations: 154.8 MB / 414.4 MB, free: 460 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.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.603e-06/1.603e-06, allocations: 0 / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.61e-05, allocations: 4.141 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.004371/0.004407, allocations: 1.557 MB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.004952, allocations: 141.1 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.004998, allocations: 0 / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.005037, allocations: 5.062 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.005106, allocations: 8.156 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.005425, allocations: 35.83 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.005528, allocations: 36.55 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.005628, allocations: 7.984 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.0057, allocations: 21.55 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.005762, allocations: 19.97 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.005786, allocations: 4 kB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.005898, allocations: 15.98 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.005924, allocations: 17.78 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.005959, allocations: 11.94 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.006149, allocations: 51.8 kB / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006152, allocations: 0 / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006153, allocations: 0 / 0.5218 GB, free: 396 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.006158, allocations: 1.75 kB / 0.5218 GB, free: 396 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.0007035/0.006862, allocations: 376.2 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.006915, allocations: 12.03 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.00697, allocations: 4.938 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.007105, allocations: 117.3 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.007133, allocations: 4.375 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.007149, allocations: 5.781 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.00739, allocations: 58.17 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007401, allocations: 192 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.007419, allocations: 4.359 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.007424, allocations: 1.719 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.007631, allocations: 35.92 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.008238, allocations: 277.2 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.008685, allocations: 63.05 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.008774, allocations: 19.67 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.008917, allocations: 18.52 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.008955, allocations: 41.33 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.008957, allocations: 0 / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003459/0.009302, allocations: 81.61 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.009349, allocations: 51.41 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.009518, allocations: 166.4 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.009547, allocations: 29.7 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.009665, allocations: 135.4 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.009695, allocations: 12.95 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.009771, allocations: 23.38 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003498/0.01012, allocations: 0.4884 MB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/0.01021, allocations: 9.531 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.0103, allocations: 23.92 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.01049, allocations: 35.67 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01049, allocations: 0.9375 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002793/0.01077, allocations: 70.97 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.01079, allocations: 7.938 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.01079, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.01081, allocations: 336 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.01093, allocations: 13.14 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01093, allocations: 0 / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.01099, allocations: 4 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.011, allocations: 4.688 kB / 0.5239 GB, free: 14.03 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 0.000126/0.01113, allocations: 161.8 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.01116, allocations: 7.922 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.01147, allocations: 73.36 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01147, allocations: 3.25 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01148, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01148, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.01175, allocations: 120.6 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.01175, allocations: 256 / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.01185, allocations: 19.92 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01186, allocations: 0 / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01187, allocations: 3.938 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01187, allocations: 2.969 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01187, allocations: 0 / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.01227, allocations: 215.9 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01228, allocations: 3.938 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.0123, allocations: 3.938 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.01242, allocations: 11.98 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.01249, allocations: 3.984 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.0125, allocations: 4 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001207/0.01262, allocations: 128.7 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01262, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004361/0.01306, allocations: 8 kB / 0.5246 GB, free: 13.21 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.0002271/0.01329, allocations: 107.7 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.01357, allocations: 41.98 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01357, allocations: 3.938 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01369, allocations: 27.67 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.01408, allocations: 7.984 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.01457, allocations: 132.6 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.01466, allocations: 67.28 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.0147, allocations: 4 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.01474, allocations: 14.44 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01474, allocations: 0 / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.004138/0.01888, allocations: 0.7873 MB / 0.5258 GB, free: 12 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: 6.126305660000071]