Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.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.001666/0.001666, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002204/0.002204, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.94 MB / 358.9 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002097/0.002097, allocations: 70.08 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01242/0.3531, allocations: 9.802 MB / 0.5665 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.3596, allocations: 2.712 MB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.3606, allocations: 59.81 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.3632, allocations: 1.3 MB / 0.5705 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.3656, allocations: 1.253 MB / 0.5717 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3659, allocations: 83.84 kB / 0.5718 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.3689, allocations: 2.706 MB / 0.5745 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.3709, allocations: 1.679 MB / 0.5761 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.3724, allocations: 1.059 MB / 0.5771 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.3744, allocations: 1.541 MB / 0.5786 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.3748, allocations: 208 kB / 0.5788 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.3757, allocations: 407.5 kB / 0.5792 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.377, allocations: 1.437 MB / 0.5806 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.3782, allocations: 1.183 MB / 0.5818 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.3838, allocations: 5.484 MB / 0.5871 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3838, allocations: 0 / 0.5871 GB, free: 8.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3838, allocations: 8 kB / 0.5871 GB, free: 8.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001375/0.3839, allocations: 0 / 0.5871 GB, free: 8.457 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005926/0.3899, allocations: 3.6 MB / 0.5907 GB, free: 4.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3899, allocations: 12.03 kB / 0.5907 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008212/0.3907, allocations: 0.671 MB / 0.5913 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009624/0.4003, allocations: 2.966 MB / 0.5942 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/0.4046, allocations: 1.496 MB / 0.5957 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.4048, allocations: 172.6 kB / 0.5958 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005767/0.4053, allocations: 231.8 kB / 0.5961 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.4196, allocations: 9.468 MB / 0.6053 GB, free: 5.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.4197, allocations: 15.88 kB / 0.6053 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.42, allocations: 103.8 kB / 0.6054 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003691/0.4237, allocations: 2.377 MB / 0.6077 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.4398, allocations: 8.644 MB / 0.6162 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.4793, allocations: 27.64 MB / 0.6432 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.4837, allocations: 2.041 MB / 0.6452 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.485, allocations: 0.8945 MB / 0.6461 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008211/0.4932, allocations: 3.774 MB / 0.6497 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.4933, allocations: 43.22 kB / 0.6498 GB, free: 6.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.387e-06/0.4933, allocations: 0 / 0.6498 GB, free: 6.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005995/0.4993, allocations: 2.741 MB / 0.6525 GB, free: 4.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4993, allocations: 60.06 kB / 0.6525 GB, free: 4.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.5034, allocations: 2.747 MB / 0.6552 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.5035, allocations: 33.7 kB / 0.6552 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.5056, allocations: 2.759 MB / 0.6579 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005345/0.5062, allocations: 0.5117 MB / 0.6584 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.5073, allocations: 0.9091 MB / 0.6593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5075, allocations: 361.8 kB / 0.6597 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.5094, allocations: 1.355 MB / 0.661 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.514, allocations: 4.114 MB / 0.665 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007565/0.5216, allocations: 5.964 MB / 0.6708 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.107e-05/0.5216, allocations: 28 kB / 0.6708 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009118/0.5308, allocations: 5.292 MB / 0.676 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.5309, allocations: 52.06 kB / 0.6761 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.531, allocations: 96 kB / 0.6762 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.5312, allocations: 128 kB / 0.6763 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.5343, allocations: 0.9786 MB / 0.6772 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001754/0.5344, allocations: 195.2 kB / 0.6774 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.5374, allocations: 0.6088 MB / 0.678 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.5379, allocations: 280 kB / 0.6783 GB, free: 6.867 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.002909/0.5408, allocations: 1.895 MB / 0.6801 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.5411, allocations: 222.5 kB / 0.6803 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.5416, allocations: 275.2 kB / 0.6806 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.5417, allocations: 15.98 kB / 0.6806 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.5417, allocations: 4 kB / 0.6806 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5417, allocations: 3.984 kB / 0.6806 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008805/0.5505, allocations: 5.453 MB / 0.686 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5505, allocations: 8 kB / 0.686 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.5511, allocations: 139.8 kB / 0.6861 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5511, allocations: 8 kB / 0.6861 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.5511, allocations: 20 kB / 0.6861 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.5511, allocations: 8 kB / 0.6861 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.5511, allocations: 8.438 kB / 0.6861 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.5533, allocations: 1.805 MB / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.5538, allocations: 226.2 kB / 0.6881 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.554, allocations: 19.98 kB / 0.6881 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/0.5545, allocations: 35.95 kB / 0.6882 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5546, allocations: 68.28 kB / 0.6882 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5547, allocations: 39.98 kB / 0.6883 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002271/0.557, allocations: 1.556 MB / 0.6898 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.557, allocations: 0 / 0.6898 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003789/0.5608, allocations: 1.004 MB / 0.6908 GB, free: 9.844 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.002928/0.5637, allocations: 2.437 MB / 0.6932 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004892/0.5686, allocations: 3.023 MB / 0.6961 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.5686, allocations: 0 / 0.6961 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.5695, allocations: 0.6863 MB / 0.6968 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.5709, allocations: 247.5 kB / 0.697 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04381/0.6147, allocations: 29.37 MB / 0.7257 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2485/0.8632, allocations: 2.413 MB / 0.7281 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004199/0.8674, allocations: 1.486 MB / 0.7295 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/0.8693, allocations: 1.511 MB / 0.731 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.8693, allocations: 1.438 kB / 0.731 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06387/0.9331, allocations: 38.15 MB / 0.7682 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.99, allocations: 4.062 kB / 0.7682 GB, free: 130.6 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable torus1.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.16251696506515]