Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.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.0008182/0.0008182, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.001997, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007689/0.0007689, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009724/0.001741, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.001/1.001, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1757/1.177, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.789e-05/4.113e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006687/0.006728, allocations: 4.251 MB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.01021, allocations: 1.379 MB / 227.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.01058, allocations: 15.88 kB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.01092, allocations: 122.8 kB / 227.7 MB, free: 10.26 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.01148, allocations: 241.8 kB / 228 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.01267, allocations: 431 kB / 228.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.01404, allocations: 1.154 MB / 229.6 MB, free: 8.441 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.0144, allocations: 188.1 kB / 229.7 MB, free: 8.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.01552, allocations: 0.7127 MB / 230.5 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.01621, allocations: 430.9 kB / 230.9 MB, free: 7.109 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.01644, allocations: 92 kB / 231 MB, free: 7.02 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.01682, allocations: 155.9 kB / 231.1 MB, free: 6.867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.01702, allocations: 151.5 kB / 231.3 MB, free: 6.719 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.01733, allocations: 247.6 kB / 231.5 MB, free: 6.477 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009422/0.01827, allocations: 0.6891 MB / 232.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.01829, allocations: 0 / 232.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01829, allocations: 0 / 232.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.01831, allocations: 3.984 kB / 232.2 MB, free: 5.781 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002453/0.02077, allocations: 1.287 MB / 233.5 MB, free: 4.469 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.02083, allocations: 12.02 kB / 233.5 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.02117, allocations: 190 kB / 233.7 MB, free: 4.254 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.02159, allocations: 319.4 kB / 234 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.02163, allocations: 50.38 kB / 234 MB, free: 3.863 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.02173, allocations: 68.38 kB / 234.1 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.02244, allocations: 0.5744 MB / 234.7 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.02247, allocations: 12.12 kB / 234.7 MB, free: 3.199 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.02252, allocations: 36.11 kB / 234.7 MB, free: 3.164 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.02254, allocations: 16 kB / 234.7 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.02303, allocations: 357.7 kB / 235.1 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.02503, allocations: 1.354 MB / 236.5 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.02554, allocations: 406.2 kB / 236.8 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.02577, allocations: 200.4 kB / 237 MB, free: 0.793 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.02584, allocations: 17 kB / 237.1 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.02623, allocations: 352.9 kB / 237.4 MB, free: 432 kB / 234.7 MB Notification: Performance of pre-optimization done (n=86): time 2.605e-06/0.02624, allocations: 3.938 kB / 237.4 MB, free: 428 kB / 234.7 MB Notification: Performance of matching and sorting (n=106): time 0.00413/0.03037, allocations: 2.571 MB / 240 MB, free: 13.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.03041, allocations: 64.41 kB / 240 MB, free: 13.74 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.03064, allocations: 343.2 kB / 240.4 MB, free: 13.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.03071, allocations: 57.69 kB / 240.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.03084, allocations: 250 kB / 240.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.03108, allocations: 372.8 kB / 241 MB, free: 12.71 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.03128, allocations: 186.8 kB / 241.2 MB, free: 12.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.0314, allocations: 378.6 kB / 241.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.03165, allocations: 170.5 kB / 241.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.03193, allocations: 271.3 kB / 242 MB, free: 11.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.03238, allocations: 453.7 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.03238, allocations: 4 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0009648/0.03334, allocations: 0.7062 MB / 243.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.03337, allocations: 4 kB / 243.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.03338, allocations: 4 kB / 243.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.03403, allocations: 0.5098 MB / 243.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.0345, allocations: 235.7 kB / 243.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.03658, allocations: 2.718 MB / 246.6 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.03698, allocations: 120 kB / 246.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.03702, allocations: 31.97 kB / 246.8 MB, free: 6.746 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.03723, allocations: 176.4 kB / 247 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.03733, allocations: 79.92 kB / 247 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.03745, allocations: 106.9 kB / 247.1 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.03746, allocations: 15.94 kB / 247.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.03747, allocations: 0 / 247.2 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.03748, allocations: 3.984 kB / 247.2 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.03932, allocations: 1.311 MB / 248.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.03933, allocations: 4 kB / 248.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.03978, allocations: 211.9 kB / 248.7 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.03998, allocations: 99.45 kB / 248.8 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.04051, allocations: 0.4942 MB / 249.3 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.04056, allocations: 35.97 kB / 249.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.04228, allocations: 2.553 MB / 251.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.04228, allocations: 4 kB / 251.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.04343, allocations: 0.9881 MB / 252.9 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.04351, allocations: 35.98 kB / 252.9 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.0439, allocations: 139.8 kB / 253 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.0444, allocations: 356.4 kB / 253.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.04445, allocations: 35.97 kB / 253.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.04456, allocations: 136.7 kB / 253.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04456, allocations: 4 kB / 253.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004857/0.04504, allocations: 243.9 kB / 253.8 MB, free: 15.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002545/0.0453, allocations: 162.1 kB / 254 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.04615, allocations: 0.6915 MB / 254.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/0.04617, allocations: 8.469 kB / 254.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.04673, allocations: 0.5202 MB / 255.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.04754, allocations: 1.085 MB / 256.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.05137, allocations: 1.512 MB / 257.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.05149, allocations: 165.1 kB / 257.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.05172, allocations: 77.36 kB / 258 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.05202, allocations: 205.2 kB / 258.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.05202, allocations: 3.938 kB / 258.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of Templates: time 0.02101/0.07303, allocations: 17.48 MB / 275.7 MB, free: 9.234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.46495190449059]