Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.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.001957/0.001957, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002664/0.002664, allocations: 214.3 kB / 23.74 MB, free: 4.656 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.92 kB / 378.3 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3245, allocations: 53.36 MB / 431.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004308/0.3288, allocations: 2.611 MB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.3323, allocations: 1.957 MB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.3326, allocations: 19.75 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3339, allocations: 0.5522 MB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.3349, allocations: 0.4982 MB / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3364, allocations: 0.5584 MB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3375, allocations: 0.8183 MB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3377, allocations: 62.09 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.3381, allocations: 354.7 kB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.3386, allocations: 394.5 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.3387, allocations: 48 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3392, allocations: 251.7 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.3394, allocations: 215.2 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.3398, allocations: 314 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3409, allocations: 0.8883 MB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3409, allocations: 0 / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3409, allocations: 0 / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3409, allocations: 0 / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001889/0.3428, allocations: 1.189 MB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.3428, allocations: 8.031 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.343, allocations: 88.41 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.3439, allocations: 0.5365 MB / 442.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.3439, allocations: 20.38 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.3439, allocations: 24.12 kB / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.3446, allocations: 354.7 kB / 443.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3446, allocations: 0 / 443.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3446, allocations: 16 kB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.3446, allocations: 4 kB / 443.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.345, allocations: 187.8 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.3467, allocations: 1.309 MB / 444.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.3474, allocations: 330.7 kB / 445.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.3477, allocations: 167.3 kB / 445.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3478, allocations: 8.062 kB / 445.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006786/0.3484, allocations: 459.2 kB / 445.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.3484, allocations: 0 / 445.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001521/0.35, allocations: 0.7497 MB / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003216/0.3503, allocations: 456.9 kB / 447 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3517, allocations: 0.9772 MB / 448 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/0.3517, allocations: 41.7 kB / 448 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.352, allocations: 312.9 kB / 448.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3522, allocations: 111.2 kB / 448.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.3523, allocations: 102.1 kB / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3525, allocations: 322 kB / 448.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3528, allocations: 152.9 kB / 449 MB, free: 5.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.3534, allocations: 358 kB / 449.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/0.3542, allocations: 0.5893 MB / 449.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3542, allocations: 0 / 449.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001189/0.3554, allocations: 0.6741 MB / 450.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.3555, allocations: 101 kB / 450.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3555, allocations: 4 kB / 450.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3556, allocations: 8 kB / 450.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3558, allocations: 63.97 kB / 450.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3559, allocations: 12.22 kB / 450.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.3562, allocations: 59.7 kB / 450.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3562, allocations: 20.28 kB / 450.8 MB, free: 3.016 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[1],$whenCondition5,$whenCondition4,start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[1],$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0004872/0.3567, allocations: 391 kB / 451.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3568, allocations: 87.42 kB / 451.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3578, allocations: 0.515 MB / 451.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3578, allocations: 4 kB / 451.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3578, allocations: 0 / 451.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3579, allocations: 11.92 kB / 451.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3592, allocations: 0.9475 MB / 452.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3592, allocations: 4 kB / 452.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.3593, allocations: 27.98 kB / 452.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3593, allocations: 0 / 452.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.3594, allocations: 19.98 kB / 452.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3594, allocations: 0 / 452.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3594, allocations: 0 / 452.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3606, allocations: 0.7909 MB / 453.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3607, allocations: 83.59 kB / 453.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3608, allocations: 23.98 kB / 453.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3611, allocations: 19.98 kB / 453.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3612, allocations: 47.86 kB / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.3612, allocations: 27.92 kB / 453.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00093/0.3622, allocations: 0.6943 MB / 454.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3622, allocations: 4 kB / 454.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.3628, allocations: 159.8 kB / 454.7 MB, free: 15.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001778/0.3646, allocations: 497.2 kB / 455.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3656, allocations: 0.5605 MB / 455.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3656, allocations: 0 / 455.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.3661, allocations: 374 kB / 456.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.3669, allocations: 189.7 kB / 456.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.369, allocations: 1.227 MB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/0.3696, allocations: 0.9445 MB / 458.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3699, allocations: 108.9 kB / 458.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.37, allocations: 59.42 kB / 458.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.37, allocations: 3.938 kB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01884/0.3888, allocations: 9.732 MB / 468.4 MB, free: 1.441 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.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.193366133840755]