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.0008734/0.0008734, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008928/0.001766, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006724/0.0006724, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009692/0.001642, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9729/0.9729, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09765/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7577/0.7577, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2842/1.042, allocations: 49.13 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.362e-06/1.362e-06, allocations: 0.875 kB / 450 MB, free: 4.535 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.365e-05, allocations: 3.719 kB / 450 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001415/0.001438, allocations: 0.6557 MB / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.652e-05/0.001535, allocations: 57.77 kB / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.313e-05/0.001548, allocations: 0.6562 kB / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.001563, allocations: 0 / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.52e-07/0.001564, allocations: 0 / 450.7 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.001707, allocations: 23.84 kB / 450.8 MB, free: 3.836 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.001785, allocations: 38.12 kB / 450.8 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.001823, allocations: 4.766 kB / 450.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.001872, allocations: 15.98 kB / 450.8 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.27e-05/0.001895, allocations: 8.859 kB / 450.8 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.001908, allocations: 0.5938 kB / 450.8 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.002006, allocations: 24.59 kB / 450.8 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.002034, allocations: 14.5 kB / 450.9 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.002059, allocations: 7 kB / 450.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.002157, allocations: 33.31 kB / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.002168, allocations: 0 / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002168, allocations: 1.094 kB / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.002179, allocations: 0 / 450.9 MB, free: 3.707 MB / 426.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.000275/0.002454, allocations: 241.6 kB / 451.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.002485, allocations: 12.03 kB / 451.2 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.002512, allocations: 8.938 kB / 451.2 MB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.282e-05/0.002575, allocations: 114.6 kB / 451.3 MB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002585, allocations: 4.375 kB / 451.3 MB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.002596, allocations: 5.75 kB / 451.3 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.88e-05/0.002684, allocations: 51.48 kB / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.002691, allocations: 192 / 451.3 MB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.002699, allocations: 9.656 kB / 451.3 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.002704, allocations: 384 / 451.3 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.002769, allocations: 68.36 kB / 451.4 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.938e-05/0.002858, allocations: 79.66 kB / 451.5 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.002912, allocations: 38.56 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.002933, allocations: 19.48 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.003061, allocations: 19.97 kB / 451.6 MB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.003085, allocations: 42.55 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.003086, allocations: 0 / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001248/0.00321, allocations: 72.45 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.003234, allocations: 51.97 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.897e-05/0.003263, allocations: 94.44 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.003275, allocations: 33.7 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.003294, allocations: 81.8 kB / 451.9 MB, free: 2.562 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.003324, allocations: 27.28 kB / 452 MB, free: 2.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.003354, allocations: 29.69 kB / 452 MB, free: 2.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.003429, allocations: 322.8 kB / 452.3 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.003441, allocations: 8.656 kB / 452.3 MB, free: 2.172 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.003455, allocations: 10.3 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.003507, allocations: 38.17 kB / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003509, allocations: 0 / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 5.802e-05/0.003567, allocations: 63.88 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.00358, allocations: 4 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.003583, allocations: 0.875 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.003597, allocations: 4.656 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.00367, allocations: 20.83 kB / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.003673, allocations: 0 / 452.4 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.003685, allocations: 4 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.003693, allocations: 8.609 kB / 452.5 MB, free: 2.02 MB / 426.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: 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 7.269e-05/0.003765, allocations: 130 kB / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.003772, allocations: 4 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.003873, allocations: 96.25 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.003876, allocations: 0.9844 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003877, allocations: 0.5469 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00388, allocations: 0 / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.835e-05/0.003938, allocations: 81.83 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003939, allocations: 0 / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.003976, allocations: 21.98 kB / 452.8 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.003984, allocations: 15.88 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.003985, allocations: 0.9062 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.003989, allocations: 0 / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.003991, allocations: 7.938 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.003992, allocations: 1.188 kB / 452.8 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.524e-05/0.004067, allocations: 90.47 kB / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.004075, allocations: 0 / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.004083, allocations: 4.625 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.004108, allocations: 10.97 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.004111, allocations: 0.5938 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.782e-06/0.004118, allocations: 5.516 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004118, allocations: 0 / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001039/0.004222, allocations: 20.52 kB / 452.9 MB, free: 1.492 MB / 426.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: 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.0001065/0.004328, allocations: 93.53 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.004406, allocations: 52.53 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.004409, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.004436, allocations: 28.69 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.162e-05/0.004498, allocations: 12.77 kB / 453.1 MB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.0047, allocations: 130.4 kB / 453.3 MB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.004741, allocations: 67.2 kB / 453.3 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.004778, allocations: 19.31 kB / 453.3 MB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.004828, allocations: 59.36 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of SimCode: time 8.81e-07/0.004829, allocations: 1 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of Templates: time 0.002096/0.006924, allocations: 0.6916 MB / 454.1 MB, free: 360 kB / 426.7 MB " [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.522118571214378]