Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001968/0.001968, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.001489/0.001489, allocations: 166.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2443/0.2443, allocations: 32.39 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.767e-05, allocations: 2.281 kB / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.02153/0.02157, allocations: 13.25 MB / 420.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.03831, allocations: 4.899 MB / 425.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.04272, allocations: 123.4 kB / 425.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.05367, allocations: 4.279 MB / 429.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.06373, allocations: 2.593 MB / 432.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.06791, allocations: 1.185 MB / 433.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.08275, allocations: 7.827 MB / 441.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.09431, allocations: 4.902 MB / 446.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.1066, allocations: 3.652 MB / 450.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008847/0.1154, allocations: 3.542 MB / 453.6 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003097/0.1185, allocations: 0.5195 MB / 454.1 MB, free: 4.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.1243, allocations: 1.354 MB / 455.5 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007229/0.1316, allocations: 3.051 MB / 458.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009132/0.1407, allocations: 1.947 MB / 460.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.1627, allocations: 10.36 MB / 470.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1627, allocations: 4 kB / 470.9 MB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1627, allocations: 0 / 470.9 MB, free: 3.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005319/0.1633, allocations: 0 / 470.9 MB, free: 3.266 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.332/0.4953, allocations: 7.246 MB / 478.1 MB, free: 65.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4954, allocations: 9.281 kB / 478.1 MB, free: 65.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.5268, allocations: 3.5 MB / 481.6 MB, free: 65.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.5411, allocations: 4.488 MB / 486.1 MB, free: 63.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004418/0.5416, allocations: 335.4 kB / 486.4 MB, free: 63.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.5445, allocations: 464.9 kB / 486.9 MB, free: 62.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02948/0.5739, allocations: 13.73 MB / 0.4889 GB, free: 51.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.5741, allocations: 73.48 kB / 0.489 GB, free: 51.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005743/0.5747, allocations: 210 kB / 0.4892 GB, free: 51.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004484/0.5792, allocations: 2.657 MB / 0.4917 GB, free: 49.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.6017, allocations: 11.78 MB / 0.5032 GB, free: 37.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07092/0.6726, allocations: 49.94 MB / 0.552 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.688, allocations: 5.256 MB / 0.5572 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005573/0.6936, allocations: 3.281 MB / 0.5604 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.6942, allocations: 250.1 kB / 0.5606 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/0.6943, allocations: 64.5 kB / 0.5607 GB, free: 9.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=254): time 7.204e-06/0.6943, allocations: 0 / 0.5607 GB, free: 9.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=324): time 0.1407/0.835, allocations: 38.31 MB / 0.5981 GB, free: 3.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002763/0.8353, allocations: 265.4 kB / 0.5983 GB, free: 2.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01561/0.8509, allocations: 5.216 MB / 0.6034 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001354/0.8523, allocations: 73.7 kB / 0.6035 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005106/0.8574, allocations: 4.144 MB / 0.6075 GB, free: 9.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003524/0.8609, allocations: 1.244 MB / 0.6087 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007039/0.8679, allocations: 1.62 MB / 0.6103 GB, free: 6.578 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8681, allocations: 305.1 kB / 0.6106 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006892/0.875, allocations: 3.697 MB / 0.6142 GB, free: 2.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/0.8868, allocations: 8.076 MB / 0.6221 GB, free: 8.363 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/0.9083, allocations: 12.5 MB / 0.6343 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002346/0.9085, allocations: 44 kB / 0.6344 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.03681/0.9453, allocations: 13.91 MB / 0.6479 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.9455, allocations: 68.97 kB / 0.648 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003842/0.9459, allocations: 148 kB / 0.6481 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008797/0.9547, allocations: 2.764 MB / 0.6508 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008403/0.9631, allocations: 1.833 MB / 0.6526 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3498/1.313, allocations: 17.43 MB / 0.6697 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009693/1.323, allocations: 0.572 MB / 0.6702 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0036/1.326, allocations: 467.7 kB / 0.6707 GB, free: 163.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (973): * Single equations (assignments): 968 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0104/1.337, allocations: 2.828 MB / 0.6734 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/1.339, allocations: 470.7 kB / 0.6739 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.355, allocations: 8.092 MB / 0.6818 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/1.355, allocations: 34.81 kB / 0.6818 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.937e-05/1.355, allocations: 11.12 kB / 0.6818 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.975e-05/1.355, allocations: 15.14 kB / 0.6818 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03187/1.387, allocations: 15.4 MB / 0.6969 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/1.387, allocations: 3.75 kB / 0.6969 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/1.39, allocations: 0.5166 MB / 0.6974 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/1.396, allocations: 2.483 MB / 0.6998 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007059/1.396, allocations: 63.17 kB / 0.6999 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/1.413, allocations: 15.62 MB / 0.7151 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.413, allocations: 7.938 kB / 0.7151 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/1.433, allocations: 12.71 MB / 0.7275 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/1.437, allocations: 1.061 MB / 0.7286 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002155/1.439, allocations: 65.3 kB / 0.7286 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005012/1.444, allocations: 319.4 kB / 0.7289 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001332/1.446, allocations: 221.4 kB / 0.7291 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006617/1.446, allocations: 89.94 kB / 0.7292 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0096/1.456, allocations: 3.126 MB / 0.7323 GB, free: 120 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.456, allocations: 0 / 0.7323 GB, free: 120 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01189/1.468, allocations: 1.769 MB / 0.734 GB, free: 118.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/1.469, allocations: 230.4 kB / 0.7342 GB, free: 118 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01755/1.487, allocations: 8.765 MB / 0.7428 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-05/1.487, allocations: 0 / 0.7428 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006761/1.494, allocations: 3.336 MB / 0.7461 GB, free: 106 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008074/1.502, allocations: 0.5933 MB / 0.7466 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/1.532, allocations: 14.97 MB / 0.7612 GB, free: 90.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006186/1.538, allocations: 3.917 MB / 0.7651 GB, free: 86.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005644/1.543, allocations: 2.461 MB / 0.7675 GB, free: 83.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.545, allocations: 348.4 kB / 0.7678 GB, free: 83.58 MB / 0.5137 GB Notification: Performance of SimCode: time 1.663e-06/1.545, allocations: 3.938 kB / 0.7678 GB, free: 83.58 MB / 0.5137 GB Notification: Performance of Templates: time 0.1035/1.649, allocations: 64.53 MB / 0.8308 GB, free: 19.06 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.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: 9.206553138792515]