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.002018/0.002018, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002131/0.002131, allocations: 221 kB / 22.26 MB, free: 5.125 MB / 14.72 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] 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.06322/0.06322, allocations: 12.19 MB / 324.6 MB, free: 7.352 MB / 254.1 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.0007755/0.0007755, allocations: 30.48 kB / 384.1 MB, free: 46.45 MB / 302.1 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 3.154/3.154, allocations: 353.8 MB / 0.7787 GB, free: 1.043 MB / 0.5138 GB " [Timeout remaining time 177] 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: 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.005816/0.005816, allocations: 126.4 kB / 1.061 GB, free: 12.96 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3911, allocations: 134.9 MB / 1.192 GB, free: 6.148 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00199/0.3931, allocations: 0.6555 MB / 1.193 GB, free: 5.492 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3942, allocations: 0.8553 MB / 1.194 GB, free: 4.625 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.3943, allocations: 0 / 1.194 GB, free: 4.625 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.3943, allocations: 0 / 1.194 GB, free: 4.625 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.3943, allocations: 11.94 kB / 1.194 GB, free: 4.613 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.3945, allocations: 11.97 kB / 1.194 GB, free: 4.602 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.3946, allocations: 23.92 kB / 1.194 GB, free: 4.578 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.3947, allocations: 4 kB / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.3948, allocations: 15.92 kB / 1.194 GB, free: 4.559 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3948, allocations: 4 kB / 1.194 GB, free: 4.555 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3948, allocations: 0 / 1.194 GB, free: 4.555 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.3949, allocations: 12 kB / 1.194 GB, free: 4.543 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.3949, allocations: 7.922 kB / 1.194 GB, free: 4.535 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.3949, allocations: 4 kB / 1.194 GB, free: 4.531 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.395, allocations: 35.77 kB / 1.194 GB, free: 4.496 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3951, allocations: 4 kB / 1.194 GB, free: 4.492 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3951, allocations: 0 / 1.194 GB, free: 4.492 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3951, allocations: 0 / 1.194 GB, free: 4.492 MB / 0.8263 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.0004328/0.3955, allocations: 258.4 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3955, allocations: 11.98 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.3956, allocations: 8.891 kB / 1.194 GB, free: 4.188 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3957, allocations: 110.5 kB / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3958, allocations: 384 / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3958, allocations: 8.375 kB / 1.194 GB, free: 4.047 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3959, allocations: 54.22 kB / 1.194 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.396, allocations: 192 / 1.194 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.396, allocations: 7.875 kB / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.396, allocations: 0 / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.3961, allocations: 35.91 kB / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.3965, allocations: 224 kB / 1.195 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3966, allocations: 38.5 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.3967, allocations: 20.91 kB / 1.195 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3967, allocations: 4 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3968, allocations: 30.56 kB / 1.195 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 2.815e-06/0.3968, allocations: 4 kB / 1.195 GB, free: 3.566 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.3971, allocations: 85.53 kB / 1.195 GB, free: 3.477 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3972, allocations: 55.34 kB / 1.195 GB, free: 3.41 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.3972, allocations: 105.8 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3973, allocations: 25.7 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.3973, allocations: 84.14 kB / 1.195 GB, free: 3.18 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3973, allocations: 4.078 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3974, allocations: 17.72 kB / 1.195 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3975, allocations: 314.8 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.3976, allocations: 15.98 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.3977, allocations: 15.98 kB / 1.195 GB, free: 2.805 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3978, allocations: 48.81 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3978, allocations: 0 / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.398, allocations: 65.61 kB / 1.195 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.398, allocations: 5.562 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.398, allocations: 4 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.398, allocations: 0 / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.3981, allocations: 7.984 kB / 1.195 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3981, allocations: 0 / 1.195 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.3982, allocations: 12.02 kB / 1.196 GB, free: 2.656 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3982, allocations: 0 / 1.196 GB, free: 2.656 MB / 0.8263 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.326e-05/0.3983, allocations: 113.8 kB / 1.196 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3983, allocations: 0 / 1.196 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.3985, allocations: 76.91 kB / 1.196 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3985, allocations: 0 / 1.196 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3985, allocations: 4.031 kB / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3985, allocations: 0 / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3987, allocations: 132.7 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3987, allocations: 3.938 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3987, allocations: 11.98 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3987, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.3988, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3988, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3988, allocations: 0 / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.399, allocations: 175.3 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.399, allocations: 0 / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.399, allocations: 4 kB / 1.196 GB, free: 2.07 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.3991, allocations: 7.984 kB / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3991, allocations: 0 / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3991, allocations: 0 / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.3992, allocations: 87.45 kB / 1.196 GB, free: 1.977 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 4.031 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002149/0.3994, allocations: 4 kB / 1.196 GB, free: 1.969 MB / 0.8263 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 0.0001296/0.3995, allocations: 95.23 kB / 1.196 GB, free: 1.863 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3997, allocations: 35.91 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3997, allocations: 0 / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 8.781e-05/0.3998, allocations: 27.98 kB / 1.196 GB, free: 1.801 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4001, allocations: 19.42 kB / 1.196 GB, free: 1.785 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.4005, allocations: 108 kB / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4008, allocations: 0.6729 MB / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.4008, allocations: 4 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.4008, allocations: 7.438 kB / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of SimCode: time 3.6e-07/0.4008, allocations: 64 / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of Templates: time 0.003138/0.404, allocations: 458.9 kB / 1.197 GB, free: 0.5078 MB / 0.8263 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: 9.037454169243574] Failed to read output from testmodel.py, exit status != 0: 0.41518790647387505 0.434832621 0.034965703 Calling exit ...