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.001052/0.001052, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008984/0.0008984, allocations: 162 kB / 22.43 MB, free: 2.141 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.8601/0.8601, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.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.6898/0.6898, allocations: 155 MB / 414.2 MB, free: 476 kB / 378.7 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 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.0009291/0.0009291, allocations: 71.48 kB / 0.6187 GB, free: 13.19 MB / 0.5886 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.4662/0.4672, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00141/0.4686, allocations: 0.6884 MB / 0.719 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.4694, allocations: 0.8639 MB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.4694, allocations: 0 / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.4694, allocations: 3.938 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.4695, allocations: 9.844 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.4697, allocations: 21.19 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.4697, allocations: 46.97 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4698, allocations: 8.891 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.4699, allocations: 26.12 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.47, allocations: 22.53 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.47, allocations: 3.344 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.47, allocations: 11.72 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.47, allocations: 10.56 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.4701, allocations: 13.73 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4702, allocations: 53.78 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4702, allocations: 0 / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4702, allocations: 0 / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4702, allocations: 0 / 0.7201 GB, free: 21.91 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.0003629/0.4706, allocations: 297.7 kB / 0.7203 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4706, allocations: 12.28 kB / 0.7204 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.164e-05/0.4706, allocations: 35.88 kB / 0.7204 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.4707, allocations: 9.469 kB / 0.7204 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.616e-05/0.4708, allocations: 106.4 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4708, allocations: 13.44 kB / 0.7205 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.4708, allocations: 3.078 kB / 0.7205 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.471, allocations: 67.89 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.471, allocations: 5.734 kB / 0.7206 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.471, allocations: 4 kB / 0.7206 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.471, allocations: 1.156 kB / 0.7206 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4711, allocations: 66.72 kB / 0.7207 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.4714, allocations: 231.4 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4715, allocations: 59.22 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.4716, allocations: 40.91 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4716, allocations: 1.5 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.4717, allocations: 32.16 kB / 0.721 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4717, allocations: 0 / 0.721 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003394/0.472, allocations: 124.1 kB / 0.7211 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.472, allocations: 65.11 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.4721, allocations: 115.1 kB / 0.7213 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.4721, allocations: 25.7 kB / 0.7213 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.4721, allocations: 91.73 kB / 0.7214 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.4721, allocations: 9.984 kB / 0.7214 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.4721, allocations: 17.52 kB / 0.7214 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.4722, allocations: 314.9 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.4723, allocations: 31.14 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.4723, allocations: 35.42 kB / 0.7218 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4725, allocations: 70.14 kB / 0.7219 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4725, allocations: 1.188 kB / 0.7219 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.4727, allocations: 97.25 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4727, allocations: 10.67 kB / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4727, allocations: 336 / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4727, allocations: 0 / 0.722 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4728, allocations: 20.42 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4728, allocations: 0.9688 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.4729, allocations: 10.94 kB / 0.722 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4729, allocations: 1.812 kB / 0.722 GB, free: 20.28 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.23e-05/0.4729, allocations: 113.8 kB / 0.7221 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4729, allocations: 14.31 kB / 0.7221 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.4732, allocations: 104.6 kB / 0.7222 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4732, allocations: 1.094 kB / 0.7222 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4732, allocations: 4.688 kB / 0.7222 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4732, allocations: 5.094 kB / 0.7222 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.972e-05/0.4733, allocations: 137.6 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4733, allocations: 0 / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.4733, allocations: 20.55 kB / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4733, allocations: 0 / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4733, allocations: 0 / 0.7224 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4733, allocations: 6.031 kB / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4733, allocations: 0 / 0.7224 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.4735, allocations: 199.6 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.4735, allocations: 1.656 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.4735, allocations: 5.094 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.4736, allocations: 12.3 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4736, allocations: 3.281 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4736, allocations: 1.891 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.4736, allocations: 87.61 kB / 0.7227 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4736, allocations: 3.938 kB / 0.7227 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001457/0.4738, allocations: 6.5 kB / 0.7227 GB, free: 19.69 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.0003096/0.4741, allocations: 0.7318 MB / 0.7234 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.4743, allocations: 66.33 kB / 0.7235 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4743, allocations: 0.875 kB / 0.7235 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.4744, allocations: 42.8 kB / 0.7235 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4747, allocations: 8.609 kB / 0.7235 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.475, allocations: 161.4 kB / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.4751, allocations: 68.75 kB / 0.7237 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.4751, allocations: 1.25 kB / 0.7237 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.4751, allocations: 15.86 kB / 0.7238 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4751, allocations: 0 / 0.7238 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.4898, allocations: 2.309 MB / 0.726 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/6.996, allocations: 10.12 kB / 0.726 GB, free: 17.83 MB / 0.6355 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: 9.58262818492949] Failed to read output from testmodel.py, exit status != 0: 7.070898722857237 7.080088377 6.608066879 Calling exit ...