Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0009972/0.0009972, 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.001369/0.001369, 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.9424/0.9424, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03797/0.03797, allocations: 12.18 MB / 324.6 MB, free: 6.273 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004366/0.0004366, allocations: 27.72 kB / 384.1 MB, free: 10.68 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.667/1.667, allocations: 353.8 MB / 0.7787 GB, free: 3.102 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001439/0.001439, allocations: 118.7 kB / 1.06 GB, free: 25.08 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2399, allocations: 134.9 MB / 1.192 GB, free: 7.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001693/0.2415, allocations: 0.6983 MB / 1.192 GB, free: 7.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2426, allocations: 0.8826 MB / 1.193 GB, free: 6.285 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.2427, allocations: 0 / 1.193 GB, free: 6.285 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.2428, allocations: 4 kB / 1.193 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2429, allocations: 11.86 kB / 1.193 GB, free: 6.27 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2432, allocations: 23.97 kB / 1.193 GB, free: 6.246 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.2433, allocations: 43.8 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2434, allocations: 11.98 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.2435, allocations: 8 kB / 1.193 GB, free: 6.184 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.2436, allocations: 31.84 kB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2436, allocations: 7.938 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.2437, allocations: 7.984 kB / 1.193 GB, free: 6.137 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.2437, allocations: 8 kB / 1.193 GB, free: 6.129 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.2437, allocations: 23.92 kB / 1.194 GB, free: 6.105 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2439, allocations: 44.03 kB / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2439, allocations: 0 / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2439, allocations: 0 / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2439, allocations: 4 kB / 1.194 GB, free: 6.059 MB / 0.823 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.0005595/0.2445, allocations: 290.2 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2445, allocations: 8.031 kB / 1.194 GB, free: 5.734 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.2446, allocations: 30.75 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.2446, allocations: 12.89 kB / 1.194 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2448, allocations: 114.5 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2448, allocations: 4.375 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2448, allocations: 8.359 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.245, allocations: 70.2 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.245, allocations: 3.938 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.245, allocations: 0 / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.245, allocations: 0 / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.2452, allocations: 67.92 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.2456, allocations: 243.9 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.2457, allocations: 50.53 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.2458, allocations: 40.92 kB / 1.194 GB, free: 5.008 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2459, allocations: 3.984 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2459, allocations: 30.56 kB / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.2459, allocations: 0 / 1.194 GB, free: 4.965 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0004338/0.2463, allocations: 129.5 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2464, allocations: 55.41 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2465, allocations: 109.8 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2465, allocations: 25.7 kB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.2466, allocations: 92.08 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2466, allocations: 11.89 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.2466, allocations: 17.66 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.2467, allocations: 318.8 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.2468, allocations: 31.95 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.2469, allocations: 31.97 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.2471, allocations: 72.72 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2471, allocations: 0 / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002271/0.2473, allocations: 97.56 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2473, allocations: 8 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2474, allocations: 3.984 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2474, allocations: 0 / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.2475, allocations: 23.92 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2475, allocations: 0 / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.2475, allocations: 11.94 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2475, allocations: 8 kB / 1.196 GB, free: 3.875 MB / 0.823 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.194e-05/0.2476, allocations: 113.8 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2476, allocations: 4 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.2479, allocations: 109.5 kB / 1.196 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2479, allocations: 8.359 kB / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2479, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2479, allocations: 0 / 1.196 GB, free: 3.621 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2481, allocations: 140.7 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2481, allocations: 0 / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.2482, allocations: 11.98 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2482, allocations: 7.984 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.2482, allocations: 4 kB / 1.196 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2482, allocations: 3.984 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2482, allocations: 0 / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.2484, allocations: 191.4 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.2485, allocations: 8 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2485, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.2485, allocations: 11.98 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.2486, allocations: 7.922 kB / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2486, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.2486, allocations: 91.27 kB / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2486, allocations: 0 / 1.196 GB, free: 3.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002302/0.2489, allocations: 4 kB / 1.196 GB, free: 3.086 MB / 0.823 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.0005151/0.2494, allocations: 0.7318 MB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.2497, allocations: 75.86 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2497, allocations: 0 / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.2498, allocations: 31.97 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.2501, allocations: 8 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.2506, allocations: 167.7 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2508, allocations: 0.6885 MB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2508, allocations: 0 / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2508, allocations: 15.44 kB / 1.198 GB, free: 1.281 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/0.2508, allocations: 0 / 1.198 GB, free: 1.281 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.2648, allocations: 1.762 MB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.156, allocations: 3.438 kB / 1.2 GB, free: 15.66 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.570742962881923] Failed to read output from testmodel.py, exit status != 0: 7.231644573621452 7.245001989 6.999107394 Calling exit ...