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/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.000808/0.000808, allocations: 75.69 kB / 20.03 MB, free: 4.496 MB / 18.57 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.0008871/0.0008871, allocations: 169.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8872/0.8872, allocations: 177.1 MB / 203.7 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.03518/0.03518, allocations: 9.131 MB / 269.2 MB, free: 4.43 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004127/0.0004127, allocations: 31.94 kB / 328.7 MB, free: 5.801 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.534/1.534, allocations: 274.9 MB / 0.6476 GB, free: 2.875 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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.273e-06/1.273e-06, allocations: 0 / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.681e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.0009613/0.0009781, allocations: 0.6136 MB / 0.9301 GB, free: 20.51 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.00117, allocations: 62.84 kB / 0.9302 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.001188, allocations: 0 / 0.9302 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.001199, allocations: 0 / 0.9302 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-06/0.001206, allocations: 0 / 0.9302 GB, free: 20.47 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.001434, allocations: 27.59 kB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.001478, allocations: 14.19 kB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.001511, allocations: 0.6094 kB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.00154, allocations: 10.22 kB / 0.9302 GB, free: 20.45 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.001584, allocations: 9.891 kB / 0.9303 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.001596, allocations: 1.25 kB / 0.9303 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.383e-05/0.001659, allocations: 12.7 kB / 0.9303 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.001674, allocations: 2.188 kB / 0.9303 GB, free: 20.44 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.00169, allocations: 11.06 kB / 0.9303 GB, free: 20.43 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.001769, allocations: 21.27 kB / 0.9303 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.001771, allocations: 1.188 kB / 0.9303 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.253e-06/0.001773, allocations: 0 / 0.9303 GB, free: 20.42 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.001776, allocations: 0 / 0.9303 GB, free: 20.42 MB / 0.7293 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.0002396/0.002016, allocations: 244.7 kB / 0.9305 GB, free: 20.16 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.002054, allocations: 16.42 kB / 0.9305 GB, free: 20.16 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.002078, allocations: 11 kB / 0.9306 GB, free: 20.15 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.419e-05/0.002113, allocations: 108.4 kB / 0.9307 GB, free: 20.02 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.002121, allocations: 1.906 kB / 0.9307 GB, free: 20.02 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.002132, allocations: 1.5 kB / 0.9307 GB, free: 20.02 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.002229, allocations: 69.64 kB / 0.9307 GB, free: 19.95 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002236, allocations: 192 / 0.9307 GB, free: 19.95 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.002245, allocations: 6.5 kB / 0.9307 GB, free: 19.94 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.00225, allocations: 1.656 kB / 0.9307 GB, free: 19.94 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.002278, allocations: 24 kB / 0.9308 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.693e-05/0.002364, allocations: 129 kB / 0.9309 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.002416, allocations: 95.47 kB / 0.931 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.00244, allocations: 38.89 kB / 0.931 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.002563, allocations: 13.22 kB / 0.931 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.002579, allocations: 36.02 kB / 0.9311 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.00258, allocations: 0 / 0.9311 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5): time 0.0001486/0.002728, allocations: 72.36 kB / 0.9311 GB, free: 19.5 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.002749, allocations: 161.4 kB / 0.9313 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.124e-05/0.002761, allocations: 93.89 kB / 0.9314 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.002765, allocations: 25.7 kB / 0.9314 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-06/0.002771, allocations: 81.61 kB / 0.9315 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.002802, allocations: 18.92 kB / 0.9315 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.002823, allocations: 23.62 kB / 0.9315 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.389e-05/0.002847, allocations: 317.2 kB / 0.9318 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.00286, allocations: 4.25 kB / 0.9318 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.002879, allocations: 36.97 kB / 0.9319 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.002923, allocations: 50.91 kB / 0.9319 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.002925, allocations: 0 / 0.9319 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.456e-05/0.00299, allocations: 67.34 kB / 0.932 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.003003, allocations: 6.609 kB / 0.932 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003007, allocations: 5.469 kB / 0.932 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.00302, allocations: 1.469 kB / 0.932 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.003074, allocations: 13.61 kB / 0.932 GB, free: 18.59 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.003083, allocations: 11.73 kB / 0.932 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.003099, allocations: 1.375 kB / 0.932 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.003106, allocations: 6.922 kB / 0.932 GB, free: 18.57 MB / 0.7293 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 3.203e-05/0.003138, allocations: 113.1 kB / 0.9321 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.003147, allocations: 7.047 kB / 0.9321 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.003271, allocations: 96.86 kB / 0.9322 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.003274, allocations: 1.719 kB / 0.9322 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.003276, allocations: 2.062 kB / 0.9322 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.003282, allocations: 8.125 kB / 0.9322 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.003292, allocations: 10.42 kB / 0.9322 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.003307, allocations: 1.531 kB / 0.9322 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.003327, allocations: 8.609 kB / 0.9323 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001016/0.003429, allocations: 466.8 kB / 0.9327 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001057/0.003535, allocations: 0.5438 MB / 0.9332 GB, free: 17.43 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.983e-05/0.003564, allocations: 21.41 kB / 0.9332 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 8.336e-06/0.003573, allocations: 77.47 kB / 0.9333 GB, free: 17.35 MB / 0.7293 GB Notification: Performance of Backend: time 1.1e-07/0.003573, allocations: 0 / 0.9333 GB, free: 17.35 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.004021, allocations: 98.11 kB / 0.9334 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002134/0.004234, allocations: 0.5527 MB / 0.934 GB, free: 16.7 MB / 0.7293 GB Notification: Performance of Templates: time 0.001901/0.006135, allocations: 0.6133 MB / 0.9346 GB, free: 16.61 MB / 0.7293 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=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.856032873503864] Failed to read output from testmodel.py, exit status != 0: 0.010521003976464272 0.017956037 0.014612110000000001 Calling exit ...