Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.0009803/0.0009803, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001088/0.001088, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 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 0.91/0.91, allocations: 158.6 MB / 185.7 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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.1471/0.1471, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] 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.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.632e-05, allocations: 10.25 kB / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01182/0.01186, allocations: 16.51 MB / 364.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.02197, allocations: 5.187 MB / 369.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.025, allocations: 127.4 kB / 369.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006639/0.03164, allocations: 5.21 MB / 374.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.03946, allocations: 2.962 MB / 377.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.04228, allocations: 1.275 MB / 379 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.05258, allocations: 7.712 MB / 386.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007565/0.06014, allocations: 5.485 MB / 392.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.0726, allocations: 4.027 MB / 396.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009147/0.08174, allocations: 3.881 MB / 400.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003629/0.08537, allocations: 0.5898 MB / 400.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006134/0.09151, allocations: 1.592 MB / 402.3 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007019/0.09853, allocations: 3.573 MB / 405.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004943/0.1035, allocations: 2.232 MB / 408.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.1143, allocations: 7.644 MB / 415.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1143, allocations: 4 kB / 415.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1143, allocations: 0 / 415.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004154/0.1147, allocations: 0 / 415.7 MB, free: 5.098 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01621/0.1309, allocations: 8.756 MB / 424.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.131, allocations: 12.03 kB / 424.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.1404, allocations: 3.636 MB / 428.1 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008576/0.149, allocations: 4.052 MB / 432.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.1493, allocations: 402.5 kB / 432.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.1516, allocations: 0.523 MB / 433.1 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.189/0.3406, allocations: 10.14 MB / 443.2 MB, free: 57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.3408, allocations: 66.19 kB / 443.3 MB, free: 57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004775/0.3413, allocations: 244.7 kB / 443.5 MB, free: 57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003581/0.3449, allocations: 3.253 MB / 446.8 MB, free: 56.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.3605, allocations: 5.935 MB / 452.7 MB, free: 56.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05332/0.4138, allocations: 66.01 MB / 0.5066 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009352/0.4232, allocations: 3.617 MB / 0.5101 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/0.4258, allocations: 1.285 MB / 0.5114 GB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009958/0.4358, allocations: 6.36 MB / 0.5176 GB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.4358, allocations: 66.89 kB / 0.5176 GB, free: 3.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=297): time 5.46e-06/0.4358, allocations: 0 / 0.5176 GB, free: 3.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=339): time 0.05312/0.489, allocations: 24.82 MB / 0.5419 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4891, allocations: 247.6 kB / 0.5421 GB, free: 10.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/0.4955, allocations: 5.05 MB / 0.547 GB, free: 5.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008834/0.4964, allocations: 77.7 kB / 0.5471 GB, free: 5.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003235/0.4996, allocations: 5.155 MB / 0.5522 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001936/0.5016, allocations: 1.364 MB / 0.5535 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/0.5039, allocations: 2.002 MB / 0.5554 GB, free: 13.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.504, allocations: 480.7 kB / 0.5559 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.5068, allocations: 1.291 MB / 0.5572 GB, free: 11.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/0.5137, allocations: 8.837 MB / 0.5658 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/0.5271, allocations: 11.12 MB / 0.5766 GB, free: 1.266 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002906/0.5273, allocations: 52 kB / 0.5767 GB, free: 1.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02079/0.5481, allocations: 9.364 MB / 0.5858 GB, free: 7.836 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.5483, allocations: 80 kB / 0.5859 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/0.5485, allocations: 176 kB / 0.5861 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003731/0.5522, allocations: 1.485 MB / 0.5875 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005523/0.5577, allocations: 2.144 MB / 0.5896 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3078/0.8655, allocations: 7.719 MB / 0.5972 GB, free: 143.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/0.8722, allocations: 0.5991 MB / 0.5978 GB, free: 143.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/0.8736, allocations: 0.5332 MB / 0.5983 GB, free: 143.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002438/0.876, allocations: 0.894 MB / 0.5991 GB, free: 143.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.8772, allocations: 0.5982 MB / 0.5997 GB, free: 143.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006536/0.8837, allocations: 4.392 MB / 0.604 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/0.8837, allocations: 34.22 kB / 0.6041 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.8838, allocations: 11.16 kB / 0.6041 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.8838, allocations: 15.09 kB / 0.6041 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.901, allocations: 10.4 MB / 0.6142 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.901, allocations: 3.906 kB / 0.6142 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.9026, allocations: 0.5795 MB / 0.6148 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.9054, allocations: 1.245 MB / 0.616 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.9056, allocations: 60.38 kB / 0.6161 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006799/0.9124, allocations: 7.257 MB / 0.6232 GB, free: 138 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9124, allocations: 3.75 kB / 0.6232 GB, free: 138 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/0.9207, allocations: 5.686 MB / 0.6287 GB, free: 135.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/0.9228, allocations: 1.022 MB / 0.6297 GB, free: 135.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/0.9235, allocations: 65.75 kB / 0.6298 GB, free: 135 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.9251, allocations: 307 kB / 0.6301 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.9256, allocations: 218.5 kB / 0.6303 GB, free: 134.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.9257, allocations: 87.56 kB / 0.6304 GB, free: 134.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002644/0.9284, allocations: 2.21 MB / 0.6325 GB, free: 132.9 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9284, allocations: 0 / 0.6325 GB, free: 132.9 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006458/0.9348, allocations: 1.938 MB / 0.6344 GB, free: 130.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (279): * Single equations (assignments): 274 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006233/0.9355, allocations: 232.1 kB / 0.6346 GB, free: 130.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007674/0.9431, allocations: 5.447 MB / 0.64 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.9431, allocations: 0 / 0.64 GB, free: 126 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.9461, allocations: 2.177 MB / 0.6421 GB, free: 123.8 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/0.9496, allocations: 0.6451 MB / 0.6427 GB, free: 123.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.9699, allocations: 13.27 MB / 0.6557 GB, free: 109.8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.9721, allocations: 2.103 MB / 0.6577 GB, free: 107.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005027/0.9772, allocations: 2.333 MB / 0.66 GB, free: 105.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.9785, allocations: 376.4 kB / 0.6604 GB, free: 105 MB / 458.8 MB Notification: Performance of SimCode: time 1.984e-06/0.9785, allocations: 0 / 0.6604 GB, free: 105 MB / 458.8 MB Notification: Performance of Templates: time 0.07706/1.056, allocations: 61.75 MB / 0.7207 GB, free: 43.35 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","",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.438717409037054]