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.000943/0.000943, 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.001002/0.001002, 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.002/1.002, 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.755/0.755, 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.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.553e-06/1.553e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.895e-05, allocations: 7.422 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.005318/0.005337, allocations: 1.584 MB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000311/0.005648, allocations: 142.7 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.005679, allocations: 0 / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.005701, allocations: 5.031 kB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.005743, allocations: 5.438 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.00599, allocations: 44.38 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.357e-05/0.006053, allocations: 33.92 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.006115, allocations: 11.97 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.006153, allocations: 22.8 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.006189, allocations: 13.52 kB / 482.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.006201, allocations: 4 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.00627, allocations: 24.91 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.006285, allocations: 13.84 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.006301, allocations: 5.312 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.852e-05/0.006399, allocations: 43.84 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.006401, allocations: 0 / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006401, allocations: 0 / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.006404, allocations: 0.5625 kB / 482.3 MB, free: 4.574 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00027/0.006674, allocations: 250.6 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.006702, allocations: 12.03 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.006728, allocations: 8.938 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.006803, allocations: 114.8 kB / 482.7 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006818, allocations: 4.375 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.006828, allocations: 1.141 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.006934, allocations: 68.88 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.006941, allocations: 192 / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.006947, allocations: 4.375 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006952, allocations: 384 / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.006981, allocations: 13.03 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.007196, allocations: 168.2 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.007336, allocations: 36.31 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.01036, allocations: 13.52 kB / 483 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.01043, allocations: 11.98 kB / 483 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01045, allocations: 35.81 kB / 483 MB, free: 3.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.01046, allocations: 0 / 483 MB, free: 3.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001137/0.01057, allocations: 55.25 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.0106, allocations: 54.53 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.01065, allocations: 106.7 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.01066, allocations: 25.7 kB / 483.3 MB, free: 3.496 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.0107, allocations: 92.62 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.01071, allocations: 3.953 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.01074, allocations: 14.59 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.01083, allocations: 322.8 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.01084, allocations: 4 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.01085, allocations: 4.562 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.01088, allocations: 17.83 kB / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01088, allocations: 0.9062 kB / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.871e-05/0.01094, allocations: 41.62 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01095, allocations: 8.875 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01096, allocations: 5.031 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.01097, allocations: 0.9062 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.01101, allocations: 4 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.01101, allocations: 4.625 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.01104, allocations: 7.922 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.01104, allocations: 0.625 kB / 483.8 MB, free: 2.953 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: 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 5.158e-05/0.01109, allocations: 110.5 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.01111, allocations: 1.891 kB / 483.9 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.01118, allocations: 61.23 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01119, allocations: 0.625 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01119, allocations: 1.625 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01119, allocations: 0 / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.0113, allocations: 74.41 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.0113, allocations: 0.8125 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.01133, allocations: 4.25 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01133, allocations: 1.781 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01134, allocations: 8 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01134, allocations: 0 / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01134, allocations: 3.938 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.931e-05/0.01142, allocations: 140.4 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.01143, allocations: 5.422 kB / 484.2 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.01143, allocations: 0 / 484.2 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.01148, allocations: 8.938 kB / 484.2 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.01152, allocations: 15.92 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.01152, allocations: 0.7188 kB / 484.2 MB, free: 2.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.175e-05/0.01153, allocations: 12.84 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 1.25 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01172, allocations: 8.875 kB / 484.3 MB, free: 2.457 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: 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 9.29e-05/0.01181, allocations: 83.03 kB / 484.3 MB, free: 2.367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.01187, allocations: 22.75 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01187, allocations: 0 / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.01189, allocations: 16.8 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.01203, allocations: 11.92 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.01224, allocations: 123.4 kB / 484.5 MB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.01228, allocations: 56.75 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.0123, allocations: 9.141 kB / 484.6 MB, free: 2.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.01234, allocations: 51.38 kB / 484.6 MB, free: 2.035 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01234, allocations: 1.094 kB / 484.6 MB, free: 2.035 MB / 442.7 MB Notification: Performance of Templates: time 0.005501/0.01784, allocations: 0.7827 MB / 485.4 MB, free: 1.293 MB / 442.7 MB " [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: 3.6271709320135415]