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.06975/0.06975, allocations: 9.132 MB / 28.99 MB, free: 0.8086 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.001389/0.001389, allocations: 98.39 kB / 35.33 MB, free: 1.066 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.001204/0.001204, allocations: 168.4 kB / 38.73 MB, free: 2.477 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.9816/0.9816, 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.006687/0.006687, allocations: 0.8261 MB / 276.5 MB, free: 0.7539 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.652/1.652, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.693e-06/1.693e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.61e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001295/0.001321, allocations: 0.6699 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002236/0.001545, allocations: 55.75 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.001561, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.001591, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.001597, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.001851, allocations: 11.98 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.001925, allocations: 35.95 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.00196, allocations: 7.938 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.735e-05/0.001997, allocations: 19.91 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.058e-05/0.002018, allocations: 11.98 kB / 0.6387 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.002031, allocations: 0 / 0.6387 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.00214, allocations: 27.91 kB / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.002161, allocations: 7.984 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.002183, allocations: 15.98 kB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.002269, allocations: 31.89 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002271, allocations: 0 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002271, allocations: 0 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.002275, allocations: 4 kB / 0.6388 GB, free: 13.12 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.0002122/0.002487, allocations: 236.6 kB / 0.6391 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.002519, allocations: 15.98 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.002545, allocations: 4.938 kB / 0.6391 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.819e-05/0.002603, allocations: 109.7 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.002615, allocations: 8.375 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.002623, allocations: 4.375 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.111e-05/0.002714, allocations: 50.22 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.002722, allocations: 192 / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.00273, allocations: 4.375 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002736, allocations: 8.375 kB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.002809, allocations: 71.75 kB / 0.6393 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.85e-05/0.002908, allocations: 76.17 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/0.002967, allocations: 50.34 kB / 0.6394 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.002991, allocations: 20.84 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.003116, allocations: 15.98 kB / 0.6395 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.003139, allocations: 34.56 kB / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.00314, allocations: 0 / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001245/0.003265, allocations: 70 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.003291, allocations: 55.34 kB / 0.6396 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.233e-05/0.003324, allocations: 93.8 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.003337, allocations: 37.7 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.00336, allocations: 88.11 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.003384, allocations: 19.8 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.003417, allocations: 29.69 kB / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.003499, allocations: 322.8 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.003514, allocations: 11.98 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.003528, allocations: 4.438 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.003583, allocations: 39.81 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.003585, allocations: 0 / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.287e-05/0.003658, allocations: 65.61 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.003669, allocations: 8 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.003673, allocations: 0 / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.003687, allocations: 11.92 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.003751, allocations: 12 kB / 0.6403 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.003753, allocations: 0 / 0.6403 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.003767, allocations: 7.984 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.003774, allocations: 4 kB / 0.6404 GB, free: 11.4 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.001e-05/0.003844, allocations: 120.6 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.003854, allocations: 12 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.003958, allocations: 97.42 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.003961, allocations: 4 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.003962, allocations: 0 / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.003965, allocations: 0 / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.004026, allocations: 81.83 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.004027, allocations: 0 / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.004065, allocations: 15.98 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004066, allocations: 4 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.004073, allocations: 3.984 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004073, allocations: 3.938 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.004074, allocations: 0 / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.157e-05/0.004145, allocations: 101 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.004152, allocations: 7.953 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.004159, allocations: 0 / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.004166, allocations: 0 / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.004191, allocations: 11.98 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.004194, allocations: 0 / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.214e-06/0.004201, allocations: 8.844 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004201, allocations: 0 / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001096/0.004311, allocations: 15.94 kB / 0.6408 GB, free: 10.87 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.0001063/0.004417, allocations: 92.42 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.004489, allocations: 48.64 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004491, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.004523, allocations: 33.33 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.165e-05/0.004574, allocations: 4.219 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.004757, allocations: 135.5 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.004787, allocations: 59.22 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.004812, allocations: 15.97 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.004847, allocations: 59.38 kB / 0.6412 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of SimCode: time 1.052e-06/0.004848, allocations: 0 / 0.6412 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of Templates: time 0.002189/0.007038, allocations: 0.6908 MB / 0.6419 GB, free: 9.676 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.292048756964505]