Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008187/0.008187, allocations: 1.788 MB / 21.65 MB, free: 2.816 MB / 18.57 MB " [Timeout remaining time 180] 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.0008877/0.0008877, allocations: 84.72 kB / 25.48 MB, free: 6.387 MB / 18.57 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.0009194/0.0009194, allocations: 162.2 kB / 28.89 MB, free: 3.363 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.8716/0.8716, allocations: 177.2 MB / 209.3 MB, free: 2.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6809/0.6809, allocations: 102.5 MB / 368.3 MB, free: 0.7305 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|der.variableGradientLimiter.y_aux.|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y|variableGradientLimiter.y_aux",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|der.variableGradientLimiter.y_aux.|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y|variableGradientLimiter.y_aux",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 415.1 MB, free: 2.199 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.143e-05, allocations: 2.312 kB / 415.1 MB, free: 2.195 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.003155/0.003177, allocations: 2.339 MB / 417.4 MB, free: 15.84 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.00433, allocations: 0.705 MB / 418.1 MB, free: 15.12 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.00439, allocations: 3.938 kB / 418.1 MB, free: 15.12 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.004495, allocations: 19.86 kB / 418.1 MB, free: 15.1 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.004557, allocations: 15.81 kB / 418.2 MB, free: 15.09 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.004949, allocations: 115.5 kB / 418.3 MB, free: 14.97 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.005081, allocations: 95.69 kB / 418.4 MB, free: 14.88 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.005172, allocations: 21.95 kB / 418.4 MB, free: 14.86 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.005264, allocations: 55.77 kB / 418.4 MB, free: 14.8 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.005327, allocations: 35.89 kB / 418.5 MB, free: 14.77 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.005346, allocations: 12 kB / 418.5 MB, free: 14.75 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.005359, allocations: 4 kB / 418.5 MB, free: 14.75 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.005384, allocations: 19.92 kB / 418.5 MB, free: 14.73 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.005419, allocations: 27.91 kB / 418.5 MB, free: 14.7 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.005529, allocations: 59.8 kB / 418.6 MB, free: 14.64 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005531, allocations: 0 / 418.6 MB, free: 14.64 MB / 394.8 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005532, allocations: 0 / 418.6 MB, free: 14.64 MB / 394.8 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.005535, allocations: 0 / 418.6 MB, free: 14.64 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000444/0.005979, allocations: 320 kB / 418.9 MB, free: 14.31 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.006013, allocations: 8.031 kB / 418.9 MB, free: 14.3 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.006053, allocations: 20.92 kB / 418.9 MB, free: 14.28 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.006189, allocations: 130.1 kB / 419.1 MB, free: 14.13 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.0062, allocations: 4.375 kB / 419.1 MB, free: 14.12 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.006225, allocations: 8.375 kB / 419.1 MB, free: 14.12 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.006395, allocations: 86.84 kB / 419.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.006404, allocations: 3.938 kB / 419.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.006414, allocations: 4 kB / 419.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006421, allocations: 4 kB / 419.2 MB, free: 14.01 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.006467, allocations: 15.98 kB / 419.2 MB, free: 14 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.006842, allocations: 220.1 kB / 419.4 MB, free: 13.77 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.006917, allocations: 30.55 kB / 419.4 MB, free: 13.73 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.006946, allocations: 16.8 kB / 419.5 MB, free: 13.71 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.006961, allocations: 128 / 419.5 MB, free: 13.71 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.006984, allocations: 34.56 kB / 419.5 MB, free: 13.66 MB / 394.8 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006985, allocations: 4 kB / 419.5 MB, free: 13.66 MB / 394.8 MB Notification: Performance of matching and sorting (n=6): time 0.0001564/0.007142, allocations: 53.67 kB / 419.5 MB, free: 13.6 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.007174, allocations: 55.41 kB / 419.6 MB, free: 13.54 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.007265, allocations: 148.9 kB / 419.7 MB, free: 13.38 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007278, allocations: 25.7 kB / 419.8 MB, free: 13.35 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.007322, allocations: 100 kB / 419.9 MB, free: 13.25 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.007349, allocations: 23.84 kB / 419.9 MB, free: 13.22 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007387, allocations: 17.7 kB / 419.9 MB, free: 13.2 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.007485, allocations: 330.8 kB / 420.2 MB, free: 12.87 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.007508, allocations: 7.938 kB / 420.2 MB, free: 12.86 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.007529, allocations: 8 kB / 420.2 MB, free: 12.85 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.007587, allocations: 24.83 kB / 420.3 MB, free: 12.82 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007589, allocations: 0 / 420.3 MB, free: 12.82 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.631e-05/0.007685, allocations: 53.67 kB / 420.3 MB, free: 12.77 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.007696, allocations: 14.81 kB / 420.3 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007701, allocations: 0 / 420.3 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.007712, allocations: 0 / 420.3 MB, free: 12.75 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.007811, allocations: 23.92 kB / 420.4 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.007814, allocations: 0 / 420.4 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.007862, allocations: 15.88 kB / 420.4 MB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.007871, allocations: 7.938 kB / 420.4 MB, free: 12.71 MB / 394.8 MB 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 (7): * Single equations (assignments): 7 * 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 6.605e-05/0.007938, allocations: 109.8 kB / 420.5 MB, free: 12.59 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.007967, allocations: 7.984 kB / 420.5 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.007992, allocations: 16.78 kB / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007994, allocations: 0 / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007995, allocations: 0 / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007998, allocations: 3.938 kB / 420.5 MB, free: 12.56 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.008138, allocations: 94.05 kB / 420.6 MB, free: 12.45 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.008139, allocations: 4 kB / 420.6 MB, free: 12.45 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.008217, allocations: 19.98 kB / 420.6 MB, free: 12.43 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008219, allocations: 0 / 420.6 MB, free: 12.43 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008229, allocations: 0 / 420.6 MB, free: 12.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.00823, allocations: 0 / 420.6 MB, free: 12.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.008232, allocations: 4 kB / 420.6 MB, free: 12.43 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.008407, allocations: 171.4 kB / 420.8 MB, free: 12.24 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008419, allocations: 11.94 kB / 420.8 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.008433, allocations: 0 / 420.8 MB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.008512, allocations: 8 kB / 420.8 MB, free: 12.22 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.008554, allocations: 7.984 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.008562, allocations: 7.984 kB / 420.8 MB, free: 12.21 MB / 394.8 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.008591, allocations: 26.52 kB / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 420.9 MB, free: 12.18 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0002298/0.008821, allocations: 16 kB / 420.9 MB, free: 12.16 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * 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 (6): * Single equations (assignments): 6 * 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 8.614e-05/0.008907, allocations: 88.33 kB / 421 MB, free: 12.07 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 9.014e-05/0.008997, allocations: 33.02 kB / 421 MB, free: 12.04 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.009, allocations: 0 / 421 MB, free: 12.04 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.009035, allocations: 20.86 kB / 421 MB, free: 12.01 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.009241, allocations: 20.08 kB / 421 MB, free: 11.99 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.009778, allocations: 224.9 kB / 421.3 MB, free: 11.75 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.00982, allocations: 71.28 kB / 421.3 MB, free: 11.66 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.00986, allocations: 7.75 kB / 421.3 MB, free: 11.65 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.009938, allocations: 63.36 kB / 421.4 MB, free: 11.59 MB / 394.8 MB Notification: Performance of SimCode: time 7.62e-07/0.009938, allocations: 0 / 421.4 MB, free: 11.59 MB / 394.8 MB Notification: Performance of Templates: time 0.003174/0.01311, allocations: 1.062 MB / 422.5 MB, free: 10.54 MB / 394.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.106260617263615]