Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Factorial.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.05543/0.05543, allocations: 9.135 MB / 28.99 MB, free: 0.793 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.001524/0.001524, allocations: 95.03 kB / 35.33 MB, free: 1.059 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.004848/0.004848, allocations: 160.9 kB / 38.73 MB, free: 2.504 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.025/1.025, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.00414/0.00414, allocations: 0.8263 MB / 276.5 MB, free: 0.707 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.685/1.685, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Factorial") translateModel(AixLib.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.816e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Factorial): time 0.001933/0.001951, allocations: 1.629 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.00226, allocations: 139.4 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.002295, allocations: 4 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.002321, allocations: 0 / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.002366, allocations: 3.938 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.002584, allocations: 19.92 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.00265, allocations: 31.91 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.002721, allocations: 7.984 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.002773, allocations: 19.94 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.002812, allocations: 11.98 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.002824, allocations: 0 / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.002894, allocations: 19.97 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002907, allocations: 8 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.002922, allocations: 7.984 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.003011, allocations: 43.77 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.003012, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003013, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.003016, allocations: 0 / 0.6398 GB, free: 12.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002524/0.003269, allocations: 229 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.0033, allocations: 15.98 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.00332, allocations: 4.938 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.615e-05/0.003396, allocations: 117.7 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.003411, allocations: 384 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.003418, allocations: 4.375 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.003513, allocations: 58.94 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003519, allocations: 192 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003526, allocations: 384 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.00353, allocations: 4.375 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.003554, allocations: 15.86 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.003765, allocations: 148.3 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.003895, allocations: 38.56 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.00391, allocations: 8.844 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.003966, allocations: 19.91 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.003989, allocations: 38.56 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.00399, allocations: 0 / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001037/0.004093, allocations: 45.62 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.004139, allocations: 51.41 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.71e-05/0.004186, allocations: 102.7 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004196, allocations: 25.7 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.004224, allocations: 92.09 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.00424, allocations: 7.938 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.004264, allocations: 17.72 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.004381, allocations: 314.8 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.00439, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.004399, allocations: 4 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.004426, allocations: 24.77 kB / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004428, allocations: 0 / 0.6411 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.318e-05/0.004471, allocations: 37.69 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.004481, allocations: 4 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004486, allocations: 7.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.004499, allocations: 7.938 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.004544, allocations: 8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.004548, allocations: 3.984 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.004565, allocations: 4 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.004569, allocations: 0 / 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 (rea2Int.y,fac.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 4.905e-05/0.004618, allocations: 117.8 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.004632, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.004694, allocations: 45.36 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004696, allocations: 7.938 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.004697, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.004699, allocations: 4 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.004781, allocations: 69.89 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004781, allocations: 0 / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.004805, allocations: 8 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.004806, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.00481, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004811, allocations: 3.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.004813, allocations: 4.547 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.822e-05/0.004881, allocations: 139.4 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.004891, allocations: 12.03 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.004899, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.004929, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.004966, allocations: 11.98 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.00497, allocations: 3.938 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.216e-05/0.004982, allocations: 16.83 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004982, allocations: 0 / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001222/0.005104, allocations: 11.94 kB / 0.6416 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 (fac.y,rea2Int.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.42e-05/0.005188, allocations: 76.42 kB / 0.6417 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.863e-05/0.005257, allocations: 28.78 kB / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005259, allocations: 0 / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.005277, allocations: 12.86 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.005395, allocations: 4 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.005834, allocations: 112.8 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.005864, allocations: 55.3 kB / 0.6419 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.005886, allocations: 8 kB / 0.6419 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.005929, allocations: 55.36 kB / 0.642 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of SimCode: time 5.91e-07/0.00593, allocations: 0 / 0.642 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of Templates: time 0.002064/0.007994, allocations: 0.7549 MB / 0.6427 GB, free: 8.84 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Factorial.sim & ./AixLib_AixLib.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.39092672476545]