Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.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.0008087/0.0008087, 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.001647/0.001647, 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.8579/0.8579, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.7117/0.7117, allocations: 155 MB / 414.2 MB, free: 488 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.Atan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan",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.001428/0.001428, allocations: 67.2 kB / 0.6187 GB, free: 13.2 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.43/0.4314, allocations: 102 MB / 0.7183 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001805/0.4332, allocations: 0.6501 MB / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4343, allocations: 0.8481 MB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.4344, allocations: 4 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.4344, allocations: 2.109 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.4345, allocations: 3.938 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.4347, allocations: 17.28 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.4348, allocations: 20.83 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.4349, allocations: 4.203 kB / 0.7198 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.435, allocations: 18.5 kB / 0.7198 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.435, allocations: 13.59 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.435, allocations: 3.031 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.4351, allocations: 5.016 kB / 0.7199 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.4351, allocations: 8.562 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.4351, allocations: 7.797 kB / 0.7199 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4352, allocations: 31.7 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4352, allocations: 0 / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4352, allocations: 0.5625 kB / 0.7199 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4353, allocations: 1.375 kB / 0.7199 GB, free: 22.06 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003401/0.4356, allocations: 261.4 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4356, allocations: 11.22 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.4357, allocations: 31.45 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.4357, allocations: 8.266 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.532e-05/0.4358, allocations: 120.9 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4358, allocations: 1.312 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4358, allocations: 1.656 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.436, allocations: 53.25 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.436, allocations: 5.188 kB / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.436, allocations: 0 / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.436, allocations: 0 / 0.7204 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.4361, allocations: 32.69 kB / 0.7204 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.4364, allocations: 218.6 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.4364, allocations: 41.08 kB / 0.7207 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.4365, allocations: 23.88 kB / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4365, allocations: 0 / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.4365, allocations: 33.47 kB / 0.7207 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4365, allocations: 0 / 0.7207 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002266/0.4368, allocations: 83.88 kB / 0.7208 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.4368, allocations: 52.11 kB / 0.7208 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/0.4368, allocations: 105.8 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.4368, allocations: 25.7 kB / 0.721 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.4369, allocations: 86.98 kB / 0.7211 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4369, allocations: 4.656 kB / 0.7211 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4369, allocations: 13.73 kB / 0.7211 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.028e-05/0.4369, allocations: 312.7 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.437, allocations: 22.3 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.437, allocations: 18.48 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.4371, allocations: 41.08 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4371, allocations: 4.938 kB / 0.7214 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.4372, allocations: 70.25 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4372, allocations: 5.547 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4372, allocations: 5.375 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4372, allocations: 0 / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.4373, allocations: 9.875 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4373, allocations: 0 / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.4373, allocations: 14.23 kB / 0.7215 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.4373, allocations: 1.125 kB / 0.7216 GB, free: 20.49 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 (2): * Single equations (assignments): 2 * 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 3.794e-05/0.4374, allocations: 113.4 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.4374, allocations: 1.812 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.4375, allocations: 78.94 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4375, allocations: 1.062 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4375, allocations: 0 / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4375, allocations: 1.75 kB / 0.7217 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.4376, allocations: 127.8 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4376, allocations: 0.75 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.4376, allocations: 8.406 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4377, allocations: 1.281 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4377, allocations: 0.6094 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4377, allocations: 1.188 kB / 0.7219 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4377, allocations: 4.031 kB / 0.7219 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4378, allocations: 167.9 kB / 0.722 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.4378, allocations: 13.92 kB / 0.722 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.4378, allocations: 1.281 kB / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.4378, allocations: 5.547 kB / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.4379, allocations: 2.969 kB / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.4379, allocations: 1.125 kB / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.4379, allocations: 80.25 kB / 0.7221 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4379, allocations: 4.031 kB / 0.7221 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001418/0.438, allocations: 8.344 kB / 0.7221 GB, free: 19.93 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 (2): * Single equations (assignments): 2 * 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.0002243/0.4383, allocations: 0.696 MB / 0.7228 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4384, allocations: 35.19 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4384, allocations: 4.094 kB / 0.7229 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.399e-05/0.4384, allocations: 15.58 kB / 0.7229 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4387, allocations: 11.84 kB / 0.7229 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.439, allocations: 147 kB / 0.723 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.439, allocations: 59.98 kB / 0.7231 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.439, allocations: 1.312 kB / 0.7231 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.4391, allocations: 10.41 kB / 0.7231 GB, free: 19 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4391, allocations: 4.062 kB / 0.7231 GB, free: 19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.4573, allocations: 1.925 MB / 0.725 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.051, allocations: 1.719 kB / 0.725 GB, free: 18.11 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Atan.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.65318423206918] Failed to read output from testmodel.py, exit status != 0: 7.130102121038362 7.139644019 6.702460166 Calling exit ...