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.0007748/0.0007748, 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.0007922/0.0007922, 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.8711/0.8711, allocations: 177.1 MB / 203.6 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.0352/0.0352, allocations: 9.125 MB / 269.2 MB, free: 4.438 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.0003795/0.0003795, allocations: 31.83 kB / 328.7 MB, free: 5.797 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.501/1.501, allocations: 274.9 MB / 0.6476 GB, free: 2.844 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.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9295 GB, free: 20.87 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.843e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.86 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001073/0.001092, allocations: 0.6454 MB / 0.9302 GB, free: 20.46 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.001727, allocations: 0.8577 MB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.001757, allocations: 0 / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.00178, allocations: 0.7031 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.001838, allocations: 1.719 kB / 0.931 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.002, allocations: 18.28 kB / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 6.098e-05/0.002061, allocations: 24.09 kB / 0.931 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.002142, allocations: 3.594 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.002206, allocations: 15.73 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.092e-05/0.002237, allocations: 10.55 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.00225, allocations: 1.438 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.00229, allocations: 8.188 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.002303, allocations: 2.516 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.002319, allocations: 10.48 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 9.244e-05/0.002411, allocations: 32.3 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.002414, allocations: 1.906 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.122e-06/0.002415, allocations: 0 / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.002418, allocations: 0 / 0.9311 GB, free: 19.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000301/0.002719, allocations: 260.9 kB / 0.9314 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.002759, allocations: 12.14 kB / 0.9314 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.002824, allocations: 4.234 kB / 0.9314 GB, free: 19.49 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.022e-05/0.002884, allocations: 113.3 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.002893, allocations: 1.688 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.002904, allocations: 1.906 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.003026, allocations: 56.7 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003033, allocations: 192 / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.003042, allocations: 1.594 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003046, allocations: 384 / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.00314, allocations: 36.34 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.003362, allocations: 203.3 kB / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.156e-05/0.003434, allocations: 39.62 kB / 0.9318 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.003479, allocations: 20.27 kB / 0.9318 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.003498, allocations: 0 / 0.9318 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.003512, allocations: 32.62 kB / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.003513, allocations: 0 / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.00373, allocations: 88.86 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.245e-05/0.003742, allocations: 55.34 kB / 0.932 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.295e-05/0.003785, allocations: 102.7 kB / 0.9321 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.003792, allocations: 25.7 kB / 0.9321 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.003811, allocations: 82.47 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.003826, allocations: 8.828 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.003845, allocations: 16.53 kB / 0.9322 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.523e-05/0.003871, allocations: 313.6 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.003912, allocations: 17.7 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.003949, allocations: 19.12 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.633e-05/0.004026, allocations: 36.25 kB / 0.9326 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004027, allocations: 1.125 kB / 0.9326 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.00413, allocations: 63.36 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004141, allocations: 9.641 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.004147, allocations: 5.312 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.004159, allocations: 3.938 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.004227, allocations: 12.2 kB / 0.9327 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.004235, allocations: 1.125 kB / 0.9327 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.004258, allocations: 6.109 kB / 0.9327 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004263, allocations: 1.125 kB / 0.9327 GB, free: 18.27 MB / 0.7293 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 3.125e-05/0.004294, allocations: 109 kB / 0.9328 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.004308, allocations: 4.516 kB / 0.9328 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.004434, allocations: 75.33 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.004438, allocations: 6.453 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004438, allocations: 0 / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.004445, allocations: 6.312 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.004454, allocations: 1.469 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.004492, allocations: 4.484 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.004525, allocations: 2.969 kB / 0.9329 GB, free: 18.11 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001127/0.004638, allocations: 155 kB / 0.9331 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001134/0.004751, allocations: 235.4 kB / 0.9333 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.939e-05/0.004801, allocations: 23.88 kB / 0.9333 GB, free: 17.77 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.293e-05/0.004813, allocations: 79.64 kB / 0.9334 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of Backend: time 1.2e-07/0.004814, allocations: 3.938 kB / 0.9334 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.005085, allocations: 103.1 kB / 0.9335 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002594/0.005344, allocations: 0.5559 MB / 0.934 GB, free: 17.03 MB / 0.7293 GB Notification: Performance of Templates: time 0.002029/0.007374, allocations: 0.657 MB / 0.9347 GB, free: 16.96 MB / 0.7293 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: 4.688561475835741] Failed to read output from testmodel.py, exit status != 0: 0.01192088145762682 0.019544172000000002 0.015526049 Calling exit ...