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.00168/0.00168, allocations: 80.88 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.00214/0.00214, allocations: 181 kB / 23.35 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.023/1.023, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.9016/0.9016, allocations: 154.9 MB / 415.2 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.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.523e-06/1.523e-06, allocations: 0 / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.528e-05, allocations: 2.812 kB / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.005797/0.005823, allocations: 1.645 MB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.006171, allocations: 134.1 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.006214, allocations: 4.625 kB / 482.2 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.006247, allocations: 7.922 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.006302, allocations: 4.141 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.006626, allocations: 36.48 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.006711, allocations: 33.34 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.006791, allocations: 16 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.29e-05/0.006834, allocations: 17.61 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.006875, allocations: 21.06 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.00689, allocations: 4 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006991, allocations: 25.7 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.007005, allocations: 9.188 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.007024, allocations: 9.641 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.007135, allocations: 50.88 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007138, allocations: 0.5312 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007139, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.007143, allocations: 1.094 kB / 482.4 MB, free: 4.52 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.004366/0.01151, allocations: 245.5 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01154, allocations: 8.656 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.01157, allocations: 8.938 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.01166, allocations: 111.5 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01168, allocations: 5 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.01169, allocations: 384 / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.01181, allocations: 67.55 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.01181, allocations: 0.8125 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.01182, allocations: 384 / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.01183, allocations: 8.938 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.01185, allocations: 7.938 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.01209, allocations: 168.8 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.01224, allocations: 35.38 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.01226, allocations: 15.34 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.01233, allocations: 16.06 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.01235, allocations: 34.55 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.01236, allocations: 0 / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001143/0.01247, allocations: 46.44 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.01249, allocations: 51.41 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.01255, allocations: 110.7 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.01256, allocations: 27.91 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.0126, allocations: 92.08 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.01261, allocations: 4.578 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.01264, allocations: 21.7 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.01273, allocations: 316 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.01274, allocations: 8.703 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.01275, allocations: 7.984 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.01278, allocations: 16.12 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01278, allocations: 1.125 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.428e-05/0.01284, allocations: 37.69 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.01285, allocations: 4 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01285, allocations: 8.469 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.01287, allocations: 5.297 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.01292, allocations: 4 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01292, allocations: 5.094 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.01294, allocations: 7.938 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.01295, allocations: 3.984 kB / 483.9 MB, free: 2.902 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.732e-05/0.01301, allocations: 110.4 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.01302, allocations: 2.812 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/0.0131, allocations: 53.3 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.0131, allocations: 4 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.0131, allocations: 0 / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.01311, allocations: 0 / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.01321, allocations: 67.05 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01321, allocations: 4 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.01324, allocations: 7.984 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01325, allocations: 1.438 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.01325, allocations: 1.438 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01325, allocations: 4.25 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01325, allocations: 7.875 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.01334, allocations: 144.9 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.01334, allocations: 5.031 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.01335, allocations: 0 / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.0134, allocations: 4.5 kB / 484.3 MB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.01344, allocations: 15.86 kB / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01344, allocations: 5.344 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.155e-05/0.01345, allocations: 8.859 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01345, allocations: 0 / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01364, allocations: 8.938 kB / 484.4 MB, free: 2.414 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 0.0001075/0.01375, allocations: 81.62 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.282e-05/0.01381, allocations: 24.78 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01381, allocations: 4 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.01383, allocations: 11.23 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.01398, allocations: 4 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.01724, allocations: 131.2 kB / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.01728, allocations: 56.11 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.451e-05/0.01731, allocations: 5.344 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01735, allocations: 55.36 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01735, allocations: 1.906 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of Templates: time 0.002454/0.01981, allocations: 0.7907 MB / 485.5 MB, free: 1.246 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9070274671539664]