Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 207.3 kB / 21.4 MB, free: 1.645 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.4 MB / 251.6 MB, free: 52 kB / 190.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 81.78 kB / 490.2 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.149, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001738/0.1507, allocations: 0.5337 MB / 0.5402 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.152, allocations: 0.6006 MB / 0.5408 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.152, allocations: 3.938 kB / 0.5408 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.1521, allocations: 3.938 kB / 0.5408 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.1522, allocations: 0 / 0.5408 GB, free: 3.102 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.1529, allocations: 197.7 kB / 0.541 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.153, allocations: 31.91 kB / 0.541 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.153, allocations: 3.984 kB / 0.541 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.1531, allocations: 15.98 kB / 0.541 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.1531, allocations: 16.22 kB / 0.541 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1531, allocations: 0 / 0.541 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1535, allocations: 171.7 kB / 0.5412 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.1536, allocations: 64.09 kB / 0.5412 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.1536, allocations: 51.61 kB / 0.5413 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.154, allocations: 207.2 kB / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.154, allocations: 0 / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.154, allocations: 0 / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.154, allocations: 0 / 0.5415 GB, free: 2.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007056/0.1547, allocations: 0.4921 MB / 0.542 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1547, allocations: 8.031 kB / 0.542 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.1548, allocations: 16.84 kB / 0.542 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1551, allocations: 184.1 kB / 0.5422 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1551, allocations: 16.38 kB / 0.5422 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1551, allocations: 24.38 kB / 0.5422 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1553, allocations: 124.4 kB / 0.5423 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1554, allocations: 0 / 0.5423 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1554, allocations: 0 / 0.5423 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1554, allocations: 0 / 0.5423 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.1555, allocations: 104.3 kB / 0.5424 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.1558, allocations: 234.2 kB / 0.5427 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.156, allocations: 163 kB / 0.5428 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1562, allocations: 153.7 kB / 0.543 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1562, allocations: 0 / 0.543 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1564, allocations: 169.9 kB / 0.5431 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=54): time 1.062e-06/0.1565, allocations: 0 / 0.5431 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.001359/0.1578, allocations: 0.7773 MB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.1579, allocations: 103.8 kB / 0.544 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.158, allocations: 125.7 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.1581, allocations: 65.69 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1582, allocations: 89.45 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1583, allocations: 143 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1585, allocations: 158.7 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1586, allocations: 354.8 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.1589, allocations: 177.9 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.1597, allocations: 0.5408 MB / 0.5456 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1608, allocations: 0.7749 MB / 0.5463 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.1608, allocations: 4 kB / 0.5463 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001162/0.162, allocations: 0.7476 MB / 0.5471 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.162, allocations: 12 kB / 0.5471 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.162, allocations: 12 kB / 0.5471 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.1621, allocations: 16 kB / 0.5471 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.1625, allocations: 123.7 kB / 0.5472 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.1625, allocations: 23.92 kB / 0.5472 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.1627, allocations: 63.58 kB / 0.5473 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.1628, allocations: 44 kB / 0.5473 GB, free: 11.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 (state33[33],$PRE.state33[33],state33[32],$PRE.state33[32],state33[31],$PRE.state33[31],state33[30],$PRE.state33[30],state33[29],$PRE.state33[29],state33[28],$PRE.state33[28],state33[27],$PRE.state33[27],state33[26],$PRE.state33[26],state33[25],$PRE.state33[25],state33[24],$PRE.state33[24],state33[23],$PRE.state33[23],state33[22],$PRE.state33[22],state33[21],$PRE.state33[21],state33[20],$PRE.state33[20],state33[19],$PRE.state33[19],state33[18],$PRE.state33[18],state33[17],$PRE.state33[17],state33[16],$PRE.state33[16],state33[15],$PRE.state33[15],state33[14],$PRE.state33[14],state33[13],$PRE.state33[13],state33[12],$PRE.state33[12],state33[11],$PRE.state33[11],state33[10],$PRE.state33[10],state33[9],$PRE.state33[9],state33[8],$PRE.state33[8],state33[7],$PRE.state33[7],state33[6],$PRE.state33[6],state33[5],$PRE.state33[5],state33[4],$PRE.state33[4],state33[3],$PRE.state33[3],state33[2],$PRE.state33[2],state33[1],$PRE.state33[1],state4c[4],$PRE.state4c[4],state4c[3],$PRE.state4c[3],state4c[2],$PRE.state4c[2],state4c[1],$PRE.state4c[1],state4b[4],$PRE.state4b[4],state4b[3],$PRE.state4b[3],state4b[2],$PRE.state4b[2],state4b[1],$PRE.state4b[1],state4a[4],$PRE.state4a[4],state4a[3],$PRE.state4a[3],state4a[2],$PRE.state4a[2],state4a[1],$PRE.state4a[1],state2[2],$PRE.state2[2],state2[1],$PRE.state2[1],r33,$PRE.r33,r4c,$PRE.r4c,r4b,$PRE.r4b,r4a,$PRE.r4a,r2,$PRE.r2,result,$PRE.result,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * 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.0002812/0.163, allocations: 249.5 kB / 0.5476 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.1631, allocations: 11.84 kB / 0.5476 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.1631, allocations: 9.859 kB / 0.5476 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1631, allocations: 0 / 0.5476 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1631, allocations: 8 kB / 0.5476 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1631, allocations: 0 / 0.5476 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1633, allocations: 197.9 kB / 0.5478 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1634, allocations: 4 kB / 0.5478 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-06/0.1634, allocations: 7.875 kB / 0.5478 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1634, allocations: 0 / 0.5478 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1634, allocations: 4 kB / 0.5478 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1634, allocations: 0 / 0.5478 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1634, allocations: 0 / 0.5478 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.1644, allocations: 0.6188 MB / 0.5484 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.1645, allocations: 104.8 kB / 0.5485 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1645, allocations: 0 / 0.5485 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.1645, allocations: 4 kB / 0.5485 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.1645, allocations: 3.984 kB / 0.5485 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1646, allocations: 0 / 0.5485 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.1646, allocations: 75.28 kB / 0.5486 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1646, allocations: 0 / 0.5486 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.1651, allocations: 95.86 kB / 0.5487 GB, free: 10.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006118/0.1657, allocations: 268.5 kB / 0.5489 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.1664, allocations: 473.3 kB / 0.5494 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1664, allocations: 0 / 0.5494 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1665, allocations: 164.7 kB / 0.5495 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1667, allocations: 4 kB / 0.5496 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.1673, allocations: 452.6 kB / 0.55 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1677, allocations: 0.7295 MB / 0.5507 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.1677, allocations: 43.64 kB / 0.5507 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1678, allocations: 23.44 kB / 0.5508 GB, free: 8.184 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1678, allocations: 0 / 0.5508 GB, free: 8.184 MB / 414.1 MB Notification: Performance of Templates: time 0.007027/0.1748, allocations: 3.114 MB / 0.5538 GB, free: 5.066 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5138378301635385]