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.0008363/0.0008363, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 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.001002/0.001002, allocations: 216.7 kB / 23 MB, free: 2.977 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.9356/0.9356, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.04214/0.04214, allocations: 12.2 MB / 325.4 MB, free: 6.109 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.0003645/0.0003645, allocations: 27.95 kB / 384.8 MB, free: 10.55 MB / 314.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.655/1.655, allocations: 353.9 MB / 0.7794 GB, free: 4.578 MB / 0.5105 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.001424/0.001424, allocations: 113.2 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2289, allocations: 134.9 MB / 1.193 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Round): time 0.001344/0.2302, allocations: 0.6047 MB / 1.194 GB, free: 6.348 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.2305, allocations: 68.19 kB / 1.194 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.2305, allocations: 0 / 1.194 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.2305, allocations: 0 / 1.194 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.2305, allocations: 4 kB / 1.194 GB, free: 6.277 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.2308, allocations: 19.92 kB / 1.194 GB, free: 6.258 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.565e-05/0.2308, allocations: 4 kB / 1.194 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.2309, allocations: 15.97 kB / 1.194 GB, free: 6.238 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.2309, allocations: 7.938 kB / 1.194 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.2309, allocations: 4 kB / 1.194 GB, free: 6.227 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2309, allocations: 0 / 1.194 GB, free: 6.227 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.231, allocations: 11.98 kB / 1.194 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.231, allocations: 4 kB / 1.194 GB, free: 6.211 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.231, allocations: 11.91 kB / 1.194 GB, free: 6.199 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.2311, allocations: 23.92 kB / 1.194 GB, free: 6.176 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2311, allocations: 0 / 1.194 GB, free: 6.176 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2311, allocations: 0 / 1.194 GB, free: 6.176 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2311, allocations: 0 / 1.194 GB, free: 6.176 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.0002814/0.2314, allocations: 254.3 kB / 1.194 GB, free: 5.895 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2315, allocations: 8.031 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2315, allocations: 4.938 kB / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.148e-05/0.2315, allocations: 106.5 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.2316, allocations: 4.312 kB / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2316, allocations: 384 / 1.194 GB, free: 5.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2317, allocations: 82.47 kB / 1.194 GB, free: 5.648 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2317, allocations: 192 / 1.194 GB, free: 5.648 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2317, allocations: 3.938 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2317, allocations: 0 / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.2317, allocations: 15.94 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.2318, allocations: 128.9 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.2319, allocations: 101 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.2319, allocations: 32.34 kB / 1.194 GB, free: 5.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.2321, allocations: 4 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2321, allocations: 42.56 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.2321, allocations: 0 / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001581/0.2323, allocations: 81.38 kB / 1.195 GB, free: 5.129 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.2323, allocations: 162.2 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.706e-05/0.2323, allocations: 89.86 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2324, allocations: 25.7 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.2324, allocations: 84.12 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2324, allocations: 16.47 kB / 1.195 GB, free: 4.703 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2324, allocations: 21.7 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.2325, allocations: 318.8 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.2325, allocations: 4 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.2325, allocations: 36.28 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.2326, allocations: 52.17 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2326, allocations: 0 / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.221e-05/0.2327, allocations: 65.61 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2327, allocations: 5.875 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2327, allocations: 4 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2327, allocations: 0 / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.2328, allocations: 15.88 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2328, allocations: 0 / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.2328, allocations: 7.984 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2328, allocations: 4 kB / 1.195 GB, free: 4.129 MB / 0.823 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.085e-05/0.2328, allocations: 109.8 kB / 1.196 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.2328, allocations: 16.05 kB / 1.196 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.233, allocations: 100.7 kB / 1.196 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.233, allocations: 11.88 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.233, allocations: 0 / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.233, allocations: 4 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.169e-05/0.2331, allocations: 105.3 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2331, allocations: 12.08 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.2331, allocations: 12 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2331, allocations: 4 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2331, allocations: 0 / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2331, allocations: 4 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2331, allocations: 3.938 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.2332, allocations: 129.9 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.2332, allocations: 3.938 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2332, allocations: 4 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.2332, allocations: 4 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.2333, allocations: 19.86 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2333, allocations: 4 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.83e-05/0.2333, allocations: 75.28 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2333, allocations: 0 / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001364/0.2334, allocations: 12 kB / 1.196 GB, free: 3.434 MB / 0.823 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.0001159/0.2335, allocations: 100.6 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.2336, allocations: 35.92 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2336, allocations: 320 / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.2336, allocations: 31.88 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.2338, allocations: 7.984 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.234, allocations: 166 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.234, allocations: 67.33 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.234, allocations: 11.44 kB / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Performance of SimCode: time 5.11e-07/0.234, allocations: 0 / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Performance of Templates: time 0.001498/0.2355, allocations: 0.7033 MB / 1.197 GB, free: 2.242 MB / 0.823 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: 7.06342978682369] Failed to read output from testmodel.py, exit status != 0: 0.2409854494035244 0.248437545 0.015817136000000002 Calling exit ...