Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04141/0.04141, allocations: 9.132 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008764/0.0008764, allocations: 95.2 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001051/0.001051, allocations: 162.1 kB / 38.73 MB, free: 2.52 MB / 24.77 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 0.9542/0.9542, allocations: 177.1 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004335/0.004335, allocations: 0.8295 MB / 276.5 MB, free: 0.7656 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.657/1.657, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.FallingFactorial") translateModel(AixLib.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.057e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.FallingFactorial): time 0.002195/0.002216, allocations: 1.648 MB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003506/0.002567, allocations: 143.4 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.002613, allocations: 0 / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.00265, allocations: 7.938 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.002707, allocations: 3.938 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.003031, allocations: 35.83 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.003099, allocations: 35.92 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.003195, allocations: 11.97 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.003239, allocations: 19.98 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.003278, allocations: 15.92 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003292, allocations: 4 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.003392, allocations: 23.97 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.003408, allocations: 11.98 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.003424, allocations: 8 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003532, allocations: 43.81 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003534, allocations: 0 / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.91e-07/0.003535, allocations: 0 / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.836e-06/0.003538, allocations: 0 / 0.6399 GB, free: 12.06 MB / 0.6043 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.0002753/0.003813, allocations: 252.8 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.003845, allocations: 11.98 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.003871, allocations: 8.938 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.003941, allocations: 109.7 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.003954, allocations: 384 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.003963, allocations: 8.359 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.004063, allocations: 70.86 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00407, allocations: 4.188 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004077, allocations: 384 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.00408, allocations: 384 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.004107, allocations: 15.88 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.004329, allocations: 164.2 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.004454, allocations: 30.56 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.00447, allocations: 12.86 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.004541, allocations: 16.05 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.004568, allocations: 38.56 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004569, allocations: 0 / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001017/0.004671, allocations: 49.56 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.004695, allocations: 55.39 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.004743, allocations: 106.7 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.004751, allocations: 25.7 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.004781, allocations: 92.08 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.004794, allocations: 3.953 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.004818, allocations: 13.72 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.00489, allocations: 318.8 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.0049, allocations: 7.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.004909, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.004937, allocations: 24.78 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004939, allocations: 256 / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.232e-05/0.004981, allocations: 41.69 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.004992, allocations: 4 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.004998, allocations: 7.938 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.005007, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.013e-05/0.005047, allocations: 8 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.005049, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.005066, allocations: 7.984 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005071, allocations: 7.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 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 0.0002486/0.00532, allocations: 106.2 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.005337, allocations: 7.938 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.005407, allocations: 57.28 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005409, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.00541, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005413, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.898e-05/0.005502, allocations: 73.88 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005503, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.00553, allocations: 12 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005531, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.005535, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005536, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.005539, allocations: 7.922 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.743e-05/0.005606, allocations: 139.5 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-06/0.005612, allocations: 3.938 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.005621, allocations: 4 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.005652, allocations: 0 / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.005691, allocations: 15.92 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.005693, allocations: 4 kB / 0.6417 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.042e-05/0.005704, allocations: 12.84 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005704, allocations: 0 / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001265/0.00583, allocations: 8 kB / 0.6418 GB, free: 9.918 MB / 0.6043 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 8.534e-05/0.005916, allocations: 80.42 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.638e-05/0.005972, allocations: 20.83 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.005974, allocations: 3.938 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.005993, allocations: 16.86 kB / 0.6419 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.006111, allocations: 15.92 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.006311, allocations: 120.5 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.00634, allocations: 51.36 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.00636, allocations: 7.984 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.0064, allocations: 51.38 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of SimCode: time 4.11e-07/0.0064, allocations: 0 / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of Templates: time 0.002172/0.008573, allocations: 0.794 MB / 0.6429 GB, free: 8.703 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.sim & ./AixLib_AixLib.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.207982770167291]