Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.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.04606/0.04606, allocations: 9.118 MB / 18.95 MB, free: 0.7109 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005871/0.05193, allocations: 3.421 MB / 22.37 MB, free: 3.793 MB / 24.77 MB " [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.0007176/0.0007176, allocations: 83.08 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.001911, allocations: 441.9 kB / 23.63 MB, free: 2.535 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.000893/0.000893, allocations: 145 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001202/0.002095, allocations: 482.4 kB / 24.99 MB, free: 1.184 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.9025/0.9025, allocations: 177.1 MB / 202.9 MB, free: 8.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1489/1.051, allocations: 53.66 MB / 256.5 MB, free: 5.379 MB / 250.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.00386/0.00386, allocations: 0.8298 MB / 258.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.005288, allocations: 0.651 MB / 258.8 MB, free: 3.285 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.69/1.69, allocations: 274.9 MB / 0.5219 GB, free: 1.113 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1619/1.852, allocations: 78.89 MB / 0.5989 GB, free: 2.238 MB / 0.573 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial") translateModel(AixLib.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6003 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.492e-05, allocations: 2.312 kB / 0.6003 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Factorial): time 0.001064/0.001079, allocations: 0.6547 MB / 0.6009 GB, free: 204 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 9.299e-05/0.001172, allocations: 55.8 kB / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-06/0.001181, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-06/0.001185, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.42e-07/0.001186, allocations: 0 / 0.601 GB, free: 148 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 8.509e-05/0.001271, allocations: 11.88 kB / 0.601 GB, free: 136 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.001313, allocations: 7.969 kB / 0.601 GB, free: 128 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.001347, allocations: 15.94 kB / 0.601 GB, free: 112 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.001378, allocations: 0 / 0.601 GB, free: 112 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.001397, allocations: 0 / 0.601 GB, free: 112 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.001409, allocations: 4 kB / 0.601 GB, free: 108 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.001492, allocations: 11.98 kB / 0.601 GB, free: 96 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-06/0.0015, allocations: 0 / 0.601 GB, free: 96 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-06/0.001509, allocations: 0 / 0.601 GB, free: 96 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 6.712e-05/0.001576, allocations: 8 kB / 0.601 GB, free: 88 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.001588, allocations: 3.938 kB / 0.601 GB, free: 84 kB / 0.573 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001588, allocations: 0 / 0.601 GB, free: 84 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.0016, allocations: 0 / 0.601 GB, free: 84 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002328/0.001832, allocations: 224.8 kB / 0.6013 GB, free: 15.84 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.001863, allocations: 8.031 kB / 0.6013 GB, free: 15.83 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.001884, allocations: 4.938 kB / 0.6013 GB, free: 15.82 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.088e-05/0.001935, allocations: 109.7 kB / 0.6014 GB, free: 15.69 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.001944, allocations: 384 / 0.6014 GB, free: 15.69 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.001951, allocations: 4.375 kB / 0.6014 GB, free: 15.69 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.421e-05/0.002015, allocations: 30.2 kB / 0.6014 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.00202, allocations: 192 / 0.6014 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-06/0.002025, allocations: 384 / 0.6014 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.002029, allocations: 4.375 kB / 0.6014 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.002051, allocations: 7.922 kB / 0.6014 GB, free: 15.64 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.002236, allocations: 69.03 kB / 0.6015 GB, free: 15.56 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.002273, allocations: 18.61 kB / 0.6015 GB, free: 15.53 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.186e-05/0.002285, allocations: 8.922 kB / 0.6015 GB, free: 15.52 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.002392, allocations: 4 kB / 0.6015 GB, free: 15.52 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.002412, allocations: 34.5 kB / 0.6016 GB, free: 15.47 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.002413, allocations: 0 / 0.6016 GB, free: 15.47 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2): time 8.208e-05/0.002495, allocations: 37.69 kB / 0.6016 GB, free: 15.43 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.002519, allocations: 51.41 kB / 0.6016 GB, free: 15.37 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.879e-05/0.002548, allocations: 89.86 kB / 0.6017 GB, free: 15.27 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.002555, allocations: 29.83 kB / 0.6018 GB, free: 15.23 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.002572, allocations: 80.14 kB / 0.6018 GB, free: 15.15 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.002588, allocations: 11.95 kB / 0.6018 GB, free: 15.14 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.00261, allocations: 17.69 kB / 0.6019 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.002676, allocations: 318.8 kB / 0.6022 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.002683, allocations: 0 / 0.6022 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.002688, allocations: 3.938 kB / 0.6022 GB, free: 14.79 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.002713, allocations: 16.86 kB / 0.6022 GB, free: 14.77 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002714, allocations: 0 / 0.6022 GB, free: 14.77 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.568e-05/0.00275, allocations: 37.75 kB / 0.6022 GB, free: 14.73 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.002761, allocations: 8 kB / 0.6022 GB, free: 14.72 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.002765, allocations: 3.938 kB / 0.6022 GB, free: 14.72 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.002772, allocations: 0 / 0.6022 GB, free: 14.72 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.002819, allocations: 4 kB / 0.6022 GB, free: 14.71 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.002822, allocations: 0 / 0.6022 GB, free: 14.71 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.00283, allocations: 0 / 0.6022 GB, free: 14.71 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-06/0.002833, allocations: 0 / 0.6022 GB, free: 14.71 MB / 0.5887 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.46e-05/0.002878, allocations: 121.7 kB / 0.6023 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-06/0.002881, allocations: 0 / 0.6023 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.002938, allocations: 44.88 kB / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00294, allocations: 0 / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.002941, allocations: 0 / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.002944, allocations: 4 kB / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.298e-05/0.002987, allocations: 61.84 kB / 0.6025 GB, free: 14.45 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.002987, allocations: 0 / 0.6025 GB, free: 14.45 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.003004, allocations: 4 kB / 0.6025 GB, free: 14.45 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-06/0.003009, allocations: 4 kB / 0.6025 GB, free: 14.44 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00301, allocations: 0 / 0.6025 GB, free: 14.44 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.003013, allocations: 3.984 kB / 0.6025 GB, free: 14.44 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.003014, allocations: 0 / 0.6025 GB, free: 14.44 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.003015, allocations: 4.031 kB / 0.6025 GB, free: 14.43 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.322e-05/0.003058, allocations: 65 kB / 0.6025 GB, free: 14.35 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.003065, allocations: 3.984 kB / 0.6025 GB, free: 14.35 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-06/0.00307, allocations: 4 kB / 0.6025 GB, free: 14.34 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.003087, allocations: 4 kB / 0.6025 GB, free: 14.34 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.003088, allocations: 0 / 0.6025 GB, free: 14.34 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 4.639e-06/0.003093, allocations: 4.859 kB / 0.6025 GB, free: 14.33 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003093, allocations: 0 / 0.6025 GB, free: 14.33 MB / 0.5887 GB Notification: Performance of remove unused functions: time 9.554e-05/0.003189, allocations: 4 kB / 0.6025 GB, free: 14.33 MB / 0.5887 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.51e-05/0.003284, allocations: 91.56 kB / 0.6026 GB, free: 14.23 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 4.461e-05/0.003328, allocations: 8.859 kB / 0.6026 GB, free: 14.22 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.003331, allocations: 3.938 kB / 0.6026 GB, free: 14.22 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.003341, allocations: 8.859 kB / 0.6027 GB, free: 14.21 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.512e-05/0.003386, allocations: 7.938 kB / 0.6027 GB, free: 14.2 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001373/0.003523, allocations: 95.48 kB / 0.6028 GB, free: 14.08 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.421e-05/0.003547, allocations: 55.36 kB / 0.6028 GB, free: 14 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.079e-05/0.003558, allocations: 4 kB / 0.6028 GB, free: 14 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.003585, allocations: 59.48 kB / 0.6029 GB, free: 13.94 MB / 0.5887 GB Notification: Performance of SimCode: time 3.41e-07/0.003585, allocations: 0 / 0.6029 GB, free: 13.94 MB / 0.5887 GB Notification: Performance of Templates: time 0.001874/0.005459, allocations: 359.7 kB / 0.6032 GB, free: 13.59 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.32626845035702]