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.001425/0.001425, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001495/0.001495, allocations: 216.5 kB / 22.25 MB, free: 4.859 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.279/1.279, allocations: 203.8 MB / 0.5042 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 59.91 kB / 0.7186 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6448, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002783/0.6476, allocations: 1.56 MB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0003705/0.648, allocations: 135.5 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.648, allocations: 0 / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.648, allocations: 5.672 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.6481, allocations: 1.562 kB / 0.8199 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.6484, allocations: 35.33 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.6484, allocations: 37.17 kB / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.6485, allocations: 14.61 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.6486, allocations: 15.78 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.6486, allocations: 16.77 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.6486, allocations: 3.469 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.6487, allocations: 22.81 kB / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.6487, allocations: 13.81 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.6488, allocations: 13.98 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6489, allocations: 46.59 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6489, allocations: 0 / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6489, allocations: 0.8438 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6489, allocations: 1.188 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB 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.0003793/0.6493, allocations: 284.3 kB / 0.8204 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6493, allocations: 11.44 kB / 0.8204 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.6493, allocations: 4.156 kB / 0.8204 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.703e-05/0.6494, allocations: 110.5 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6494, allocations: 2.766 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.6494, allocations: 6.844 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6496, allocations: 62.31 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6496, allocations: 5.484 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6496, allocations: 5.438 kB / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6496, allocations: 1.031 kB / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.6498, allocations: 49.11 kB / 0.8207 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.6501, allocations: 212.4 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.6505, allocations: 65 kB / 0.8209 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.6506, allocations: 26.77 kB / 0.8209 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.6507, allocations: 18.45 kB / 0.821 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.6507, allocations: 32.36 kB / 0.821 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6507, allocations: 1.438 kB / 0.821 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0004159/0.6511, allocations: 102 kB / 0.8211 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.6511, allocations: 53.86 kB / 0.8211 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.6512, allocations: 102.6 kB / 0.8212 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.6512, allocations: 27.92 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.6512, allocations: 86.22 kB / 0.8213 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.6513, allocations: 6.922 kB / 0.8214 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6513, allocations: 22.23 kB / 0.8214 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.6513, allocations: 313.6 kB / 0.8217 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.6514, allocations: 19.97 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.6515, allocations: 25.38 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.6517, allocations: 41.08 kB / 0.8218 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6517, allocations: 8.125 kB / 0.8218 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002243/0.6519, allocations: 78.5 kB / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6519, allocations: 5.031 kB / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6519, allocations: 0 / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.652, allocations: 1.562 kB / 0.8218 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.652, allocations: 10.88 kB / 0.8219 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.652, allocations: 5.609 kB / 0.8219 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.6521, allocations: 9.359 kB / 0.8219 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.6521, allocations: 1.922 kB / 0.8219 GB, free: 26.16 MB / 0.6387 GB 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.525e-05/0.6522, allocations: 122.2 kB / 0.822 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.6522, allocations: 1.406 kB / 0.822 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.6525, allocations: 83.45 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6525, allocations: 2.438 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6525, allocations: 3.938 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6525, allocations: 4.5 kB / 0.8221 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.6526, allocations: 116 kB / 0.8222 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6526, allocations: 1.609 kB / 0.8222 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.6527, allocations: 10.84 kB / 0.8222 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6527, allocations: 3.984 kB / 0.8222 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6527, allocations: 1.078 kB / 0.8222 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6527, allocations: 1.375 kB / 0.8222 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6527, allocations: 1.094 kB / 0.8222 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.653, allocations: 178.2 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.653, allocations: 6.266 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.653, allocations: 1.359 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.6531, allocations: 10.16 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.6531, allocations: 5.281 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.6531, allocations: 1.531 kB / 0.8224 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.6532, allocations: 85.05 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6532, allocations: 0.6875 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000235/0.6534, allocations: 12.12 kB / 0.8225 GB, free: 25.62 MB / 0.6387 GB 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.0001433/0.6535, allocations: 101.8 kB / 0.8226 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.6538, allocations: 53.56 kB / 0.8226 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6538, allocations: 4 kB / 0.8226 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.6539, allocations: 25.53 kB / 0.8227 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.6542, allocations: 8.375 kB / 0.8227 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.6546, allocations: 124.4 kB / 0.8228 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.038e-05/0.6546, allocations: 64.33 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.6546, allocations: 7.688 kB / 0.8229 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.6547, allocations: 10.75 kB / 0.8229 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.6547, allocations: 0.5 kB / 0.8229 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.003585/0.6583, allocations: 0.7821 MB / 0.8236 GB, free: 25.2 MB / 0.6387 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.671453708782792] Failed to read output from testmodel.py, exit status != 0: 0.6663233507424593 0.6781210830000001 0.026651659 Calling exit ...