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.0008375/0.0008375, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008382/0.0008382, allocations: 211.7 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8979/0.8979, allocations: 230.6 MB / 256.8 MB, free: 3.43 MB / 202.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.03601/0.03601, allocations: 12.19 MB / 325.4 MB, free: 3.418 MB / 250.7 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.0005486/0.0005486, allocations: 38.47 kB / 384.9 MB, free: 45.77 MB / 298.7 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 1.594/1.594, allocations: 353.8 MB / 0.7794 GB, free: 13.04 MB / 0.5262 GB " [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: 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.001385/0.001385, allocations: 125.9 kB / 1.061 GB, free: 9.324 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2157, allocations: 134.9 MB / 1.193 GB, free: 2.52 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001199/0.2169, allocations: 0.6108 MB / 1.194 GB, free: 1.91 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.2171, allocations: 72.17 kB / 1.194 GB, free: 1.84 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.2171, allocations: 0 / 1.194 GB, free: 1.84 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.2171, allocations: 11.88 kB / 1.194 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.2171, allocations: 0 / 1.194 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2173, allocations: 19.97 kB / 1.194 GB, free: 1.809 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.2174, allocations: 8 kB / 1.194 GB, free: 1.801 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.2174, allocations: 4 kB / 1.194 GB, free: 1.797 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.2174, allocations: 7.984 kB / 1.194 GB, free: 1.789 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2175, allocations: 11.92 kB / 1.194 GB, free: 1.777 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.2175, allocations: 0 / 1.194 GB, free: 1.777 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.2176, allocations: 19.92 kB / 1.194 GB, free: 1.758 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.2176, allocations: 0 / 1.194 GB, free: 1.758 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.2176, allocations: 8 kB / 1.194 GB, free: 1.75 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.76e-05/0.2177, allocations: 23.89 kB / 1.194 GB, free: 1.727 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2177, allocations: 0 / 1.194 GB, free: 1.727 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2177, allocations: 0 / 1.194 GB, free: 1.727 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2177, allocations: 0 / 1.194 GB, free: 1.727 MB / 0.823 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.00027/0.218, allocations: 254.3 kB / 1.194 GB, free: 1.445 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.218, allocations: 11.98 kB / 1.194 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.218, allocations: 0.9375 kB / 1.194 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.177e-05/0.2181, allocations: 110.5 kB / 1.194 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2181, allocations: 4.375 kB / 1.194 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2181, allocations: 384 / 1.194 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2182, allocations: 74.47 kB / 1.194 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2182, allocations: 192 / 1.194 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2182, allocations: 7.938 kB / 1.194 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2182, allocations: 0 / 1.194 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.2182, allocations: 15.94 kB / 1.194 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.2184, allocations: 150.7 kB / 1.194 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.2184, allocations: 105 kB / 1.195 GB, free: 0.832 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.2184, allocations: 28.36 kB / 1.195 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.2186, allocations: 4 kB / 1.195 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2186, allocations: 50.48 kB / 1.195 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 6.42e-07/0.2186, allocations: 3.938 kB / 1.195 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001423/0.2187, allocations: 77.45 kB / 1.195 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2188, allocations: 154.2 kB / 1.195 GB, free: 464 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.393e-05/0.2188, allocations: 93.84 kB / 1.195 GB, free: 360 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.2188, allocations: 26.33 kB / 1.195 GB, free: 328 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.2188, allocations: 88.08 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2189, allocations: 23.83 kB / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.2189, allocations: 13.72 kB / 1.195 GB, free: 192 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.219, allocations: 322.8 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.219, allocations: 4 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.219, allocations: 28.3 kB / 1.195 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.2191, allocations: 56.34 kB / 1.195 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2191, allocations: 8 kB / 1.195 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.145e-05/0.2191, allocations: 61.69 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2191, allocations: 8.031 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2191, allocations: 0 / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2191, allocations: 7.938 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.2192, allocations: 11.98 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2192, allocations: 0 / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.2192, allocations: 4 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2192, allocations: 0 / 1.196 GB, free: 15.64 MB / 0.8387 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 4.805e-05/0.2193, allocations: 113.8 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.2193, allocations: 3.953 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.2194, allocations: 112.4 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2194, allocations: 0 / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2194, allocations: 4 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2194, allocations: 3.984 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.831e-05/0.2195, allocations: 132.9 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2195, allocations: 7.984 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.2195, allocations: 12 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2195, allocations: 0 / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2195, allocations: 11.94 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2195, allocations: 0 / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.2196, allocations: 15.92 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.626e-05/0.2196, allocations: 120.5 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.2196, allocations: 11.94 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.2197, allocations: 4.031 kB / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.2197, allocations: 3.938 kB / 1.196 GB, free: 15.01 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.2197, allocations: 7.984 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2197, allocations: 8 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.2197, allocations: 79.28 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2197, allocations: 3.938 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001416/0.2198, allocations: 8 kB / 1.196 GB, free: 14.9 MB / 0.8387 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.0001102/0.22, allocations: 99.23 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.22, allocations: 43.86 kB / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.22, allocations: 0 / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.2201, allocations: 24.23 kB / 1.196 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.2202, allocations: 8 kB / 1.196 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.2204, allocations: 173.9 kB / 1.196 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.2205, allocations: 0.6768 MB / 1.197 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.2205, allocations: 15.75 kB / 1.197 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of SimCode: time 3.91e-07/0.2205, allocations: 4 kB / 1.197 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of Templates: time 0.001354/0.2219, allocations: 0.6796 MB / 1.198 GB, free: 13.1 MB / 0.8387 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: 6.576559870503843] Failed to read output from testmodel.py, exit status != 0: 0.22731705009937286 0.23459773700000003 0.015432132000000001 Calling exit ...