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.001116/0.001116, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001235/0.001235, allocations: 181 kB / 23.36 MB, free: 1.133 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.169/1.169, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.821/0.821, allocations: 154.9 MB / 415.1 MB, free: 216 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 2.966e-06/2.966e-06, allocations: 3.984 kB / 480.5 MB, free: 6.414 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.593e-05, allocations: 9.016 kB / 480.5 MB, free: 6.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001305/0.001331, allocations: 0.6449 MB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002475/0.001578, allocations: 48.34 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.001599, allocations: 0.5312 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.001632, allocations: 0.9688 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.001639, allocations: 4.656 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.001919, allocations: 23.84 kB / 481.2 MB, free: 5.727 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.001998, allocations: 32.61 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.002038, allocations: 1.094 kB / 481.2 MB, free: 5.695 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.002088, allocations: 16.64 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.002112, allocations: 9.234 kB / 481.3 MB, free: 5.672 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.002128, allocations: 4 kB / 481.3 MB, free: 5.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.002251, allocations: 23.97 kB / 481.3 MB, free: 5.645 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.002282, allocations: 14.06 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.002307, allocations: 15.55 kB / 481.3 MB, free: 5.625 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.002407, allocations: 37.25 kB / 481.3 MB, free: 5.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002409, allocations: 0.875 kB / 481.3 MB, free: 5.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.00241, allocations: 0 / 481.3 MB, free: 5.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.002414, allocations: 0 / 481.3 MB, free: 5.59 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.0002504/0.002664, allocations: 235.7 kB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.002702, allocations: 8.031 kB / 481.6 MB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.002732, allocations: 4.938 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.002812, allocations: 119.1 kB / 481.7 MB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.002822, allocations: 1.281 kB / 481.7 MB, free: 5.184 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.002832, allocations: 5.312 kB / 481.7 MB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.002927, allocations: 55.86 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.002937, allocations: 1.062 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.002946, allocations: 8.375 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.002953, allocations: 1.25 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.311e-05/0.003036, allocations: 67.81 kB / 481.8 MB, free: 5.047 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.003147, allocations: 76.97 kB / 481.9 MB, free: 4.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.00321, allocations: 48.48 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.003233, allocations: 21.42 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.003376, allocations: 24.72 kB / 482 MB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.003405, allocations: 35.22 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.003406, allocations: 0.625 kB / 482 MB, free: 4.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001303/0.003537, allocations: 71.25 kB / 482.1 MB, free: 4.738 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.003563, allocations: 56.7 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.597e-05/0.003599, allocations: 94.41 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.003613, allocations: 29.7 kB / 482.3 MB, free: 4.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.003634, allocations: 80.73 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.00366, allocations: 28.58 kB / 482.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.003693, allocations: 26.91 kB / 482.4 MB, free: 4.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.003782, allocations: 322.8 kB / 482.7 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.003794, allocations: 5.781 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.003808, allocations: 11.98 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.003866, allocations: 43.05 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003868, allocations: 0 / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.865e-05/0.003937, allocations: 59.45 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.00395, allocations: 8 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.003954, allocations: 1 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.003966, allocations: 1.094 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.004035, allocations: 20.73 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.004038, allocations: 0 / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.004052, allocations: 4.938 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.004059, allocations: 6.25 kB / 482.9 MB, free: 3.914 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 0.0003951/0.004454, allocations: 125.6 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.004462, allocations: 7.938 kB / 483 MB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.004569, allocations: 95.86 kB / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.004571, allocations: 0.8438 kB / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.004573, allocations: 0 / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.004575, allocations: 0 / 483.1 MB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.989e-05/0.004645, allocations: 82.98 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.004647, allocations: 0.875 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.004686, allocations: 19.98 kB / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004687, allocations: 1.938 kB / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.004692, allocations: 0 / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004694, allocations: 4 kB / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.004695, allocations: 3.938 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.716e-05/0.004773, allocations: 101.1 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.004781, allocations: 8.672 kB / 483.3 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.004789, allocations: 0 / 483.3 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.004795, allocations: 5.219 kB / 483.3 MB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.004824, allocations: 7.984 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.004829, allocations: 4 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.474e-06/0.004837, allocations: 6.344 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004837, allocations: 0 / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.004953, allocations: 16 kB / 483.4 MB, free: 3.391 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.0001176/0.005071, allocations: 89.59 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.005157, allocations: 55.09 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005159, allocations: 1.172 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.005188, allocations: 35.02 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.676e-05/0.005245, allocations: 4.938 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.005439, allocations: 130.9 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.005472, allocations: 55.36 kB / 483.7 MB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.005499, allocations: 14.41 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.005536, allocations: 59.89 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of SimCode: time 9.31e-07/0.005537, allocations: 1 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of Templates: time 0.002209/0.007746, allocations: 0.6803 MB / 484.5 MB, free: 2.27 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7944760187529027]