Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.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.04122/0.04122, 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.0007062/0.0007062, allocations: 91.27 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.001214/0.001214, allocations: 163.7 kB / 38.73 MB, free: 2.504 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.941/0.941, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004065/0.004065, allocations: 0.8224 MB / 276.5 MB, free: 0.7344 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.577/1.577, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.939e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001527/0.001546, allocations: 0.699 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.002354, allocations: 0.8936 MB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.002384, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.002409, allocations: 3.938 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.002477, allocations: 7.922 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.002631, allocations: 19.92 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.002702, allocations: 43.86 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.002778, allocations: 15.91 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.002853, allocations: 19.98 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.002897, allocations: 23.91 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.002911, allocations: 8 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.253e-05/0.002954, allocations: 8 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.002969, allocations: 8 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.002988, allocations: 11.98 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.154e-05/0.003079, allocations: 31.89 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003081, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.91e-07/0.003081, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003085, allocations: 0 / 0.6397 GB, free: 12.23 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.0002983/0.003383, allocations: 256.8 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003415, allocations: 15.98 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.00351, allocations: 8.922 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.012e-05/0.00359, allocations: 121.6 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.0036, allocations: 384 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.003609, allocations: 8.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.003711, allocations: 58.94 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.003716, allocations: 192 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.003722, allocations: 384 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.003726, allocations: 384 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.003747, allocations: 11.94 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.003926, allocations: 156.2 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.003978, allocations: 30.62 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.003995, allocations: 16.8 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.004008, allocations: 0 / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.004026, allocations: 34.56 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.004027, allocations: 0 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.985e-05/0.004127, allocations: 49.66 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.004154, allocations: 51.41 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.004214, allocations: 114.7 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.004224, allocations: 25.7 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.004252, allocations: 92.12 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.00427, allocations: 19.83 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.004292, allocations: 13.72 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.004359, allocations: 314.8 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.004369, allocations: 4 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.004378, allocations: 0 / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.004401, allocations: 16.84 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004402, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.245e-05/0.004445, allocations: 41.62 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.004455, allocations: 8 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004459, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.004469, allocations: 3.938 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.004531, allocations: 20.31 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.004534, allocations: 0 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.004554, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.004561, allocations: 3.984 kB / 0.6411 GB, free: 10.6 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 (3): * Single equations (assignments): 3 * 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.929e-05/0.00461, allocations: 109.8 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.004622, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.004701, allocations: 61.59 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.004704, allocations: 3.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.004707, allocations: 4 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.00471, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.004787, allocations: 65.91 kB / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004788, allocations: 0 / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.004815, allocations: 11.98 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.004818, allocations: 4 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.004822, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004823, allocations: 3.938 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004824, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.004898, allocations: 147.5 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.004905, allocations: 3.953 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.004913, allocations: 3.938 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.004947, allocations: 12 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.004977, allocations: 3.984 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.004982, allocations: 3.938 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.209e-05/0.004994, allocations: 12.86 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004994, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001311/0.005125, allocations: 11.98 kB / 0.6416 GB, free: 10.09 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 (3): * Single equations (assignments): 3 * 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 7.875e-05/0.005204, allocations: 72.42 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.104e-05/0.005265, allocations: 16.86 kB / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.005267, allocations: 0 / 0.6416 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.005285, allocations: 20.78 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.005415, allocations: 7.938 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.005765, allocations: 136.4 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.005796, allocations: 59.3 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.005813, allocations: 3.984 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.005858, allocations: 59.38 kB / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of SimCode: time 4.91e-07/0.005859, allocations: 4 kB / 0.6419 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of Templates: time 0.002019/0.007878, allocations: 0.6687 MB / 0.6426 GB, free: 8.988 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.227673159912229]