Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.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.0007919/0.0007919, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 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.0007876/0.0007876, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.8905/0.8905, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7348/0.7348, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 660] "Notification: IDEAS 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.0009034/0.0009034, allocations: 67.91 kB / 0.6199 GB, free: 12.67 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5077, allocations: 102 MB / 0.7195 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001446/0.5092, allocations: 0.673 MB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.51, allocations: 0.8638 MB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.51, allocations: 1.094 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.51, allocations: 8.547 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.5101, allocations: 11 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.5103, allocations: 21.55 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.5104, allocations: 46.45 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.5105, allocations: 10.97 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.5106, allocations: 28.55 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.5106, allocations: 17.41 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.5106, allocations: 4.5 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.5107, allocations: 9.656 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.5107, allocations: 10.33 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.5107, allocations: 21.62 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.5109, allocations: 48.55 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5109, allocations: 1.188 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5109, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5109, allocations: 0 / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003634/0.5112, allocations: 293 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5113, allocations: 11.58 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.5114, allocations: 8.125 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.5114, allocations: 106.9 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5114, allocations: 10.02 kB / 0.7217 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5114, allocations: 6.406 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.5116, allocations: 68.39 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5116, allocations: 1.281 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5116, allocations: 8.484 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5116, allocations: 1.156 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.5118, allocations: 73.98 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.5121, allocations: 210.9 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.5122, allocations: 55.52 kB / 0.7221 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.5123, allocations: 40.48 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.5123, allocations: 5.859 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.5123, allocations: 31.72 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.5123, allocations: 4 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003462/0.5127, allocations: 124.8 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.5127, allocations: 57.11 kB / 0.7223 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.5128, allocations: 106.7 kB / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.5128, allocations: 27.14 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.5128, allocations: 90.94 kB / 0.7225 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.5128, allocations: 14.17 kB / 0.7225 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.5128, allocations: 17.09 kB / 0.7226 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.5129, allocations: 313.9 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.5129, allocations: 31.95 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.513, allocations: 31.67 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5132, allocations: 70.02 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5132, allocations: 0 / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.5133, allocations: 102.8 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5134, allocations: 6.094 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5134, allocations: 0 / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5134, allocations: 1.031 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.5135, allocations: 18.81 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5135, allocations: 2.203 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.5135, allocations: 15.36 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.5135, allocations: 2.125 kB / 0.7231 GB, free: 20.74 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.515e-05/0.5136, allocations: 109 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.5136, allocations: 9.469 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.5138, allocations: 109.7 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5138, allocations: 0 / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5138, allocations: 1.891 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5138, allocations: 3.938 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.331e-05/0.5139, allocations: 113.6 kB / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5139, allocations: 0 / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.514, allocations: 19.72 kB / 0.7235 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.514, allocations: 4.312 kB / 0.7235 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.514, allocations: 5.75 kB / 0.7235 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.514, allocations: 4 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.514, allocations: 0 / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.5142, allocations: 196.1 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.5142, allocations: 6.859 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5142, allocations: 0.9375 kB / 0.7237 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.5143, allocations: 15.08 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.5143, allocations: 12.47 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.5143, allocations: 1.156 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.5143, allocations: 91.86 kB / 0.7238 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5143, allocations: 0 / 0.7238 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001486/0.5145, allocations: 7.344 kB / 0.7238 GB, free: 20.17 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 8.997e-05/0.5146, allocations: 96.59 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.5148, allocations: 71.14 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5148, allocations: 0 / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.5149, allocations: 34.34 kB / 0.724 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.5151, allocations: 8.094 kB / 0.724 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.5154, allocations: 137 kB / 0.7241 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.5155, allocations: 63.86 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.5155, allocations: 5.25 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.5155, allocations: 15.8 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5155, allocations: 0 / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.002443/0.518, allocations: 0.7239 MB / 0.7249 GB, free: 19.76 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.168258129036985] Failed to read output from testmodel.py, exit status != 0: 0.5236256739590317 0.5323897080000001 0.019730914000000002 Calling exit ...