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.001294/0.001294, allocations: 75.41 kB / 19.16 MB, free: 2.566 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.001409/0.001409, allocations: 165.5 kB / 22.43 MB, free: 5.316 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.39/1.39, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 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: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.157/1.157, allocations: 155 MB / 414.2 MB, free: 4.945 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: 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.002112/0.002112, allocations: 68.28 kB / 0.6192 GB, free: 4.121 MB / 0.5294 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.5457/0.5478, allocations: 102 MB / 0.7188 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001684/0.5495, allocations: 0.6851 MB / 0.7195 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.5503, allocations: 0.871 MB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.5503, allocations: 0 / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.5503, allocations: 3.938 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.696e-05/0.5504, allocations: 5.391 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.5506, allocations: 22.14 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.5507, allocations: 46.84 kB / 0.7204 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.5507, allocations: 5.828 kB / 0.7204 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.5508, allocations: 32.81 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.5509, allocations: 18.98 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.5509, allocations: 3.5 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.5509, allocations: 12.81 kB / 0.7205 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.5509, allocations: 7.547 kB / 0.7205 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.551, allocations: 13.28 kB / 0.7205 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.5511, allocations: 66.33 kB / 0.7205 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5511, allocations: 1.469 kB / 0.7205 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5511, allocations: 0 / 0.7205 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.5511, allocations: 0 / 0.7205 GB, free: 0.582 MB / 0.6075 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.0004323/0.5515, allocations: 288.8 kB / 0.7208 GB, free: 312 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5516, allocations: 9.766 kB / 0.7208 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.5517, allocations: 13.33 kB / 0.7208 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.5517, allocations: 107.1 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.5517, allocations: 1.594 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5518, allocations: 5.812 kB / 0.721 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.552, allocations: 65.84 kB / 0.721 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.552, allocations: 4.125 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.552, allocations: 7.938 kB / 0.721 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.552, allocations: 5.484 kB / 0.721 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.5523, allocations: 70.97 kB / 0.7211 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.5527, allocations: 206.5 kB / 0.7213 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.5529, allocations: 51.5 kB / 0.7213 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.553, allocations: 40.48 kB / 0.7214 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.553, allocations: 4 kB / 0.7214 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5531, allocations: 36.83 kB / 0.7214 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5531, allocations: 0 / 0.7214 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.5536, allocations: 128.8 kB / 0.7215 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.5537, allocations: 53.44 kB / 0.7216 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.5538, allocations: 107.5 kB / 0.7217 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5538, allocations: 29.7 kB / 0.7217 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.5539, allocations: 87.92 kB / 0.7218 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.5539, allocations: 13.89 kB / 0.7218 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.5539, allocations: 17.8 kB / 0.7218 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5541, allocations: 313.8 kB / 0.7221 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5542, allocations: 31.67 kB / 0.7222 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.5544, allocations: 31.02 kB / 0.7222 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.5547, allocations: 74.75 kB / 0.7223 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5547, allocations: 0 / 0.7223 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000332/0.555, allocations: 102.8 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.555, allocations: 5.5 kB / 0.7224 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.555, allocations: 8.703 kB / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.555, allocations: 0 / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5552, allocations: 15.86 kB / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5552, allocations: 1.469 kB / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.5552, allocations: 11.19 kB / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.5552, allocations: 1.156 kB / 0.7224 GB, free: 15.04 MB / 0.6231 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.571e-05/0.5553, allocations: 117.3 kB / 0.7225 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.5554, allocations: 6.891 kB / 0.7225 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.5557, allocations: 112.6 kB / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5557, allocations: 1.156 kB / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5558, allocations: 0.9844 kB / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5558, allocations: 0 / 0.7226 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5559, allocations: 112.2 kB / 0.7227 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5559, allocations: 4.938 kB / 0.7228 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.556, allocations: 15.22 kB / 0.7228 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.556, allocations: 5.281 kB / 0.7228 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.556, allocations: 0.5625 kB / 0.7228 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.556, allocations: 1.062 kB / 0.7228 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.556, allocations: 4.781 kB / 0.7228 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.5564, allocations: 198.9 kB / 0.723 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.5565, allocations: 15.66 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.5565, allocations: 0 / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.5566, allocations: 16.23 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.5566, allocations: 9.125 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5566, allocations: 0 / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.5567, allocations: 92.02 kB / 0.7231 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5567, allocations: 1.375 kB / 0.7231 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002216/0.5569, allocations: 6.125 kB / 0.7231 GB, free: 14.46 MB / 0.6231 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.0001044/0.557, allocations: 92.81 kB / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.5574, allocations: 70.94 kB / 0.7233 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5574, allocations: 0 / 0.7233 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.5575, allocations: 38.22 kB / 0.7233 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.5578, allocations: 14.2 kB / 0.7233 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.5581, allocations: 134.7 kB / 0.7234 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.5582, allocations: 68.52 kB / 0.7235 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.5582, allocations: 2.531 kB / 0.7235 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.5583, allocations: 9.781 kB / 0.7235 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.5583, allocations: 0 / 0.7235 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.003248/0.5615, allocations: 0.7314 MB / 0.7242 GB, free: 14.05 MB / 0.6231 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.987752111628652] Failed to read output from testmodel.py, exit status != 0: 0.5709794256836176 0.5852733339999999 0.031090484 Calling exit ...