Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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.001424/0.001424, allocations: 79.59 kB / 21.18 MB, free: 3.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.001373/0.001373, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9387/0.9387, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.638/0.638, allocations: 88.07 MB / 349.5 MB, free: 14.23 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.632e-05, allocations: 2.312 kB / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100): time 0.001326/0.001343, allocations: 1.261 MB / 452.9 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.001511, allocations: 33.69 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.001542, allocations: 0 / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.434e-05/0.001627, allocations: 3.375 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.001691, allocations: 10.56 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.001859, allocations: 24.44 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.00072/0.002579, allocations: 1.467 MB / 454.4 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.002628, allocations: 8.781 kB / 454.4 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.003016, allocations: 0.6582 MB / 455.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.003462, allocations: 0.5852 MB / 455.7 MB, free: 31.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.003584, allocations: 82.34 kB / 455.8 MB, free: 31.69 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.003688, allocations: 76.25 kB / 455.8 MB, free: 31.69 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.003902, allocations: 445.8 kB / 456.3 MB, free: 31.51 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.004182, allocations: 418.8 kB / 456.7 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.00467, allocations: 0.914 MB / 457.6 MB, free: 31.15 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004672, allocations: 0 / 457.6 MB, free: 31.15 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004673, allocations: 0 / 457.6 MB, free: 31.15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.004683, allocations: 0 / 457.6 MB, free: 31.15 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002279/0.006963, allocations: 2.128 MB / 459.7 MB, free: 30.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.007, allocations: 12.22 kB / 459.7 MB, free: 30.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.007185, allocations: 155.6 kB / 459.9 MB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.007598, allocations: 359.3 kB / 460.2 MB, free: 30.03 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.007645, allocations: 109.7 kB / 460.4 MB, free: 29.98 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.007824, allocations: 240 kB / 460.6 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.008544, allocations: 0.6714 MB / 461.3 MB, free: 29.7 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.008586, allocations: 38.83 kB / 461.3 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.008646, allocations: 30.06 kB / 461.3 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.008662, allocations: 20.38 kB / 461.3 MB, free: 29.65 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.009271, allocations: 0.5207 MB / 461.9 MB, free: 29.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.009862, allocations: 0.6375 MB / 462.5 MB, free: 29.14 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.01049, allocations: 0.6271 MB / 463.1 MB, free: 29.01 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.01091, allocations: 374.2 kB / 463.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.83e-05/0.01098, allocations: 33.03 kB / 463.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.011, allocations: 56.23 kB / 463.6 MB, free: 28.88 MB / 410.8 MB Notification: Performance of pre-optimization done (n=200): time 3.016e-06/0.01101, allocations: 0 / 463.6 MB, free: 28.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=200): time 0.001694/0.0127, allocations: 1.432 MB / 465 MB, free: 28.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.01273, allocations: 76.16 kB / 465.1 MB, free: 28.46 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.01283, allocations: 245.2 kB / 465.3 MB, free: 28.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.01291, allocations: 92.45 kB / 465.4 MB, free: 28.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.01295, allocations: 171 kB / 465.6 MB, free: 28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.01329, allocations: 0.959 MB / 466.5 MB, free: 27.23 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.01371, allocations: 0.592 MB / 467.1 MB, free: 26.94 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.01375, allocations: 491 kB / 467.6 MB, free: 26.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.01427, allocations: 410.9 kB / 468 MB, free: 26.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/0.01521, allocations: 1.484 MB / 469.5 MB, free: 25.03 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.01675, allocations: 2.029 MB / 471.5 MB, free: 23.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.01677, allocations: 11.81 kB / 471.5 MB, free: 23.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=400) (initialization): time 0.002227/0.01899, allocations: 2.03 MB / 473.6 MB, free: 22.67 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.01903, allocations: 14.75 kB / 473.6 MB, free: 22.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.01906, allocations: 22.12 kB / 473.6 MB, free: 22.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.314e-05/0.01912, allocations: 42.56 kB / 473.7 MB, free: 22.66 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.0209, allocations: 0.84 MB / 474.5 MB, free: 22.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.432e-05/0.02095, allocations: 56.91 kB / 474.5 MB, free: 22.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.02148, allocations: 286.8 kB / 474.8 MB, free: 22.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.02161, allocations: 121.4 kB / 474.9 MB, free: 22.35 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (400): * Single equations (assignments): 400 * 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 0.0002277/0.02184, allocations: 336.2 kB / 475.3 MB, free: 22.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.02199, allocations: 133 kB / 475.4 MB, free: 21.98 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.02212, allocations: 178.1 kB / 475.6 MB, free: 21.81 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.02214, allocations: 19.59 kB / 475.6 MB, free: 21.81 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.02216, allocations: 0 / 475.6 MB, free: 21.81 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.02217, allocations: 13.97 kB / 475.6 MB, free: 21.81 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.02271, allocations: 0.5631 MB / 476.2 MB, free: 21.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.02272, allocations: 0 / 476.2 MB, free: 21.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.02486, allocations: 0.7008 MB / 476.9 MB, free: 21.35 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.02487, allocations: 6.844 kB / 476.9 MB, free: 21.35 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.02502, allocations: 109.8 kB / 477 MB, free: 21.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.02502, allocations: 6.531 kB / 477 MB, free: 21.32 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02503, allocations: 5.094 kB / 477 MB, free: 21.32 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.02708, allocations: 1.981 MB / 479 MB, free: 20.66 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.02713, allocations: 84.44 kB / 479.1 MB, free: 20.6 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.02728, allocations: 102.9 kB / 479.2 MB, free: 20.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.02762, allocations: 81.2 kB / 479.2 MB, free: 20.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.02777, allocations: 121.7 kB / 479.4 MB, free: 20.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.02785, allocations: 65.03 kB / 479.4 MB, free: 20.51 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.02787, allocations: 121.8 kB / 479.5 MB, free: 20.39 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02787, allocations: 0 / 479.5 MB, free: 20.39 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000718/0.02858, allocations: 405.4 kB / 479.9 MB, free: 20.31 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100]) * 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 (200): * Single equations (assignments): 200 * 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.0002045/0.02879, allocations: 260.9 kB / 480.2 MB, free: 20.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.03047, allocations: 1.42 MB / 481.6 MB, free: 19.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03048, allocations: 0 / 481.6 MB, free: 19.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.03114, allocations: 0.6413 MB / 482.3 MB, free: 19.69 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.03146, allocations: 83.08 kB / 482.3 MB, free: 19.64 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.03885, allocations: 8.607 MB / 490.9 MB, free: 13.26 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.03907, allocations: 306.1 kB / 491.2 MB, free: 13.11 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001273/0.04034, allocations: 0.642 MB / 491.9 MB, free: 12.69 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.04071, allocations: 96.5 kB / 492 MB, free: 12.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.463e-06/0.04071, allocations: 0 / 492 MB, free: 12.6 MB / 410.8 MB Notification: Performance of Templates: time 0.01341/0.05411, allocations: 10.71 MB / 0.4909 GB, free: 4.508 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.331715264357626]