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.0009878/0.0009878, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.0008472/0.0008472, allocations: 214.5 kB / 22.25 MB, free: 3.57 MB / 13.93 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.954/0.954, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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: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 0.7854/0.7854, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [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.0008466/0.0008466, allocations: 63.88 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.511, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001471/0.5124, allocations: 0.6945 MB / 0.8185 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.5132, allocations: 0.8645 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.5132, allocations: 1.312 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.5132, allocations: 4.641 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.5133, allocations: 13.7 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.5135, allocations: 19.53 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.5136, allocations: 45.88 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.5137, allocations: 7.562 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.5137, allocations: 20.27 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.5138, allocations: 21.7 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.5138, allocations: 7.281 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.5138, allocations: 7.938 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.5138, allocations: 12.03 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.5139, allocations: 16.89 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.514, allocations: 54.33 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.514, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.514, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.514, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 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.0003675/0.5144, allocations: 287.5 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5144, allocations: 8.375 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.5144, allocations: 35.27 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.852e-05/0.5145, allocations: 9.297 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.5146, allocations: 115.3 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.5146, allocations: 7.812 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.5146, allocations: 384 / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5147, allocations: 72.25 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5148, allocations: 3.938 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5148, allocations: 7.75 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5148, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.5149, allocations: 65.83 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.5152, allocations: 235.5 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.5153, allocations: 54.22 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.5154, allocations: 39.66 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.5154, allocations: 0.6094 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.5154, allocations: 32.67 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.5154, allocations: 7.781 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003104/0.5158, allocations: 123.4 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.5158, allocations: 60 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.5159, allocations: 105.5 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.5159, allocations: 27.08 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.5159, allocations: 91.58 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.516, allocations: 11.39 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.516, allocations: 14.06 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.5161, allocations: 320.7 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.5162, allocations: 31.17 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.5162, allocations: 33.48 kB / 0.8213 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.5164, allocations: 71.89 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5164, allocations: 0 / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001663/0.5165, allocations: 94.34 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5166, allocations: 9.938 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5166, allocations: 0 / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5166, allocations: 2.797 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.5166, allocations: 17.89 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5167, allocations: 0.7031 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.5167, allocations: 19.92 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5167, allocations: 0.6562 kB / 0.8215 GB, free: 14.21 MB / 0.6198 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 5.177e-05/0.5168, allocations: 117 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.5168, allocations: 6.391 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.517, allocations: 108.6 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.517, allocations: 5.094 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.517, allocations: 0 / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.517, allocations: 1.641 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.5171, allocations: 134.5 kB / 0.8219 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5171, allocations: 3.938 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.5171, allocations: 15.02 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5171, allocations: 1.906 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5171, allocations: 0.6094 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.5171, allocations: 4 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5171, allocations: 3.281 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.5173, allocations: 200.8 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.5173, allocations: 2.75 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.5173, allocations: 0.7031 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.5174, allocations: 13.81 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.5174, allocations: 10.11 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.5174, allocations: 2.422 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.5174, allocations: 88.41 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5174, allocations: 0 / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000139/0.5176, allocations: 4.75 kB / 0.8222 GB, free: 13.62 MB / 0.6198 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.0003518/0.5179, allocations: 0.7296 MB / 0.8229 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.5181, allocations: 69.14 kB / 0.823 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5181, allocations: 0 / 0.823 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.5182, allocations: 37.83 kB / 0.823 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.5184, allocations: 9.656 kB / 0.823 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.519, allocations: 167.6 kB / 0.8232 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.519, allocations: 63.12 kB / 0.8232 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.519, allocations: 3.328 kB / 0.8232 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.5191, allocations: 13.8 kB / 0.8233 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5191, allocations: 0 / 0.8233 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.5327, allocations: 2.187 MB / 0.8254 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.126, allocations: 16.77 kB / 0.8254 GB, free: 11.8 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.049118471797556] Failed to read output from testmodel.py, exit status != 0: 7.204292282927781 7.217526095 6.700784376 Calling exit ...