Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.001768/0.001768, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002205/0.002205, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 32.81 MB / 294.1 MB, free: 64 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 65.45 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1877/0.5133, allocations: 156.5 MB / 0.647 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.5221, allocations: 5.974 MB / 0.6529 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.5225, allocations: 31.69 kB / 0.6529 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5236, allocations: 385.8 kB / 0.6533 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.5278, allocations: 1.793 MB / 0.655 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.5317, allocations: 1.504 MB / 0.6565 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003057/0.5348, allocations: 2.138 MB / 0.6586 GB, free: 224 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.5356, allocations: 489.3 kB / 0.659 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.5397, allocations: 1.799 MB / 0.6608 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.5432, allocations: 1.535 MB / 0.6623 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.5435, allocations: 76 kB / 0.6624 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.5466, allocations: 1.153 MB / 0.6635 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.5471, allocations: 454.7 kB / 0.6639 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007902/0.5479, allocations: 478.1 kB / 0.6644 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.5514, allocations: 2.072 MB / 0.6664 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5514, allocations: 4 kB / 0.6664 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5514, allocations: 0 / 0.6664 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.5514, allocations: 0 / 0.6664 GB, free: 8.172 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003654/0.5551, allocations: 1.395 MB / 0.6678 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.5551, allocations: 16.03 kB / 0.6678 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5567, allocations: 279.1 kB / 0.668 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.5579, allocations: 0.5868 MB / 0.6686 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.5581, allocations: 172.1 kB / 0.6688 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5582, allocations: 71.92 kB / 0.6688 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.5607, allocations: 1.962 MB / 0.6708 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.5608, allocations: 7.938 kB / 0.6708 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.5609, allocations: 31.98 kB / 0.6708 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.561, allocations: 89.27 kB / 0.6709 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.5627, allocations: 1.047 MB / 0.6719 GB, free: 2.195 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006614/0.5693, allocations: 3.865 MB / 0.6757 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.5699, allocations: 293.4 kB / 0.676 GB, free: 13.92 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.5701, allocations: 132.8 kB / 0.6761 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/0.5702, allocations: 19.98 kB / 0.6761 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5703, allocations: 42.56 kB / 0.6761 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.5703, allocations: 3.938 kB / 0.6762 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.00677/0.577, allocations: 1.761 MB / 0.6779 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.5771, allocations: 132.5 kB / 0.678 GB, free: 11.72 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5782, allocations: 0.8399 MB / 0.6788 GB, free: 10.87 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.5782, allocations: 29.7 kB / 0.6788 GB, free: 10.83 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.5787, allocations: 0.5922 MB / 0.6794 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5788, allocations: 142.9 kB / 0.6796 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000312/0.5791, allocations: 214.8 kB / 0.6798 GB, free: 9.875 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5793, allocations: 386.8 kB / 0.6801 GB, free: 9.488 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.5798, allocations: 282.4 kB / 0.6804 GB, free: 9.215 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5808, allocations: 0.9392 MB / 0.6813 GB, free: 7.973 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.5823, allocations: 1.173 MB / 0.6825 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.5823, allocations: 11.94 kB / 0.6825 GB, free: 6.512 MB / 0.5763 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002057/0.5844, allocations: 1.224 MB / 0.6837 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5844, allocations: 15.98 kB / 0.6837 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.5844, allocations: 20.91 kB / 0.6837 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.5857, allocations: 299.1 kB / 0.684 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.5863, allocations: 199.6 kB / 0.6842 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.5875, allocations: 0.9152 MB / 0.6851 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.5882, allocations: 44 kB / 0.6851 GB, free: 3.773 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.5883, allocations: 67.98 kB / 0.6852 GB, free: 3.707 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004532/0.5887, allocations: 341.9 kB / 0.6855 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5889, allocations: 83.53 kB / 0.6856 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.5899, allocations: 0.5146 MB / 0.6861 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5899, allocations: 4 kB / 0.6861 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5899, allocations: 4 kB / 0.6861 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.59, allocations: 0 / 0.6861 GB, free: 2.746 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5917, allocations: 0.9764 MB / 0.6871 GB, free: 1.727 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5917, allocations: 0 / 0.6871 GB, free: 1.727 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5927, allocations: 183.8 kB / 0.6872 GB, free: 1.547 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.683e-05/0.5928, allocations: 28.88 kB / 0.6873 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.5928, allocations: 8 kB / 0.6873 GB, free: 1.508 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2643/0.8571, allocations: 2.62 MB / 0.6898 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8571, allocations: 3.172 kB / 0.6898 GB, free: 166.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.8591, allocations: 0.6888 MB / 0.6905 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.8596, allocations: 110.1 kB / 0.6906 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.8598, allocations: 11.58 kB / 0.6906 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.8605, allocations: 20.91 kB / 0.6906 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.8606, allocations: 27 kB / 0.6907 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.8607, allocations: 20.3 kB / 0.6907 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001162/0.8619, allocations: 0.5217 MB / 0.6912 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8619, allocations: 0.75 kB / 0.6912 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002384/0.8642, allocations: 380.2 kB / 0.6916 GB, free: 166.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002702/0.8669, allocations: 0.6284 MB / 0.6922 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.8695, allocations: 0.6526 MB / 0.6928 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.8695, allocations: 1.062 kB / 0.6928 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.871, allocations: 370.3 kB / 0.6932 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.8729, allocations: 340.3 kB / 0.6935 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.8759, allocations: 1.608 MB / 0.6951 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.8763, allocations: 446.1 kB / 0.6955 GB, free: 165 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.8772, allocations: 364.3 kB / 0.6958 GB, free: 165 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.8774, allocations: 72.05 kB / 0.6959 GB, free: 165 MB / 0.5763 GB Notification: Performance of SimCode: time 9.51e-07/0.8774, allocations: 0 / 0.6959 GB, free: 165 MB / 0.5763 GB Notification: Performance of Templates: time 0.0358/0.9132, allocations: 19.41 MB / 0.7149 GB, free: 162.4 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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: 6.59797216206789]