Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001925, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006873/0.0006873, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009191/0.001606, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.04/1.04, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09226/1.132, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.22e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005473/0.005496, allocations: 4.238 MB / 243.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.007786, allocations: 1.418 MB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.008012, allocations: 11.94 kB / 245.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.008308, allocations: 122.8 kB / 245.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004429/0.008751, allocations: 253.7 kB / 245.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.009623, allocations: 427 kB / 246 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.01069, allocations: 1.15 MB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.01099, allocations: 176.2 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.01186, allocations: 0.7166 MB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.01241, allocations: 426.9 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.01255, allocations: 92 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.01288, allocations: 152 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.01308, allocations: 155.5 kB / 248.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.01341, allocations: 247.6 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.01434, allocations: 0.6929 MB / 249.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839e-05/0.01435, allocations: 4 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01436, allocations: 4 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.01438, allocations: 0 / 249.8 MB, free: 8.859 MB / 250.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.002385/0.01676, allocations: 1.275 MB / 251.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.0168, allocations: 8.031 kB / 251.1 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.01712, allocations: 193.9 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.01771, allocations: 315.4 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.01778, allocations: 54.38 kB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.01792, allocations: 80.3 kB / 251.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.01899, allocations: 0.5705 MB / 252.3 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.01902, allocations: 4.141 kB / 252.3 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.01909, allocations: 40.12 kB / 252.3 MB, free: 6.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.01911, allocations: 16 kB / 252.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.01988, allocations: 353.7 kB / 252.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.02275, allocations: 1.361 MB / 254 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007514/0.0235, allocations: 414.1 kB / 254.4 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.02385, allocations: 203.9 kB / 254.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.02392, allocations: 13 kB / 254.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.02449, allocations: 364.8 kB / 255 MB, free: 3.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 3.337e-06/0.02449, allocations: 3.938 kB / 255 MB, free: 3.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.005654/0.03015, allocations: 2.462 MB / 257.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.03018, allocations: 60.41 kB / 257.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.03039, allocations: 355.1 kB / 257.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.03045, allocations: 53.7 kB / 257.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.03055, allocations: 242.1 kB / 258.2 MB, free: 268 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.03073, allocations: 376.8 kB / 258.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.03092, allocations: 186.8 kB / 258.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.03102, allocations: 386.6 kB / 259.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.03127, allocations: 170.5 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.03152, allocations: 263.3 kB / 259.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.03194, allocations: 445.7 kB / 260 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.03195, allocations: 0 / 260 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0009224/0.03287, allocations: 0.7062 MB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.03288, allocations: 8 kB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.03289, allocations: 4 kB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.03347, allocations: 0.502 MB / 261.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.03391, allocations: 231.7 kB / 261.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.03556, allocations: 2.73 MB / 264.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.03588, allocations: 115.9 kB / 264.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.03592, allocations: 23.98 kB / 264.3 MB, free: 9.941 MB / 266.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.0001806/0.0361, allocations: 176.5 kB / 264.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.03619, allocations: 79.92 kB / 264.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.03628, allocations: 98.91 kB / 264.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.03629, allocations: 19.92 kB / 264.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.03629, allocations: 4 kB / 264.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.0363, allocations: 3.984 kB / 264.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.03784, allocations: 1.315 MB / 266 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.03785, allocations: 7.984 kB / 266 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.03827, allocations: 211.7 kB / 266.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.03845, allocations: 99.42 kB / 266.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.03895, allocations: 0.4942 MB / 266.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.03899, allocations: 35.95 kB / 266.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.04038, allocations: 2.561 MB / 269.4 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04038, allocations: 4 kB / 269.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.04141, allocations: 0.9997 MB / 270.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.04149, allocations: 32 kB / 270.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.04185, allocations: 132 kB / 270.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.04228, allocations: 356.2 kB / 270.9 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.04232, allocations: 35.95 kB / 270.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.04241, allocations: 144.7 kB / 271 MB, free: 2.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04241, allocations: 0 / 271 MB, free: 2.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.04281, allocations: 247.9 kB / 271.3 MB, free: 2.656 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.0002056/0.04301, allocations: 157 kB / 271.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.04373, allocations: 0.6911 MB / 272.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.04375, allocations: 11.94 kB / 272.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.04417, allocations: 470.9 kB / 272.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.04461, allocations: 230.2 kB / 272.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09169/0.1363, allocations: 1.524 MB / 274.4 MB, free: 26.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1365, allocations: 164.8 kB / 274.5 MB, free: 26.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.137, allocations: 72.28 kB / 274.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.1374, allocations: 195.1 kB / 274.8 MB, free: 26.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1374, allocations: 0 / 274.8 MB, free: 26.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01927/0.1567, allocations: 17.55 MB / 292.3 MB, free: 19.24 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.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: 3.1197075098752975]