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.000948/0.000948, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001377/0.001377, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.978/0.978, allocations: 230.6 MB / 256 MB, free: 9.809 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.7772/0.7772, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001449/0.001449, allocations: 70.02 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4751, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001317/0.4765, allocations: 0.7015 MB / 0.8186 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.4771, allocations: 0.88 MB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.4771, allocations: 3.406 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.4771, allocations: 3.938 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.4772, allocations: 9.203 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.4774, allocations: 20.28 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.109e-05/0.4774, allocations: 43.97 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.4775, allocations: 8.547 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.4776, allocations: 22 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.4776, allocations: 22.34 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.4776, allocations: 6.281 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.4777, allocations: 12 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.4777, allocations: 12.69 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.4777, allocations: 16.88 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.4778, allocations: 49.25 kB / 0.8197 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4778, allocations: 0 / 0.8197 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4778, allocations: 0 / 0.8197 GB, free: 36 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.4778, allocations: 3.938 kB / 0.8197 GB, free: 32 kB / 0.6042 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.0003726/0.4782, allocations: 292.2 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4783, allocations: 7.594 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.4783, allocations: 33.03 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.4784, allocations: 12.36 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.4784, allocations: 121.9 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4784, allocations: 384 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.4785, allocations: 384 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4786, allocations: 71.48 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4786, allocations: 7.938 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.4786, allocations: 0 / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4786, allocations: 0 / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4788, allocations: 72.14 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.4791, allocations: 240.2 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4792, allocations: 49.83 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.4793, allocations: 43.41 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4793, allocations: 0.5625 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4793, allocations: 36.73 kB / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.4793, allocations: 0 / 0.8206 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002946/0.4796, allocations: 133.7 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4796, allocations: 52.06 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.4797, allocations: 109.9 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4797, allocations: 28.89 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.4798, allocations: 85.31 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.4798, allocations: 9.938 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.4798, allocations: 16.8 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.4799, allocations: 318.7 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.4799, allocations: 30.44 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.48, allocations: 37.47 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4801, allocations: 76.69 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4801, allocations: 3.938 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001696/0.4803, allocations: 95.25 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4803, allocations: 4.797 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4803, allocations: 0 / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4803, allocations: 2.062 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.4804, allocations: 20.11 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4804, allocations: 0 / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.4805, allocations: 18.92 kB / 0.8216 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4805, allocations: 4.547 kB / 0.8216 GB, free: 14.39 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.625e-05/0.4805, allocations: 114.6 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.4806, allocations: 7.391 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.4808, allocations: 111.2 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4808, allocations: 0 / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4808, allocations: 3.891 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4808, allocations: 3.938 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.4809, allocations: 136.5 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4809, allocations: 1.406 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.4809, allocations: 17.47 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4809, allocations: 0 / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4809, allocations: 4 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4809, allocations: 0 / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4809, allocations: 0 / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.4811, allocations: 203.5 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.4812, allocations: 0 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4812, allocations: 8.594 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.4812, allocations: 12.42 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.4813, allocations: 6.281 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.4813, allocations: 0 / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.4813, allocations: 86.92 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4813, allocations: 0 / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001434/0.4814, allocations: 7.219 kB / 0.8223 GB, free: 13.8 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.0003764/0.4818, allocations: 0.7313 MB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.482, allocations: 68.03 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.482, allocations: 1.812 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.4821, allocations: 37.48 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.4823, allocations: 4.844 kB / 0.8231 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.4827, allocations: 163.9 kB / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.4829, allocations: 0.6935 MB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.4829, allocations: 0.7969 kB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.4829, allocations: 17.5 kB / 0.824 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4829, allocations: 1.344 kB / 0.824 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.498, allocations: 1.734 MB / 0.8257 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/7.093, allocations: 9.453 kB / 0.8257 GB, free: 11.79 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.11200272012502] Failed to read output from testmodel.py, exit status != 0: 7.174025270855054 7.188307816 6.708108424 Calling exit ...