Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.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.0008015/0.0008015, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0008265/0.0008265, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8421/0.8421, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03525/0.03525, allocations: 9.128 MB / 269.2 MB, free: 4.43 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.0003689/0.0003689, allocations: 27.95 kB / 328.7 MB, free: 20.58 MB / 266.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.466/1.466, allocations: 275 MB / 0.6476 GB, free: 2.477 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9295 GB, free: 8.047 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.431e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.043 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0013/0.001324, allocations: 0.6581 MB / 0.9302 GB, free: 7.406 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.00202, allocations: 0.8558 MB / 0.931 GB, free: 6.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.002051, allocations: 0 / 0.931 GB, free: 6.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002072, allocations: 0.5625 kB / 0.931 GB, free: 6.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.002127, allocations: 10 kB / 0.931 GB, free: 6.531 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.002284, allocations: 7.984 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.00234, allocations: 27.92 kB / 0.931 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.002415, allocations: 0 / 0.931 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.002474, allocations: 15.92 kB / 0.9311 GB, free: 6.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.002504, allocations: 11.98 kB / 0.9311 GB, free: 6.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.002517, allocations: 8.547 kB / 0.9311 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.002554, allocations: 5.094 kB / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.002566, allocations: 0 / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.002582, allocations: 8 kB / 0.9311 GB, free: 6.449 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.002667, allocations: 32.86 kB / 0.9311 GB, free: 6.418 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002669, allocations: 0 / 0.9311 GB, free: 6.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00267, allocations: 4 kB / 0.9311 GB, free: 6.414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.002673, allocations: 0.5 kB / 0.9311 GB, free: 6.414 MB / 0.698 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.0003174/0.00299, allocations: 262.8 kB / 0.9314 GB, free: 6.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.003024, allocations: 12.67 kB / 0.9314 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.003083, allocations: 4.938 kB / 0.9314 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.997e-05/0.003153, allocations: 107 kB / 0.9315 GB, free: 5.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.00316, allocations: 384 / 0.9315 GB, free: 5.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.00317, allocations: 384 / 0.9315 GB, free: 5.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003287, allocations: 53.67 kB / 0.9315 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003293, allocations: 192 / 0.9315 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003302, allocations: 384 / 0.9315 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003306, allocations: 384 / 0.9316 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.003389, allocations: 39.89 kB / 0.9316 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.003625, allocations: 208.4 kB / 0.9318 GB, free: 5.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.259e-05/0.003698, allocations: 39.31 kB / 0.9318 GB, free: 5.605 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.003741, allocations: 22.55 kB / 0.9318 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.003762, allocations: 7.938 kB / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.00378, allocations: 30.56 kB / 0.9319 GB, free: 5.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003781, allocations: 0 / 0.9319 GB, free: 5.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002062/0.003987, allocations: 92.05 kB / 0.932 GB, free: 5.441 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.004006, allocations: 51.41 kB / 0.932 GB, free: 5.379 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.241e-05/0.004059, allocations: 101.8 kB / 0.9321 GB, free: 5.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004067, allocations: 26.27 kB / 0.9321 GB, free: 5.238 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.004097, allocations: 84.14 kB / 0.9322 GB, free: 5.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.004112, allocations: 4.672 kB / 0.9322 GB, free: 5.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.004133, allocations: 17.72 kB / 0.9322 GB, free: 5.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.004199, allocations: 312.2 kB / 0.9325 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.004239, allocations: 19.97 kB / 0.9326 GB, free: 4.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.004274, allocations: 16.89 kB / 0.9326 GB, free: 4.777 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.408e-05/0.004348, allocations: 34.2 kB / 0.9326 GB, free: 4.742 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00435, allocations: 3.938 kB / 0.9326 GB, free: 4.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.803e-05/0.004448, allocations: 72.62 kB / 0.9327 GB, free: 4.664 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.004459, allocations: 4 kB / 0.9327 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.004462, allocations: 0 / 0.9327 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004475, allocations: 7.938 kB / 0.9327 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.004531, allocations: 11.98 kB / 0.9327 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.004537, allocations: 3.438 kB / 0.9327 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.004558, allocations: 4 kB / 0.9327 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.004561, allocations: 0 / 0.9327 GB, free: 4.637 MB / 0.698 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 5.276e-05/0.004614, allocations: 114.7 kB / 0.9328 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.004627, allocations: 3.953 kB / 0.9328 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.004754, allocations: 76.91 kB / 0.9329 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.004757, allocations: 7.656 kB / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004758, allocations: 0 / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.004762, allocations: 0 / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.004771, allocations: 0 / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.004808, allocations: 7.984 kB / 0.9329 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.004839, allocations: 4 kB / 0.9329 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001214/0.004961, allocations: 148.9 kB / 0.9331 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001313/0.005092, allocations: 239.9 kB / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.422e-05/0.005136, allocations: 20.02 kB / 0.9333 GB, free: 3.996 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.005159, allocations: 79.28 kB / 0.9334 GB, free: 3.918 MB / 0.698 GB Notification: Performance of Backend: time 1.2e-07/0.00516, allocations: 0 / 0.9334 GB, free: 3.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.005435, allocations: 98.38 kB / 0.9335 GB, free: 3.816 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003439/0.005779, allocations: 0.5535 MB / 0.934 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Templates: time 0.001831/0.00761, allocations: 0.6206 MB / 0.9346 GB, free: 2.609 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5585810374468565] Failed to read output from testmodel.py, exit status != 0: 0.013081086799502373 0.023986133 0.019069039000000003 Calling exit ...