Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.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.0393/0.0393, allocations: 9.131 MB / 28.99 MB, free: 332 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.0007863/0.0007863, allocations: 95.27 kB / 35.33 MB, free: 0.9297 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.002309/0.002309, allocations: 165.5 kB / 38.73 MB, free: 2.402 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.058/1.058, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004146/0.004146, allocations: 0.8343 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.613/1.613, 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothLimit") translateModel(AixLib.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.17e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothLimit): time 0.001853/0.001874, allocations: 1.538 MB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.002624, allocations: 0.5996 MB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.00267, allocations: 4 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.002693, allocations: 11.86 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.002735, allocations: 3.938 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.002954, allocations: 63.73 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.003037, allocations: 31.86 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.0031, allocations: 8 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.003197, allocations: 27.86 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.003237, allocations: 11.98 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.003249, allocations: 3.984 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.003341, allocations: 51.95 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.003353, allocations: 7.938 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.003366, allocations: 4 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003478, allocations: 83.77 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00348, allocations: 3.938 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.31e-07/0.00348, allocations: 0 / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.003483, allocations: 0 / 0.6403 GB, free: 11.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002264/0.003709, allocations: 248.7 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.003738, allocations: 11.98 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.003826, allocations: 12.92 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003928, allocations: 121.7 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.003934, allocations: 384 / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.003941, allocations: 384 / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/0.004013, allocations: 54.94 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.004018, allocations: 4.188 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.004023, allocations: 384 / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004027, allocations: 3.938 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.686e-05/0.004044, allocations: 4 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.004186, allocations: 152.2 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.004222, allocations: 22.56 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.004234, allocations: 8.891 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.004486, allocations: 79.97 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.004501, allocations: 30.56 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.004502, allocations: 0 / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.96e-05/0.004592, allocations: 41.58 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.004617, allocations: 55.39 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.00467, allocations: 114.7 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.004678, allocations: 25.7 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.0047, allocations: 80.27 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.004716, allocations: 15.95 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.004735, allocations: 13.7 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.0048, allocations: 318.8 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.004806, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.004813, allocations: 4 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.004832, allocations: 16.73 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004834, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.405e-05/0.004868, allocations: 37.69 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.004878, allocations: 7.906 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004882, allocations: 4.094 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.004892, allocations: 3.938 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/0.00493, allocations: 4 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.004933, allocations: 3.984 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.004946, allocations: 4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.004949, allocations: 0 / 0.6417 GB, free: 10 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: 0 () * 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.169e-05/0.004991, allocations: 105.8 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.005002, allocations: 4 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.00506, allocations: 49.2 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.005063, allocations: 7.969 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.005067, allocations: 8 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005069, allocations: 0 / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.097e-05/0.00514, allocations: 69.88 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005141, allocations: 0 / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.005154, allocations: 4 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.005155, allocations: 0 / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.00516, allocations: 3.984 kB / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.005161, allocations: 0 / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.005162, allocations: 4 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.371e-05/0.005225, allocations: 143.4 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.005229, allocations: 0 / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.005237, allocations: 4 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.005262, allocations: 0 / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.005281, allocations: 3.938 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.005283, allocations: 0 / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.471e-05/0.005297, allocations: 25.14 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005297, allocations: 0 / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001188/0.005416, allocations: 15.94 kB / 0.6421 GB, free: 9.516 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: 0 () * 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.746e-05/0.005514, allocations: 96.28 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.255e-05/0.005556, allocations: 20.88 kB / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.005558, allocations: 0 / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.00557, allocations: 12.8 kB / 0.6422 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.985e-05/0.00566, allocations: 4 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.005968, allocations: 132.6 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.005995, allocations: 51.36 kB / 0.6424 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.006011, allocations: 12.11 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.006039, allocations: 47.38 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of SimCode: time 3.21e-07/0.006039, allocations: 0 / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of Templates: time 0.001986/0.008025, allocations: 0.7523 MB / 0.6432 GB, free: 8.328 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.376389326062053]