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/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.04095/0.04095, allocations: 9.126 MB / 28.99 MB, free: 0.8086 MB / 18.57 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/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.001148/0.001148, allocations: 87.28 kB / 35.32 MB, free: 1.07 MB / 24.77 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.001396/0.001396, allocations: 164.5 kB / 38.73 MB, free: 2.504 MB / 24.77 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 1.063/1.063, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004068/0.004068, allocations: 0.8282 MB / 276.5 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.686/1.686, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 1.402e-06/1.402e-06, allocations: 0 / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.69e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00126/0.001277, allocations: 0.7189 MB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.002167, allocations: 0.8663 MB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.002207, allocations: 8 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.002236, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.00231, allocations: 0 / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.002487, allocations: 19.91 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.002565, allocations: 27.86 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002667, allocations: 4 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.002771, allocations: 11.98 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.00282, allocations: 8 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.002838, allocations: 0 / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.002918, allocations: 7.984 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.002937, allocations: 11.98 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.002956, allocations: 7.938 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.003061, allocations: 23.92 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003063, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003064, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003068, allocations: 0 / 0.6396 GB, free: 12.3 MB / 0.6043 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.0003123/0.00338, allocations: 233 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.003419, allocations: 11.98 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.003514, allocations: 8.875 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.003606, allocations: 113.7 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.003615, allocations: 384 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-06/0.003624, allocations: 12.36 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.003728, allocations: 54.94 kB / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003735, allocations: 192 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003742, allocations: 384 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003747, allocations: 384 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.003767, allocations: 7.938 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.003994, allocations: 140.3 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.00404, allocations: 26.52 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.004056, allocations: 8.922 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.00407, allocations: 4 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.004092, allocations: 30.56 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004094, allocations: 0 / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001176/0.004212, allocations: 45.61 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.004245, allocations: 59.34 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.004307, allocations: 106.7 kB / 0.6404 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.004318, allocations: 25.7 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.004352, allocations: 80.14 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.004375, allocations: 7.953 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.004401, allocations: 17.7 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.004495, allocations: 323 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.004504, allocations: 0 / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.004514, allocations: 3.984 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.004537, allocations: 8.859 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004539, allocations: 4 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.777e-05/0.004596, allocations: 37.62 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.004612, allocations: 8 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.00462, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.004636, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.004723, allocations: 8.031 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004728, allocations: 4 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.004749, allocations: 8 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.004755, allocations: 0 / 0.641 GB, free: 10.77 MB / 0.6043 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 8.186e-05/0.004837, allocations: 109.8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.004857, allocations: 8 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.168e-05/0.004938, allocations: 37 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00494, allocations: 0 / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.004945, allocations: 3.938 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.004952, allocations: 4 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.005055, allocations: 77.8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005056, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.005085, allocations: 7.984 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005087, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005093, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.005095, allocations: 3.984 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.005096, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.005201, allocations: 139.5 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.00521, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.005219, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.005251, allocations: 11.97 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.005292, allocations: 4.172 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.005295, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.696e-05/0.005312, allocations: 16.78 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005312, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001211/0.005434, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 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 7.687e-05/0.00551, allocations: 76.36 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.005574, allocations: 16.84 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.005577, allocations: 4 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.005591, allocations: 12.92 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.005744, allocations: 4 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.006154, allocations: 124.5 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.006193, allocations: 51.36 kB / 0.6416 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.00621, allocations: 0 / 0.6416 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.006254, allocations: 51.38 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of SimCode: time 6.72e-07/0.006254, allocations: 4.062 kB / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of Templates: time 0.001761/0.008015, allocations: 448.7 kB / 0.6421 GB, free: 9.461 MB / 0.6043 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.461324878036976]