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.001362/0.001362, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001493/0.001493, allocations: 177 kB / 23.36 MB, free: 1.137 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8058/0.8058, allocations: 154.9 MB / 415.1 MB, free: 228 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.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.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.976e-05, allocations: 4.281 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00118/0.0012, allocations: 0.6038 MB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.001415, allocations: 52.77 kB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.001434, allocations: 0 / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.001469, allocations: 0 / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.001475, allocations: 0 / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.001754, allocations: 24.42 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.001828, allocations: 36.61 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.001866, allocations: 0.625 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.001901, allocations: 14.28 kB / 481.2 MB, free: 5.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.001925, allocations: 15.98 kB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.001938, allocations: 0 / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.277e-05/0.00202, allocations: 19.95 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.002046, allocations: 14.06 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.002067, allocations: 10.34 kB / 481.2 MB, free: 5.734 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.002157, allocations: 33.58 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.002158, allocations: 3.938 kB / 481.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002159, allocations: 4.594 kB / 481.3 MB, free: 5.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.002162, allocations: 0 / 481.3 MB, free: 5.695 MB / 442.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.0002184/0.00238, allocations: 238.6 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.002412, allocations: 8.031 kB / 481.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.002438, allocations: 12.92 kB / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.597e-05/0.002494, allocations: 109.7 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.002504, allocations: 384 / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.002517, allocations: 9.594 kB / 481.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.002598, allocations: 51.11 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.002605, allocations: 0.7031 kB / 481.7 MB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.002613, allocations: 5.672 kB / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.002618, allocations: 384 / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.002685, allocations: 77.09 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.165e-05/0.002776, allocations: 74.02 kB / 481.8 MB, free: 5.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.002837, allocations: 43.42 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.002856, allocations: 17.48 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.002978, allocations: 27.98 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.002997, allocations: 33.88 kB / 481.9 MB, free: 4.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.002998, allocations: 0 / 481.9 MB, free: 4.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001256/0.003123, allocations: 74.64 kB / 482 MB, free: 4.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.003151, allocations: 55.39 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.003186, allocations: 101.8 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.003196, allocations: 26.36 kB / 482.2 MB, free: 4.645 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.003217, allocations: 84.12 kB / 482.3 MB, free: 4.559 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.003241, allocations: 24.83 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.003271, allocations: 29.69 kB / 482.3 MB, free: 4.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.003345, allocations: 327.3 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.003355, allocations: 4.547 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.003368, allocations: 9.75 kB / 482.7 MB, free: 4.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.003422, allocations: 41.34 kB / 482.7 MB, free: 4.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.003424, allocations: 0 / 482.7 MB, free: 4.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.045e-05/0.003484, allocations: 55.06 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.003495, allocations: 8.625 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.0035, allocations: 0 / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.003512, allocations: 1.172 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.003575, allocations: 15.98 kB / 482.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.003579, allocations: 4.625 kB / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.003593, allocations: 5.844 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.003597, allocations: 0 / 482.8 MB, free: 4.027 MB / 442.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.295e-05/0.00367, allocations: 130.6 kB / 482.9 MB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.00368, allocations: 7.984 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.003785, allocations: 89.5 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.003788, allocations: 5.781 kB / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00379, allocations: 0 / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.003793, allocations: 0 / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.53e-05/0.003858, allocations: 86.58 kB / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.003859, allocations: 0 / 483.1 MB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.003896, allocations: 20.73 kB / 483.1 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.003897, allocations: 0 / 483.1 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.003902, allocations: 4 kB / 483.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.003903, allocations: 1 kB / 483.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.003904, allocations: 0 / 483.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.212e-05/0.003976, allocations: 99.48 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.003984, allocations: 12.73 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.003992, allocations: 1.219 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-06/0.003999, allocations: 4 kB / 483.2 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.004022, allocations: 8.75 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.004026, allocations: 4.578 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.231e-06/0.004033, allocations: 4.859 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004033, allocations: 1.188 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.004144, allocations: 16 kB / 483.3 MB, free: 3.5 MB / 442.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.0001108/0.004255, allocations: 99.73 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.004326, allocations: 40.83 kB / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.004327, allocations: 0 / 483.4 MB, free: 3.359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.289e-05/0.00435, allocations: 28.78 kB / 483.4 MB, free: 3.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.633e-05/0.004396, allocations: 8 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/0.004575, allocations: 134.6 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.738e-05/0.004602, allocations: 55.36 kB / 483.6 MB, free: 3.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.004629, allocations: 17.45 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.004671, allocations: 55.38 kB / 483.7 MB, free: 3.02 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.004672, allocations: 0 / 483.7 MB, free: 3.02 MB / 442.7 MB Notification: Performance of Templates: time 0.002113/0.006784, allocations: 0.6876 MB / 484.4 MB, free: 2.379 MB / 442.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.5587960546836257]