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.001368/0.001368, allocations: 79.52 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.001628/0.001628, allocations: 162.9 kB / 22.46 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.211/1.211, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.568e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00174/0.001766, allocations: 0.6902 MB / 0.6193 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.002946, allocations: 0.8665 MB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.002981, allocations: 0 / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.003013, allocations: 7.922 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.003082, allocations: 7.875 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.003248, allocations: 15.98 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.003334, allocations: 47.84 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.003416, allocations: 15.98 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.0035, allocations: 19.98 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.003543, allocations: 19.91 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003559, allocations: 7.938 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.003603, allocations: 12 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.003622, allocations: 4 kB / 0.6203 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003648, allocations: 11.98 kB / 0.6203 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003766, allocations: 51.8 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003769, allocations: 0 / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.525e-06/0.003771, allocations: 3.984 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003775, allocations: 0 / 0.6203 GB, free: 2.809 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.0004807/0.004255, allocations: 290.2 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.00429, allocations: 9.469 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.004368, allocations: 8.891 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.00448, allocations: 113.8 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.004494, allocations: 4.375 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.004504, allocations: 4.359 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.004769, allocations: 66.22 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.004779, allocations: 4.188 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004788, allocations: 384 / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004792, allocations: 8.312 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.005086, allocations: 67.86 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.005411, allocations: 204.6 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.005639, allocations: 58.47 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.005795, allocations: 40.92 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.005815, allocations: 0 / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.005841, allocations: 34.5 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.005842, allocations: 0 / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000555/0.006397, allocations: 137.5 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.006442, allocations: 51.41 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.006552, allocations: 117.8 kB / 0.6215 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.006579, allocations: 25.7 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.006636, allocations: 96.02 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.006655, allocations: 7.906 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.006696, allocations: 21.7 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.00683, allocations: 310.8 kB / 0.6219 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.006987, allocations: 39.95 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.007125, allocations: 31.91 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.007407, allocations: 69.06 kB / 0.6221 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007409, allocations: 0 / 0.6221 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003391/0.007748, allocations: 101.6 kB / 0.6222 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007764, allocations: 10.12 kB / 0.6222 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007769, allocations: 0 / 0.6222 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.00779, allocations: 4 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.007914, allocations: 11.98 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.007921, allocations: 3.984 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.008004, allocations: 15.98 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.008011, allocations: 4 kB / 0.6222 GB, free: 0.7031 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 8.481e-05/0.008096, allocations: 114.8 kB / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.008122, allocations: 3.953 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.008521, allocations: 109.5 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.008523, allocations: 0 / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008527, allocations: 0 / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008532, allocations: 4 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.008668, allocations: 109.3 kB / 0.6225 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.00867, allocations: 0 / 0.6225 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.00877, allocations: 19.97 kB / 0.6225 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008772, allocations: 0 / 0.6225 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.008782, allocations: 4 kB / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.008786, allocations: 11.88 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.008789, allocations: 4 kB / 0.6226 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.009169, allocations: 195.4 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.009178, allocations: 4 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.009194, allocations: 7.984 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.009304, allocations: 11.92 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.009347, allocations: 8 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.009351, allocations: 0 / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.009422, allocations: 91.27 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009422, allocations: 0 / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002148/0.009636, allocations: 4 kB / 0.6229 GB, free: 15.94 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.0001167/0.009753, allocations: 99.25 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003421/0.0101, allocations: 67.86 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.0101, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.01025, allocations: 35.95 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.01053, allocations: 11.94 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.01086, allocations: 132.7 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.01092, allocations: 67.28 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.01095, allocations: 0 / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01098, allocations: 12.5 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01098, allocations: 0 / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of Templates: time 0.002996/0.01398, allocations: 0.7229 MB / 0.624 GB, free: 14.76 MB / 0.545 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.701384589076042] Failed to read output from testmodel.py, exit status != 0: 0.021848559379577637 0.036867119000000004 0.029744651 Calling exit ...