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.0008648/0.0008648, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008617/0.0008617, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7272/0.7272, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.217e-05/7.406e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001277/0.001351, allocations: 0.6863 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.002268, allocations: 0.8587 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.002303, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.002332, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.0024, allocations: 7.875 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.002592, allocations: 27.89 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.002675, allocations: 47.86 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.002784, allocations: 7.984 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.002863, allocations: 19.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.002901, allocations: 15.92 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.002918, allocations: 4 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.002975, allocations: 15.98 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.002993, allocations: 15.92 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.003014, allocations: 11.94 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.003127, allocations: 51.84 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003129, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.884e-06/0.003131, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003135, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 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.0003782/0.003513, allocations: 282.2 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.00355, allocations: 13.47 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.003578, allocations: 34.75 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.003635, allocations: 12.89 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.003707, allocations: 113.7 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003717, allocations: 384 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.003725, allocations: 384 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.003887, allocations: 74.2 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.003896, allocations: 192 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.003909, allocations: 384 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.003916, allocations: 8.062 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.004051, allocations: 67.92 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.00442, allocations: 228 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.004541, allocations: 54.53 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.004617, allocations: 32.92 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.004645, allocations: 7.938 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.004669, allocations: 38.5 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004669, allocations: 0 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003471/0.005017, allocations: 129.6 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.005056, allocations: 55.41 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.005131, allocations: 109.8 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.005142, allocations: 29.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.005189, allocations: 88.09 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.005215, allocations: 15.88 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.005245, allocations: 17.66 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.005418, allocations: 318.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.005494, allocations: 31.95 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.005562, allocations: 35.91 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.005704, allocations: 68.78 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.005707, allocations: 4 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001868/0.005893, allocations: 101.5 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.005911, allocations: 4 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005916, allocations: 0 / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.005933, allocations: 4 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.006023, allocations: 19.97 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.006029, allocations: 0 / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.006067, allocations: 11.98 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.006074, allocations: 0 / 0.6218 GB, free: 9.719 MB / 0.5886 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 7.445e-05/0.006149, allocations: 114.8 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.006165, allocations: 7.938 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.006385, allocations: 113.5 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006388, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.006395, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.0064, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.006535, allocations: 136.7 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006537, allocations: 0 / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.006581, allocations: 19.92 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.006583, allocations: 0 / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.006593, allocations: 4 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006595, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.006597, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.006806, allocations: 203.4 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006816, allocations: 3.938 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.00683, allocations: 0 / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.006878, allocations: 11.98 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.006928, allocations: 15.98 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.006932, allocations: 0 / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.006965, allocations: 79.28 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.006965, allocations: 0 / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001468/0.007112, allocations: 12 kB / 0.6225 GB, free: 8.93 MB / 0.5886 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.0004931/0.007605, allocations: 0.7283 MB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.007785, allocations: 71.95 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007786, allocations: 0 / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/0.007856, allocations: 39.95 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.008065, allocations: 9.969 kB / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.008425, allocations: 162.5 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.434e-05/0.008469, allocations: 67.28 kB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.283e-05/0.008492, allocations: 4 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.008535, allocations: 12.5 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/0.008535, allocations: 0 / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.02255, allocations: 2.33 MB / 0.6258 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/6.898, allocations: 3.359 kB / 0.6258 GB, free: 5.574 MB / 0.5886 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.608946987427771] Failed to read output from testmodel.py, exit status != 0: 6.980124203488231 6.989093889 6.983959055 Calling exit ...