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.04083/0.04083, allocations: 9.132 MB / 28.99 MB, free: 328 kB / 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.000913/0.000913, allocations: 95.14 kB / 35.33 MB, free: 0.918 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.001029/0.001029, allocations: 167.9 kB / 38.73 MB, free: 2.395 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 1.009/1.009, allocations: 177.2 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.003866/0.003866, allocations: 0.8257 MB / 276.5 MB, free: 0.7578 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.68/1.68, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.593e-06/1.593e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.871e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.FallingFactorial): time 0.00196/0.001979, allocations: 1.613 MB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003205/0.002299, allocations: 139.4 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.002334, allocations: 0 / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.00236, allocations: 3.938 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.002404, allocations: 11.94 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.002673, allocations: 35.83 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.002734, allocations: 35.92 kB / 0.6397 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.002804, allocations: 11.98 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.002844, allocations: 27.91 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.002878, allocations: 7.984 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.002891, allocations: 4 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.002964, allocations: 19.98 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.002978, allocations: 11.97 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.002994, allocations: 11.94 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003094, allocations: 51.81 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003096, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003097, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.0031, allocations: 0 / 0.6398 GB, free: 12.14 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.000283/0.003383, allocations: 244.9 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.003416, allocations: 15.92 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.003444, allocations: 4.938 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.00352, allocations: 109.7 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.003536, allocations: 384 / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.003549, allocations: 12.36 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.003657, allocations: 62.94 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.003663, allocations: 192 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.00367, allocations: 4.375 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003675, allocations: 384 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.003701, allocations: 19.86 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.00391, allocations: 164.2 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.004038, allocations: 30.56 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.004052, allocations: 8.859 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.004123, allocations: 15.98 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.004143, allocations: 38.5 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004144, allocations: 4 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001015/0.004245, allocations: 45.62 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.004273, allocations: 55.39 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.004323, allocations: 106.8 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.004333, allocations: 25.7 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.004365, allocations: 88.08 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.004383, allocations: 15.94 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.004416, allocations: 13.72 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.004498, allocations: 310.8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.004512, allocations: 7.984 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.004522, allocations: 8.125 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.004554, allocations: 24.91 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.004556, allocations: 0 / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.83e-05/0.004604, allocations: 41.69 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004615, allocations: 7.938 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.004622, allocations: 3.938 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004634, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.004681, allocations: 8 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.004684, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.004704, allocations: 8.234 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004708, allocations: 4 kB / 0.6412 GB, free: 10.5 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 5.553e-05/0.004764, allocations: 113.8 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.004777, allocations: 4 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.004853, allocations: 53.3 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.004854, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004856, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004859, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.862e-05/0.004948, allocations: 73.89 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004949, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.004974, allocations: 12 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004975, allocations: 0 / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-06/0.004979, allocations: 0 / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00498, allocations: 0 / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.004982, allocations: 3.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.005061, allocations: 143.5 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.005068, allocations: 7.938 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.005076, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.005104, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.00515, allocations: 15.92 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.005152, allocations: 0 / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.034e-05/0.005163, allocations: 12.86 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005163, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001286/0.005291, allocations: 11.98 kB / 0.6417 GB, free: 10 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 0.0001026/0.005394, allocations: 84.42 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.005453, allocations: 20.78 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005455, allocations: 0 / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.005474, allocations: 13.09 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.005591, allocations: 11.92 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.005815, allocations: 132.6 kB / 0.6419 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.005848, allocations: 55.3 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.005866, allocations: 4 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.005912, allocations: 59.36 kB / 0.642 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of SimCode: time 4.4e-07/0.005912, allocations: 0 / 0.642 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of Templates: time 0.002215/0.008128, allocations: 0.7858 MB / 0.6428 GB, free: 8.789 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.48206849116832]