Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.001347/0.001347, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001484/0.001484, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 59.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002925/0.3076, allocations: 1.651 MB / 0.5635 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3092, allocations: 0.8384 MB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.3092, allocations: 4 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3094, allocations: 35.83 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.3096, allocations: 55.73 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.3101, allocations: 126.8 kB / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3103, allocations: 147.3 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.3103, allocations: 9.625 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.3104, allocations: 59.72 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3105, allocations: 75.67 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3105, allocations: 4 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3109, allocations: 163.8 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.3109, allocations: 39.83 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.311, allocations: 51.67 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.3114, allocations: 237.4 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3114, allocations: 0 / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3114, allocations: 0 / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3114, allocations: 4 kB / 0.5652 GB, free: 0.6523 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000668/0.312, allocations: 405.4 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3121, allocations: 8.031 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3133, allocations: 116.6 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3136, allocations: 166.2 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3136, allocations: 16.31 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.3137, allocations: 20.3 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.3144, allocations: 321.6 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3144, allocations: 0 / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3145, allocations: 4 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.3145, allocations: 23.98 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008363/0.3153, allocations: 315.7 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3168, allocations: 0.5748 MB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.3176, allocations: 214.3 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.3179, allocations: 84.81 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3179, allocations: 4 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3179, allocations: 38.55 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3179, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001121/0.3191, allocations: 281.4 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3191, allocations: 55.34 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3193, allocations: 146 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.3193, allocations: 29.7 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3194, allocations: 144 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3194, allocations: 39.69 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3195, allocations: 53.67 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3197, allocations: 318.8 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.32, allocations: 83.89 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.3204, allocations: 138.7 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.321, allocations: 226.9 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.321, allocations: 3.938 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008225/0.3219, allocations: 265.4 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3219, allocations: 10.5 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3219, allocations: 3.984 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3219, allocations: 4 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3224, allocations: 75.88 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.3236, allocations: 1.789 MB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3238, allocations: 32.2 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.3239, allocations: 15.98 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.324, allocations: 141.8 kB / 0.5712 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.3241, allocations: 7.953 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008609/0.3249, allocations: 266 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3249, allocations: 4 kB / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3249, allocations: 0 / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.325, allocations: 0 / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3252, allocations: 193.1 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3252, allocations: 7.938 kB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.3256, allocations: 63.94 kB / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3256, allocations: 0 / 0.5717 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.3257, allocations: 15.97 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.3268, allocations: 1.781 MB / 0.5735 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3268, allocations: 96 / 0.5735 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.3276, allocations: 323.1 kB / 0.5738 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.3276, allocations: 7.953 kB / 0.5738 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.3276, allocations: 3.938 kB / 0.5738 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3278, allocations: 16.27 kB / 0.5738 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3279, allocations: 15.97 kB / 0.5738 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3279, allocations: 11.98 kB / 0.5738 GB, free: 7.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.328, allocations: 103.2 kB / 0.5739 GB, free: 7.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.328, allocations: 0 / 0.5739 GB, free: 7.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.3284, allocations: 59.83 kB / 0.574 GB, free: 7.277 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.3286, allocations: 136.6 kB / 0.5741 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.3295, allocations: 227.7 kB / 0.5743 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3295, allocations: 4 kB / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.33, allocations: 128.2 kB / 0.5744 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3303, allocations: 14.95 kB / 0.5745 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.3311, allocations: 370.3 kB / 0.5748 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3312, allocations: 122.1 kB / 0.5749 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.3314, allocations: 72.84 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.3315, allocations: 27.39 kB / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3315, allocations: 0 / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of Templates: time 0.006787/0.3383, allocations: 2.922 MB / 0.5779 GB, free: 3.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.081108429003507]