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.000924/0.000924, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002152, allocations: 435.8 kB / 10.33 MB, free: 368 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.001009/0.001009, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001377/0.002386, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9423/0.9423, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09672/1.039, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7683/0.7683, allocations: 155.3 MB / 399.3 MB, free: 15.91 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.287/1.055, allocations: 49.12 MB / 448.4 MB, free: 6.016 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.423e-06/1.423e-06, allocations: 0 / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.133e-05, allocations: 2.312 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001331/0.001352, allocations: 0.6503 MB / 450.4 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 9.401e-05/0.001446, allocations: 48.58 kB / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.00146, allocations: 0 / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.001476, allocations: 0 / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.21e-07/0.001477, allocations: 0 / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.001636, allocations: 28.48 kB / 450.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.00172, allocations: 34.92 kB / 450.5 MB, free: 3.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.001759, allocations: 8 kB / 450.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.001799, allocations: 16.75 kB / 450.5 MB, free: 3.918 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.001828, allocations: 9.188 kB / 450.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.001843, allocations: 4 kB / 450.6 MB, free: 3.906 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.001947, allocations: 19.97 kB / 450.6 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.001967, allocations: 10.61 kB / 450.6 MB, free: 3.879 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.001986, allocations: 5.422 kB / 450.6 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.00208, allocations: 34.08 kB / 450.6 MB, free: 3.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.002095, allocations: 0.5938 kB / 450.6 MB, free: 3.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002095, allocations: 4 kB / 450.6 MB, free: 3.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.002111, allocations: 0.625 kB / 450.6 MB, free: 3.84 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.0002993/0.00241, allocations: 243.2 kB / 450.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.002438, allocations: 8.031 kB / 450.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.002465, allocations: 8.938 kB / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.955e-05/0.002524, allocations: 109.7 kB / 451 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002534, allocations: 5.25 kB / 451 MB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.002545, allocations: 8.375 kB / 451 MB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.002631, allocations: 55.28 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.002639, allocations: 0.8438 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.002646, allocations: 5.375 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.002651, allocations: 384 / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.002723, allocations: 72.69 kB / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.495e-05/0.002818, allocations: 70.81 kB / 451.2 MB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.002879, allocations: 47.81 kB / 451.2 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.002898, allocations: 13.91 kB / 451.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.003051, allocations: 32.2 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.003072, allocations: 36.61 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.003073, allocations: 0 / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001251/0.003198, allocations: 71.25 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.003223, allocations: 51.41 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/0.003257, allocations: 102.5 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.003267, allocations: 26.58 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.6e-05/0.003283, allocations: 82.11 kB / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.003375, allocations: 31.77 kB / 451.7 MB, free: 2.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.003403, allocations: 29.69 kB / 451.7 MB, free: 2.637 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.00347, allocations: 318.8 kB / 452 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.003483, allocations: 4.656 kB / 452 MB, free: 2.312 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.003495, allocations: 12.55 kB / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.003544, allocations: 35.34 kB / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.003546, allocations: 0 / 452.1 MB, free: 2.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 5.651e-05/0.003603, allocations: 64.2 kB / 452.1 MB, free: 2.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.003613, allocations: 4 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.003619, allocations: 4.562 kB / 452.1 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.003628, allocations: 0.7188 kB / 452.1 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.00371, allocations: 23.98 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.003713, allocations: 1.453 kB / 452.2 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.003727, allocations: 3.984 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.003731, allocations: 4.594 kB / 452.2 MB, free: 2.16 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.12e-05/0.003802, allocations: 126 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.003811, allocations: 7.938 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.003924, allocations: 94.39 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.003926, allocations: 0.5625 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.003928, allocations: 2.203 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.003932, allocations: 4 kB / 452.4 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.129e-05/0.003993, allocations: 77.83 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.003995, allocations: 0 / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.004041, allocations: 28.81 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.004049, allocations: 14.7 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004051, allocations: 0.9844 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.004057, allocations: 8.656 kB / 452.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004058, allocations: 0.8438 kB / 452.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.00406, allocations: 3.938 kB / 452.5 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.263e-05/0.004133, allocations: 89.64 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.004141, allocations: 0.625 kB / 452.6 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.00415, allocations: 6.266 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.004173, allocations: 7.984 kB / 452.6 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.004177, allocations: 3.984 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.691e-06/0.004183, allocations: 4.859 kB / 452.7 MB, free: 1.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004183, allocations: 6.094 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001079/0.004291, allocations: 12 kB / 452.7 MB, free: 1.633 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.0001189/0.00441, allocations: 101.3 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8e-05/0.00449, allocations: 39.19 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.004493, allocations: 4 kB / 452.8 MB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.35e-05/0.004516, allocations: 29.69 kB / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.639e-05/0.004573, allocations: 10.73 kB / 452.9 MB, free: 1.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.004779, allocations: 133.9 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.004809, allocations: 67.2 kB / 453.1 MB, free: 1.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.004834, allocations: 15.03 kB / 453.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.00487, allocations: 59.95 kB / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.00487, allocations: 0 / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of Templates: time 0.002177/0.007047, allocations: 0.6798 MB / 453.8 MB, free: 0.5 MB / 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.5326285548508167]