Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008908/0.0008908, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008746/0.0008746, allocations: 165.9 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.9209/0.9209, allocations: 177.2 MB / 203.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7359/0.7359, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001236/0.001236, allocations: 67.91 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.501/0.5022, allocations: 101.9 MB / 0.7192 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001534/0.5038, allocations: 0.6921 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.5046, allocations: 0.8646 MB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.5047, allocations: 1.312 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.5047, allocations: 3.938 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.5048, allocations: 6.5 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.505, allocations: 25.75 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.5052, allocations: 51.42 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.5053, allocations: 9.297 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.5054, allocations: 21.3 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.5054, allocations: 22.31 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.5055, allocations: 4.312 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.5055, allocations: 9.625 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.5056, allocations: 6.797 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.5056, allocations: 21.44 kB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.5058, allocations: 44.89 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.5058, allocations: 4 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5058, allocations: 0 / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.5058, allocations: 1.062 kB / 0.7209 GB, free: 22.46 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.0004473/0.5062, allocations: 291.9 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5063, allocations: 14.38 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.5064, allocations: 13 kB / 0.7212 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/0.5065, allocations: 106.5 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5065, allocations: 1.469 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.5065, allocations: 3.078 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.5067, allocations: 77.05 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5067, allocations: 192 / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5067, allocations: 3.938 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5067, allocations: 1.125 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.5069, allocations: 63.55 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.5072, allocations: 218 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.5074, allocations: 55.48 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.5074, allocations: 40.94 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5075, allocations: 0 / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.5075, allocations: 33.41 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.5075, allocations: 0 / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003453/0.5078, allocations: 132.8 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.5079, allocations: 52.88 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.5079, allocations: 110.5 kB / 0.7221 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.5079, allocations: 30.73 kB / 0.7221 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.508, allocations: 83.17 kB / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.508, allocations: 18.78 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.508, allocations: 13.53 kB / 0.7222 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5081, allocations: 321.6 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.5082, allocations: 27.41 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.5082, allocations: 31.52 kB / 0.7226 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5084, allocations: 70.73 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5084, allocations: 4 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000195/0.5086, allocations: 102.2 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5086, allocations: 5.625 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5086, allocations: 0 / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5086, allocations: 1.812 kB / 0.7228 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.5087, allocations: 15.38 kB / 0.7228 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5087, allocations: 9.125 kB / 0.7228 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.5088, allocations: 11.12 kB / 0.7228 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.5088, allocations: 1.891 kB / 0.7228 GB, free: 20.91 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.978e-05/0.5088, allocations: 113.7 kB / 0.7229 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.5088, allocations: 14.2 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.5091, allocations: 109.5 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5091, allocations: 4 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5091, allocations: 1.219 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5091, allocations: 0.5156 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.423e-05/0.5092, allocations: 112.3 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5092, allocations: 0.5625 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.5092, allocations: 19.3 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.5092, allocations: 0.8125 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.5092, allocations: 2.141 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5092, allocations: 3.938 kB / 0.7232 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5092, allocations: 0 / 0.7232 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.5094, allocations: 204.1 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.5094, allocations: 5.797 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.5095, allocations: 1.312 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.5095, allocations: 11.81 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.5096, allocations: 3.312 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5096, allocations: 1.906 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.5096, allocations: 88.17 kB / 0.7235 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5096, allocations: 4 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000145/0.5097, allocations: 5.875 kB / 0.7235 GB, free: 20.34 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 0.000104/0.5098, allocations: 93.41 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.5101, allocations: 66.44 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5101, allocations: 1.094 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.997e-05/0.5102, allocations: 46.41 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5104, allocations: 4.891 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.5107, allocations: 131.2 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.5108, allocations: 65.75 kB / 0.7239 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.5108, allocations: 1.062 kB / 0.7239 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.5108, allocations: 14.78 kB / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.5108, allocations: 0 / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.002528/0.5134, allocations: 0.7251 MB / 0.7246 GB, free: 19.94 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.39843756495975] Failed to read output from testmodel.py, exit status != 0: 0.5194621389964595 0.5291006540000001 0.021208221000000003 Calling exit ...