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.04351/0.04351, allocations: 9.13 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.0007416/0.0007416, allocations: 95.14 kB / 35.33 MB, free: 1.062 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.0009197/0.0009197, allocations: 167.7 kB / 38.73 MB, free: 2.496 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.9207/0.9207, 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.003934/0.003934, allocations: 0.8296 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.666/1.666, 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.193e-06/1.193e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.336e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001045/0.001059, allocations: 0.6228 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002087/0.001267, allocations: 63.72 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.001284, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.001297, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.001305, allocations: 4 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.001533, allocations: 23.91 kB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.001579, allocations: 11.94 kB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.001614, allocations: 3.984 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.001645, allocations: 8 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.001688, allocations: 11.97 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.001704, allocations: 0 / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.001786, allocations: 11.94 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.001803, allocations: 7.984 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.001815, allocations: 4 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.442e-05/0.00189, allocations: 23.91 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.001892, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.6e-07/0.001892, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.001897, allocations: 0 / 0.6387 GB, free: 13.28 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.0002358/0.002133, allocations: 228.7 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.002164, allocations: 15.98 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.002187, allocations: 4.922 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.992e-05/0.002237, allocations: 109.7 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-06/0.002244, allocations: 384 / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.002253, allocations: 4.375 kB / 0.639 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.624e-05/0.002329, allocations: 70.53 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.002335, allocations: 4.188 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.002343, allocations: 4.375 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.002347, allocations: 384 / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.002366, allocations: 19.81 kB / 0.6391 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.912e-05/0.002445, allocations: 84.59 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/0.002508, allocations: 97.09 kB / 0.6393 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.002532, allocations: 32.3 kB / 0.6393 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.002619, allocations: 15.98 kB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.00264, allocations: 34.56 kB / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.002641, allocations: 0 / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0001383/0.002779, allocations: 65.5 kB / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.002832, allocations: 158.2 kB / 0.6396 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.451e-05/0.002857, allocations: 89.86 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.002867, allocations: 29.7 kB / 0.6397 GB, free: 12 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.002885, allocations: 80.77 kB / 0.6398 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.002913, allocations: 12.19 kB / 0.6398 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.002939, allocations: 25.7 kB / 0.6398 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.003012, allocations: 322.8 kB / 0.6401 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-06/0.003018, allocations: 0 / 0.6401 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.003041, allocations: 32.3 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.003082, allocations: 48.2 kB / 0.6402 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003084, allocations: 4 kB / 0.6402 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.988e-05/0.003134, allocations: 57.55 kB / 0.6403 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.003146, allocations: 11.94 kB / 0.6403 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.00315, allocations: 0 / 0.6403 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.00316, allocations: 4 kB / 0.6403 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.003207, allocations: 8.062 kB / 0.6403 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.003213, allocations: 11.98 kB / 0.6403 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.003228, allocations: 3.953 kB / 0.6403 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.003236, allocations: 7.984 kB / 0.6403 GB, free: 11.33 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.184e-05/0.003288, allocations: 121.9 kB / 0.6404 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.003295, allocations: 0 / 0.6404 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.003393, allocations: 80.53 kB / 0.6405 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.003396, allocations: 4 kB / 0.6405 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.003397, allocations: 0 / 0.6405 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.0034, allocations: 0 / 0.6405 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.093e-05/0.003471, allocations: 85.92 kB / 0.6406 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.003472, allocations: 0 / 0.6406 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.003501, allocations: 19.92 kB / 0.6406 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.003503, allocations: 4 kB / 0.6406 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.00351, allocations: 4 kB / 0.6406 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.003512, allocations: 4 kB / 0.6406 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.003513, allocations: 0 / 0.6406 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.35e-05/0.003586, allocations: 104.4 kB / 0.6407 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.003592, allocations: 7.953 kB / 0.6407 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.003601, allocations: 7.984 kB / 0.6407 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.003614, allocations: 8 kB / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.003627, allocations: 8 kB / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.003631, allocations: 3.984 kB / 0.6408 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.799e-06/0.003635, allocations: 4.859 kB / 0.6408 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.003635, allocations: 4 kB / 0.6408 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001094/0.003745, allocations: 8 kB / 0.6408 GB, free: 10.79 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 8.808e-05/0.003833, allocations: 88.28 kB / 0.6409 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.003891, allocations: 36.97 kB / 0.6409 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.003892, allocations: 4.062 kB / 0.6409 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.003911, allocations: 28.78 kB / 0.6409 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.742e-05/0.003968, allocations: 8.094 kB / 0.6409 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.004149, allocations: 148 kB / 0.6411 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.004181, allocations: 63.2 kB / 0.6411 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.004209, allocations: 8.312 kB / 0.6411 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.004244, allocations: 55.38 kB / 0.6412 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of SimCode: time 3.91e-07/0.004245, allocations: 0 / 0.6412 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of Templates: time 0.001869/0.006114, allocations: 0.6448 MB / 0.6418 GB, free: 9.645 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.307822852861136]