Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.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.001511/0.001511, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 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.001569/0.001569, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 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.488/1.488, allocations: 225.6 MB / 249.8 MB, free: 3.605 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.2604/0.2604, allocations: 44.92 MB / 349.6 MB, free: 1.707 MB / 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.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: "" <> buildModelFMU(ModelicaTest.Rotational.TestFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestFriction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.94 kB / 491.8 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.006071/0.1292, allocations: 3.938 MB / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.132, allocations: 1.235 MB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006139/0.1326, allocations: 15.94 kB / 0.5481 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.1331, allocations: 114.9 kB / 0.5482 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.1339, allocations: 206.2 kB / 0.5484 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1349, allocations: 347.4 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1364, allocations: 1.026 MB / 0.5497 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.1367, allocations: 126.7 kB / 0.5498 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.1376, allocations: 450.6 kB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.1384, allocations: 0.4904 MB / 0.5507 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.1387, allocations: 76 kB / 0.5508 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.1391, allocations: 128 kB / 0.5509 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.1394, allocations: 207.3 kB / 0.5511 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006201/0.14, allocations: 402.1 kB / 0.5515 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.1415, allocations: 0.9454 MB / 0.5524 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1415, allocations: 0 / 0.5524 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1415, allocations: 4 kB / 0.5524 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.1416, allocations: 0 / 0.5524 GB, free: 10.38 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002769/0.1443, allocations: 1.102 MB / 0.5535 GB, free: 9.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1444, allocations: 12.03 kB / 0.5535 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.1446, allocations: 98.7 kB / 0.5536 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.1448, allocations: 80.42 kB / 0.5537 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.1457, allocations: 450 kB / 0.5541 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.1457, allocations: 49.44 kB / 0.5542 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.1459, allocations: 67.95 kB / 0.5542 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.1476, allocations: 0.8335 MB / 0.555 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.1476, allocations: 11.94 kB / 0.5551 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.1477, allocations: 24 kB / 0.5551 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1477, allocations: 16 kB / 0.5551 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.1494, allocations: 0.7619 MB / 0.5558 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.1546, allocations: 2.554 MB / 0.5583 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.156, allocations: 0.5944 MB / 0.5589 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.1568, allocations: 359.2 kB / 0.5593 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.289e-05/0.1569, allocations: 11.94 kB / 0.5593 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1569, allocations: 43.31 kB / 0.5593 GB, free: 3.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.1569, allocations: 0 / 0.5593 GB, free: 3.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=76): time 0.008171/0.1651, allocations: 3.553 MB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1652, allocations: 140.5 kB / 0.5629 GB, free: 15.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.1658, allocations: 425.9 kB / 0.5633 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.1659, allocations: 53.7 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1662, allocations: 288.9 kB / 0.5636 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.1664, allocations: 281.8 kB / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.1667, allocations: 162.6 kB / 0.5641 GB, free: 13.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1669, allocations: 374.7 kB / 0.5644 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008096/0.1678, allocations: 389.8 kB / 0.5648 GB, free: 13.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/0.1687, allocations: 0.5531 MB / 0.5653 GB, free: 12.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.1701, allocations: 0.7312 MB / 0.566 GB, free: 11.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1701, allocations: 4 kB / 0.5661 GB, free: 11.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002837/0.173, allocations: 1.27 MB / 0.5673 GB, free: 10.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.173, allocations: 8.281 kB / 0.5673 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.173, allocations: 4 kB / 0.5673 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.1745, allocations: 0.7606 MB / 0.568 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.1751, allocations: 151.7 kB / 0.5682 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.1777, allocations: 2.698 MB / 0.5708 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/0.1787, allocations: 143.7 kB / 0.571 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.1787, allocations: 39.98 kB / 0.571 GB, free: 6.488 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,6), (1,7), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.1791, allocations: 200.3 kB / 0.5712 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.1793, allocations: 67.58 kB / 0.5713 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.1795, allocations: 87.91 kB / 0.5713 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1795, allocations: 12 kB / 0.5713 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.1795, allocations: 4 kB / 0.5714 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.1796, allocations: 7.922 kB / 0.5714 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004159/0.1837, allocations: 2.158 MB / 0.5735 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.1837, allocations: 3.984 kB / 0.5735 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.1843, allocations: 111.8 kB / 0.5736 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.1856, allocations: 0.7254 MB / 0.5743 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.1857, allocations: 31.95 kB / 0.5743 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.1881, allocations: 2.651 MB / 0.5769 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1881, allocations: 0 / 0.5769 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/0.1915, allocations: 1.764 MB / 0.5786 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.1919, allocations: 228.4 kB / 0.5788 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.1921, allocations: 27.98 kB / 0.5789 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.1929, allocations: 123.8 kB / 0.579 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/0.1932, allocations: 143.8 kB / 0.5791 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.1933, allocations: 35.95 kB / 0.5792 GB, free: 13.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.1936, allocations: 295.1 kB / 0.5794 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1936, allocations: 0 / 0.5794 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007986/0.1944, allocations: 196 kB / 0.5796 GB, free: 13.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,6), (1,7), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003809/0.1982, allocations: 2.344 MB / 0.5819 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.2004, allocations: 0.8949 MB / 0.5828 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2005, allocations: 0 / 0.5828 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.2017, allocations: 0.4894 MB / 0.5833 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2028, allocations: 110.5 kB / 0.5834 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.2177, allocations: 7.398 MB / 0.5906 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.2183, allocations: 0.9104 MB / 0.5915 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.2187, allocations: 64.83 kB / 0.5916 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.219, allocations: 215.3 kB / 0.5918 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.219, allocations: 0 / 0.5918 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3184/0.5374, allocations: 21.3 MB / 0.6126 GB, free: 62.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.49, allocations: 12.28 kB / 0.6126 GB, free: 62.87 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestFriction_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219124 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestFriction.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestFriction/TestFriction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.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: 17.07199246296659]