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.001481/0.001481, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001739/0.001739, allocations: 217 kB / 22.26 MB, free: 5.082 MB / 14.72 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.627/1.627, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.06609/0.06609, allocations: 12.19 MB / 324.6 MB, free: 7.293 MB / 254.1 MB " [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.0009292/0.0009292, allocations: 37.64 kB / 384.1 MB, free: 46.63 MB / 302.1 MB " [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 2.749/2.749, allocations: 353.8 MB / 0.7787 GB, free: 1.047 MB / 0.5138 GB " [Timeout remaining time 177] 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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003789/0.003789, allocations: 125.5 kB / 1.061 GB, free: 12.96 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3561, allocations: 134.9 MB / 1.192 GB, free: 6.141 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.002234/0.3583, allocations: 0.607 MB / 1.193 GB, free: 5.535 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.3587, allocations: 68.17 kB / 1.193 GB, free: 5.469 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.3587, allocations: 4 kB / 1.193 GB, free: 5.465 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3587, allocations: 3.938 kB / 1.193 GB, free: 5.461 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-06/0.3587, allocations: 4 kB / 1.193 GB, free: 5.457 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.359, allocations: 23.92 kB / 1.193 GB, free: 5.434 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.3591, allocations: 7.984 kB / 1.193 GB, free: 5.426 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.3592, allocations: 0 / 1.193 GB, free: 5.426 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.3592, allocations: 7.984 kB / 1.193 GB, free: 5.418 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.3592, allocations: 15.92 kB / 1.193 GB, free: 5.402 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3593, allocations: 0 / 1.193 GB, free: 5.402 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.3593, allocations: 11.98 kB / 1.193 GB, free: 5.391 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.3594, allocations: 8 kB / 1.193 GB, free: 5.383 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3594, allocations: 7.984 kB / 1.193 GB, free: 5.375 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3595, allocations: 27.8 kB / 1.193 GB, free: 5.348 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3595, allocations: 0 / 1.193 GB, free: 5.348 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3595, allocations: 0 / 1.193 GB, free: 5.348 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3595, allocations: 3.984 kB / 1.193 GB, free: 5.344 MB / 0.8263 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.0004349/0.36, allocations: 246.4 kB / 1.193 GB, free: 5.07 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.36, allocations: 11.98 kB / 1.193 GB, free: 5.059 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.36, allocations: 4.938 kB / 1.193 GB, free: 5.055 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.3601, allocations: 110.5 kB / 1.193 GB, free: 4.922 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3601, allocations: 384 / 1.193 GB, free: 4.922 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3601, allocations: 4.375 kB / 1.193 GB, free: 4.918 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3603, allocations: 66.55 kB / 1.194 GB, free: 4.832 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3603, allocations: 4.125 kB / 1.194 GB, free: 4.828 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3604, allocations: 11.92 kB / 1.194 GB, free: 4.816 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3604, allocations: 4 kB / 1.194 GB, free: 4.812 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.3604, allocations: 11.94 kB / 1.194 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.3606, allocations: 148.2 kB / 1.194 GB, free: 4.602 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3608, allocations: 93.11 kB / 1.194 GB, free: 4.465 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.3608, allocations: 40.41 kB / 1.194 GB, free: 4.41 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.361, allocations: 11.98 kB / 1.194 GB, free: 4.398 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.361, allocations: 34.56 kB / 1.194 GB, free: 4.355 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.361, allocations: 0 / 1.194 GB, free: 4.355 MB / 0.8263 GB Notification: Performance of matching and sorting (n=5): time 0.0002415/0.3613, allocations: 85.38 kB / 1.194 GB, free: 4.266 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.3614, allocations: 158.2 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.3615, allocations: 90.48 kB / 1.194 GB, free: 3.977 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3615, allocations: 29.7 kB / 1.194 GB, free: 3.941 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3615, allocations: 84.08 kB / 1.194 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.3616, allocations: 21.61 kB / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3616, allocations: 21.72 kB / 1.194 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3618, allocations: 310.8 kB / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.3618, allocations: 7.984 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.3618, allocations: 36.3 kB / 1.195 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.3619, allocations: 44.23 kB / 1.195 GB, free: 3.379 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3619, allocations: 0 / 1.195 GB, free: 3.379 MB / 0.8263 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.3621, allocations: 69.55 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3621, allocations: 9.406 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3621, allocations: 0 / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3621, allocations: 3.938 kB / 1.195 GB, free: 3.293 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.3622, allocations: 11.94 kB / 1.195 GB, free: 3.281 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3622, allocations: 11.97 kB / 1.195 GB, free: 3.27 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.3622, allocations: 4 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3622, allocations: 4 kB / 1.195 GB, free: 3.262 MB / 0.8263 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 8.784e-05/0.3623, allocations: 110 kB / 1.195 GB, free: 3.145 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.3623, allocations: 11.89 kB / 1.195 GB, free: 3.133 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3626, allocations: 104.6 kB / 1.195 GB, free: 3.027 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3626, allocations: 4 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3626, allocations: 4.156 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.3626, allocations: 7.984 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3628, allocations: 132.8 kB / 1.195 GB, free: 2.84 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3628, allocations: 0 / 1.195 GB, free: 2.84 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.3628, allocations: 19.92 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3628, allocations: 4 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3628, allocations: 3.938 kB / 1.195 GB, free: 2.812 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3628, allocations: 4 kB / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3628, allocations: 0 / 1.195 GB, free: 2.809 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.363, allocations: 128.4 kB / 1.195 GB, free: 2.652 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.363, allocations: 7.938 kB / 1.195 GB, free: 2.645 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3631, allocations: 7.938 kB / 1.195 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.3631, allocations: 0 / 1.195 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3631, allocations: 15.98 kB / 1.195 GB, free: 2.621 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3631, allocations: 7.938 kB / 1.195 GB, free: 2.613 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.3632, allocations: 75.28 kB / 1.195 GB, free: 2.539 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 3.938 kB / 1.195 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002052/0.3634, allocations: 4 kB / 1.195 GB, free: 2.531 MB / 0.8263 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.0001974/0.3636, allocations: 103.2 kB / 1.196 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3637, allocations: 40.09 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3637, allocations: 4.125 kB / 1.196 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.3637, allocations: 23.94 kB / 1.196 GB, free: 2.352 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.3639, allocations: 4 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.3643, allocations: 148.5 kB / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3647, allocations: 0.6846 MB / 1.196 GB, free: 1.453 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.3647, allocations: 8 kB / 1.196 GB, free: 1.445 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.3648, allocations: 11.44 kB / 1.196 GB, free: 1.434 MB / 0.8263 GB Notification: Performance of SimCode: time 3.1e-07/0.3648, allocations: 0 / 1.196 GB, free: 1.434 MB / 0.8263 GB Notification: Performance of Templates: time 0.003574/0.3683, allocations: 0.596 MB / 1.197 GB, free: 0.8398 MB / 0.8263 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: 9.116343975067139] Failed to read output from testmodel.py, exit status != 0: 0.3773066848516464 0.39267069000000004 0.029851751000000003 Calling exit ...