Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.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.04277/0.04277, allocations: 9.131 MB / 28.99 MB, free: 0.8242 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.001207/0.001207, allocations: 87.28 kB / 35.33 MB, free: 1.082 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.001583/0.001583, allocations: 164.3 kB / 38.73 MB, free: 2.512 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.9122/0.9122, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.003865/0.003865, allocations: 0.8263 MB / 276.5 MB, free: 0.7383 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.649/1.649, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(AixLib.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.542e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001529/0.001554, allocations: 0.6189 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.001785, allocations: 59.72 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.001802, allocations: 4 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.001837, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.001843, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.00211, allocations: 15.98 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.002184, allocations: 31.97 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.002219, allocations: 7.922 kB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.002253, allocations: 11.98 kB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.002275, allocations: 11.98 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.002289, allocations: 4 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.002379, allocations: 19.91 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.002404, allocations: 15.92 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.002425, allocations: 11.98 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.002518, allocations: 35.94 kB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.002521, allocations: 7.938 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002522, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.002525, allocations: 0 / 0.6387 GB, free: 13.21 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004899/0.003015, allocations: 232.6 kB / 0.639 GB, free: 12.96 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.00305, allocations: 15.98 kB / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.003078, allocations: 4.938 kB / 0.639 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.819e-05/0.003136, allocations: 113.7 kB / 0.6391 GB, free: 12.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003147, allocations: 4.375 kB / 0.6391 GB, free: 12.8 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.003158, allocations: 8.375 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.003241, allocations: 54.17 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.413e-06/0.003248, allocations: 192 / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003255, allocations: 384 / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.003261, allocations: 4.375 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.003345, allocations: 71.81 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.543e-05/0.003441, allocations: 68.17 kB / 0.6393 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.003508, allocations: 62.39 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.003532, allocations: 16.84 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.003655, allocations: 19.98 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.003676, allocations: 34.56 kB / 0.6394 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.003677, allocations: 4 kB / 0.6394 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.000126/0.003803, allocations: 65.67 kB / 0.6395 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.003834, allocations: 59.34 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.58e-05/0.003869, allocations: 93.84 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.003881, allocations: 25.7 kB / 0.6397 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.003899, allocations: 84.14 kB / 0.6397 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.003929, allocations: 27.78 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.003966, allocations: 29.69 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.004047, allocations: 322.8 kB / 0.6401 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.004065, allocations: 16.14 kB / 0.6401 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.354e-05/0.004079, allocations: 4 kB / 0.6401 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/0.004138, allocations: 39.66 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00414, allocations: 0 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.328e-05/0.004224, allocations: 58.33 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.004236, allocations: 4 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.004243, allocations: 7.922 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.004254, allocations: 0 / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.00433, allocations: 23.98 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.004333, allocations: 0 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.004348, allocations: 0 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004354, allocations: 7.938 kB / 0.6403 GB, free: 11.51 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.086e-05/0.004425, allocations: 124.6 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.004437, allocations: 4 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.004558, allocations: 105.5 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00456, allocations: 0 / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.004562, allocations: 0 / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004564, allocations: 4 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.004636, allocations: 77.81 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.004637, allocations: 0 / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.004684, allocations: 16 kB / 0.6406 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.004688, allocations: 11.98 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.004695, allocations: 7.984 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.004697, allocations: 0 / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.004699, allocations: 4 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.931e-05/0.004778, allocations: 88.92 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.004785, allocations: 11.94 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.004795, allocations: 4 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.004807, allocations: 4 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.004832, allocations: 3.984 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.004837, allocations: 4 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.093e-06/0.004844, allocations: 4.859 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004844, allocations: 4 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001625/0.005007, allocations: 23.92 kB / 0.6407 GB, free: 10.96 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001286/0.005135, allocations: 84.42 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.005214, allocations: 48.7 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005216, allocations: 0 / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.005246, allocations: 32.72 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.372e-05/0.0053, allocations: 4 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.005494, allocations: 135.6 kB / 0.641 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.005527, allocations: 59.22 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.005558, allocations: 15.97 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.005598, allocations: 59.38 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of SimCode: time 4.21e-07/0.005598, allocations: 0 / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of Templates: time 0.002242/0.00784, allocations: 0.6873 MB / 0.6418 GB, free: 9.777 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.273803025018424]