Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Round.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.04587/0.04587, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.001125/0.001125, allocations: 98.95 kB / 35.33 MB, free: 1.07 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.001248/0.001248, allocations: 170.6 kB / 38.73 MB, free: 2.5 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.036/1.036, allocations: 177.2 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.004116/0.004116, allocations: 0.8292 MB / 276.5 MB, free: 0.7617 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.714/1.714, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Round") translateModel(AixLib.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.27e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001666/0.001689, allocations: 0.6815 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.001898, allocations: 63.72 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.001913, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.001925, allocations: 3.938 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001932, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.002121, allocations: 19.97 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.002164, allocations: 15.98 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.0022, allocations: 4 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.002232, allocations: 7.984 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.002273, allocations: 7.984 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.002283, allocations: 0 / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.658e-05/0.00236, allocations: 19.92 kB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.002373, allocations: 7.875 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.034e-05/0.002383, allocations: 0 / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.122e-05/0.002455, allocations: 23.95 kB / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.002457, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002458, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.002462, allocations: 8 kB / 0.6388 GB, free: 13.17 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.0002287/0.00269, allocations: 216.7 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.002721, allocations: 11.98 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.002752, allocations: 8.938 kB / 0.639 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.259e-05/0.002804, allocations: 101.8 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.002815, allocations: 8.359 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.002821, allocations: 384 / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.002901, allocations: 74.47 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.002909, allocations: 192 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.002915, allocations: 384 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.002922, allocations: 8.375 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.002941, allocations: 15.86 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.364e-05/0.003025, allocations: 84.55 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.003094, allocations: 97.03 kB / 0.6394 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.003119, allocations: 36.41 kB / 0.6394 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/0.003212, allocations: 8 kB / 0.6394 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.003234, allocations: 38.5 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.003235, allocations: 0 / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0001047/0.00334, allocations: 69.48 kB / 0.6395 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.003393, allocations: 162.2 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.003417, allocations: 89.86 kB / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.003426, allocations: 25.7 kB / 0.6398 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.003446, allocations: 80.14 kB / 0.6399 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.003479, allocations: 20.19 kB / 0.6399 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.003503, allocations: 17.7 kB / 0.6399 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.003571, allocations: 319.4 kB / 0.6402 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.003582, allocations: 12 kB / 0.6402 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.003604, allocations: 32.28 kB / 0.6403 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.003648, allocations: 44.22 kB / 0.6403 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003649, allocations: 0 / 0.6403 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.9e-05/0.003708, allocations: 57.72 kB / 0.6404 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.003719, allocations: 8 kB / 0.6404 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.003724, allocations: 4 kB / 0.6404 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.003735, allocations: 0 / 0.6404 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.003784, allocations: 16.11 kB / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.003787, allocations: 0 / 0.6404 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.003806, allocations: 11.94 kB / 0.6404 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.003811, allocations: 0 / 0.6404 GB, free: 11.24 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 5.389e-05/0.003865, allocations: 121.7 kB / 0.6405 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.003875, allocations: 8 kB / 0.6405 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.00399, allocations: 80.53 kB / 0.6406 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.003992, allocations: 0 / 0.6406 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.003995, allocations: 4 kB / 0.6406 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.003999, allocations: 3.984 kB / 0.6406 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.887e-05/0.004067, allocations: 77.78 kB / 0.6407 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.00407, allocations: 4 kB / 0.6407 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.004101, allocations: 15.98 kB / 0.6407 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004102, allocations: 4.156 kB / 0.6407 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.004109, allocations: 4 kB / 0.6407 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00411, allocations: 0 / 0.6407 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.004113, allocations: 7.938 kB / 0.6407 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.00419, allocations: 112.4 kB / 0.6408 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.004197, allocations: 7.953 kB / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-06/0.004204, allocations: 0 / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.004219, allocations: 11.94 kB / 0.6408 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.004235, allocations: 7.984 kB / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.004238, allocations: 4 kB / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.983e-06/0.004245, allocations: 8.859 kB / 0.6409 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004245, allocations: 0 / 0.6409 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001189/0.004364, allocations: 8 kB / 0.6409 GB, free: 10.69 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001114/0.004476, allocations: 88.34 kB / 0.641 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.004545, allocations: 40.64 kB / 0.641 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.004547, allocations: 0 / 0.641 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.04e-05/0.004567, allocations: 29.36 kB / 0.641 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.104e-05/0.004638, allocations: 11.95 kB / 0.641 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.004821, allocations: 132.2 kB / 0.6412 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.004852, allocations: 63.22 kB / 0.6412 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.004879, allocations: 11.92 kB / 0.6412 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.004914, allocations: 59.38 kB / 0.6413 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of SimCode: time 5.11e-07/0.004915, allocations: 0 / 0.6413 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of Templates: time 0.001998/0.006913, allocations: 0.6449 MB / 0.6419 GB, free: 9.547 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Round.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.520011461805552]