Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.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.0007738/0.0007738, allocations: 117.6 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.0008133/0.0008133, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.9418/0.9418, allocations: 230.6 MB / 256.8 MB, free: 9.805 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.0365/0.0365, allocations: 12.18 MB / 325.4 MB, free: 6.262 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.0005498/0.0005498, allocations: 31.84 kB / 384.9 MB, free: 10.68 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.596/1.596, allocations: 353.8 MB / 0.7794 GB, free: 3.125 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.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos") [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.002252/0.002252, allocations: 124.2 kB / 1.061 GB, free: 24.72 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2061, allocations: 134.9 MB / 1.193 GB, free: 7.336 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001326/0.2074, allocations: 0.6496 MB / 1.194 GB, free: 6.688 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.2081, allocations: 0.867 MB / 1.195 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.2081, allocations: 0 / 1.195 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2081, allocations: 7.922 kB / 1.195 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.2082, allocations: 3.938 kB / 1.195 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.2084, allocations: 8 kB / 1.195 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.2084, allocations: 23.92 kB / 1.195 GB, free: 5.766 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.2085, allocations: 4 kB / 1.195 GB, free: 5.762 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.2086, allocations: 15.92 kB / 1.195 GB, free: 5.746 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.2086, allocations: 11.97 kB / 1.195 GB, free: 5.734 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.2086, allocations: 0 / 1.195 GB, free: 5.734 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.2087, allocations: 8 kB / 1.195 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.2087, allocations: 11.94 kB / 1.195 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.2087, allocations: 4 kB / 1.195 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.2088, allocations: 27.84 kB / 1.195 GB, free: 5.684 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2088, allocations: 0 / 1.195 GB, free: 5.684 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.175e-06/0.2088, allocations: 0 / 1.195 GB, free: 5.684 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2088, allocations: 0 / 1.195 GB, free: 5.684 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003892/0.2092, allocations: 258.4 kB / 1.195 GB, free: 5.398 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2092, allocations: 11.97 kB / 1.195 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.2093, allocations: 8.875 kB / 1.195 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.2094, allocations: 118.5 kB / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2094, allocations: 384 / 1.195 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.2094, allocations: 8.359 kB / 1.195 GB, free: 5.23 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2096, allocations: 46.23 kB / 1.195 GB, free: 5.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2096, allocations: 192 / 1.195 GB, free: 5.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.2096, allocations: 7.938 kB / 1.195 GB, free: 5.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2096, allocations: 0 / 1.195 GB, free: 5.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.2097, allocations: 35.95 kB / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.21, allocations: 220 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.21, allocations: 42.44 kB / 1.195 GB, free: 4.828 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.2101, allocations: 24.91 kB / 1.195 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2101, allocations: 0 / 1.195 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2101, allocations: 38.55 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2101, allocations: 0 / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.2103, allocations: 81.55 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2103, allocations: 51.41 kB / 1.196 GB, free: 4.605 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.2104, allocations: 101.8 kB / 1.196 GB, free: 4.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.2104, allocations: 25.83 kB / 1.196 GB, free: 4.465 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2104, allocations: 96.08 kB / 1.196 GB, free: 4.367 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.2105, allocations: 3.953 kB / 1.196 GB, free: 4.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.2105, allocations: 17.7 kB / 1.196 GB, free: 4.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.2106, allocations: 310.8 kB / 1.196 GB, free: 4.027 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.2106, allocations: 15.98 kB / 1.196 GB, free: 4.012 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.2106, allocations: 11.98 kB / 1.196 GB, free: 4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.503e-05/0.2107, allocations: 48.88 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2107, allocations: 0 / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.832e-05/0.2108, allocations: 69.55 kB / 1.196 GB, free: 3.875 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2108, allocations: 4 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2108, allocations: 3.984 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2108, allocations: 0 / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.2109, allocations: 16.03 kB / 1.196 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2109, allocations: 0 / 1.196 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.2109, allocations: 7.984 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.2109, allocations: 0 / 1.196 GB, free: 3.844 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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.993e-05/0.211, allocations: 113.8 kB / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.211, allocations: 0 / 1.196 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2111, allocations: 72.97 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2111, allocations: 4 kB / 1.196 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2111, allocations: 7.922 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2111, allocations: 0 / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2112, allocations: 132.6 kB / 1.197 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2112, allocations: 0 / 1.197 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.2112, allocations: 11.98 kB / 1.197 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2112, allocations: 0 / 1.197 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2113, allocations: 3.938 kB / 1.197 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.2113, allocations: 0 / 1.197 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.2113, allocations: 4.031 kB / 1.197 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2114, allocations: 167.4 kB / 1.197 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.2114, allocations: 0 / 1.197 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2114, allocations: 0 / 1.197 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.2114, allocations: 7.984 kB / 1.197 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.2115, allocations: 8.219 kB / 1.197 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.2115, allocations: 0 / 1.197 GB, free: 3.246 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.832e-05/0.2115, allocations: 87.27 kB / 1.197 GB, free: 3.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2115, allocations: 0 / 1.197 GB, free: 3.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001421/0.2116, allocations: 7.938 kB / 1.197 GB, free: 3.152 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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 9.176e-05/0.2117, allocations: 95.23 kB / 1.197 GB, free: 3.047 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.2119, allocations: 35.97 kB / 1.197 GB, free: 3.012 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2119, allocations: 0 / 1.197 GB, free: 3.012 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.2119, allocations: 23.97 kB / 1.197 GB, free: 2.988 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.2121, allocations: 7.938 kB / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.2123, allocations: 131.9 kB / 1.197 GB, free: 2.82 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.2125, allocations: 0.6806 MB / 1.198 GB, free: 2.113 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2125, allocations: 11.56 kB / 1.198 GB, free: 2.102 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.2125, allocations: 4 kB / 1.198 GB, free: 2.098 MB / 0.823 GB Notification: Performance of Templates: time 0.001349/0.2139, allocations: 0.5449 MB / 1.198 GB, free: 1.559 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.727478381246328] Failed to read output from testmodel.py, exit status != 0: 0.22053516004234552 0.227458987 0.016999669000000002 Calling exit ...