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.00126/0.00126, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.001468/0.001468, allocations: 162.9 kB / 22.45 MB, free: 5.375 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.6186 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.962e-05/4.281e-05, allocations: 4.672 kB / 0.6187 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001898/0.00194, allocations: 0.688 MB / 0.6193 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003104, allocations: 0.8704 MB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.00314, allocations: 0 / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.003171, allocations: 3.938 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.003244, allocations: 7.938 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.003454, allocations: 15.92 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.003552, allocations: 51.83 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.003661, allocations: 4 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.003742, allocations: 27.97 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.003787, allocations: 19.92 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003807, allocations: 7.938 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.425e-05/0.003851, allocations: 8 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.00387, allocations: 7.984 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.003901, allocations: 19.92 kB / 0.6203 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004026, allocations: 47.86 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004028, allocations: 0 / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004029, allocations: 0 / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004033, allocations: 0 / 0.6204 GB, free: 2.684 MB / 0.5294 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.0006154/0.004648, allocations: 298.2 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004684, allocations: 8.031 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.004778, allocations: 12.88 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004899, allocations: 109.8 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004913, allocations: 384 / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.004921, allocations: 4.312 kB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.005191, allocations: 70.22 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.005201, allocations: 192 / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.00521, allocations: 384 / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005215, allocations: 4.375 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.00552, allocations: 67.86 kB / 0.6209 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.005863, allocations: 212.5 kB / 0.6211 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.006088, allocations: 62.47 kB / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.006246, allocations: 36.92 kB / 0.6212 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.006271, allocations: 3.984 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.006311, allocations: 34.56 kB / 0.6213 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006312, allocations: 0 / 0.6213 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005628/0.006875, allocations: 125.5 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.006929, allocations: 59.34 kB / 0.6214 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.00704, allocations: 121.8 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.007058, allocations: 25.7 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.007113, allocations: 88.06 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.007157, allocations: 15.91 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.0072, allocations: 9.719 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.007355, allocations: 318.8 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.007508, allocations: 31.95 kB / 0.622 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.007652, allocations: 35.97 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.007955, allocations: 69.05 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.007957, allocations: 0 / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003421/0.008299, allocations: 101.6 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.008314, allocations: 11.94 kB / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.008318, allocations: 0 / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.008333, allocations: 3.984 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.00846, allocations: 15.98 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008464, allocations: 3.938 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.008544, allocations: 7.984 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.008553, allocations: 4 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 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 9.259e-05/0.008646, allocations: 115.7 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.008674, allocations: 7.953 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.00905, allocations: 105.5 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.009053, allocations: 7.984 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009057, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.00906, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.009209, allocations: 109.3 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.00921, allocations: 0 / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.009308, allocations: 19.92 kB / 0.6226 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.009312, allocations: 4 kB / 0.6226 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.00932, allocations: 3.938 kB / 0.6226 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.009325, allocations: 7.938 kB / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009326, allocations: 0 / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.009738, allocations: 191.4 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.009749, allocations: 8 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.009762, allocations: 4 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.009877, allocations: 15.92 kB / 0.6228 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.009914, allocations: 3.984 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.009918, allocations: 0 / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.009972, allocations: 87.28 kB / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009972, allocations: 0 / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002198/0.01019, allocations: 8 kB / 0.6229 GB, free: 15.82 MB / 0.545 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.0001244/0.01032, allocations: 99.17 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.01067, allocations: 67.92 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01067, allocations: 4 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.01082, allocations: 31.97 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01114, allocations: 11.98 kB / 0.6231 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.0115, allocations: 128.7 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.241e-05/0.01159, allocations: 71.22 kB / 0.6233 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.01161, allocations: 4 kB / 0.6233 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.01166, allocations: 8.5 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01166, allocations: 0 / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of Templates: time 0.003151/0.01481, allocations: 0.7395 MB / 0.6241 GB, free: 14.63 MB / 0.545 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.679122097790241] Failed to read output from testmodel.py, exit status != 0: 0.023690856993198395 0.037636553 0.030687408000000003 Calling exit ...