Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001652/0.001652, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00193/0.00193, allocations: 207 kB / 23.73 MB, free: 4.387 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.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.2205/0.2205, allocations: 44.94 MB / 358.8 MB, free: 6.02 MB / 286.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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [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.002062/0.002062, allocations: 67.89 kB / 0.493 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3682, allocations: 65.46 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2107/0.5789, allocations: 153.9 MB / 0.7072 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009079/0.588, allocations: 4.934 MB / 0.7121 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/0.589, allocations: 27.75 kB / 0.7121 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.5903, allocations: 306 kB / 0.7124 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.5948, allocations: 1.29 MB / 0.7136 GB, free: 6.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.5979, allocations: 0.9734 MB / 0.7146 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00307/0.601, allocations: 1.871 MB / 0.7164 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.6019, allocations: 397.6 kB / 0.7168 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.6049, allocations: 1.117 MB / 0.7179 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.6066, allocations: 0.689 MB / 0.7186 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.6069, allocations: 60 kB / 0.7186 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.6087, allocations: 0.5501 MB / 0.7192 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.6092, allocations: 275.1 kB / 0.7194 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.6099, allocations: 330.7 kB / 0.7197 GB, free: 220 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.6124, allocations: 1.312 MB / 0.721 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6124, allocations: 0 / 0.721 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6124, allocations: 0 / 0.721 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.133e-05/0.6125, allocations: 0 / 0.721 GB, free: 14.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002999/0.6155, allocations: 1.041 MB / 0.722 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6155, allocations: 8.031 kB / 0.722 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.6157, allocations: 102.5 kB / 0.7221 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009171/0.6166, allocations: 143.4 kB / 0.7223 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6177, allocations: 477.4 kB / 0.7227 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.6179, allocations: 151.8 kB / 0.7229 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.618, allocations: 51.94 kB / 0.7229 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6196, allocations: 1.144 MB / 0.724 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6197, allocations: 0 / 0.724 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.6197, allocations: 20 kB / 0.7241 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/0.6198, allocations: 44.86 kB / 0.7241 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.621, allocations: 0.6205 MB / 0.7247 GB, free: 10.87 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.005043/0.626, allocations: 3.308 MB / 0.7279 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.6267, allocations: 331.7 kB / 0.7283 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.627, allocations: 157.3 kB / 0.7284 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.6271, allocations: 24.2 kB / 0.7284 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.6271, allocations: 34.84 kB / 0.7285 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.6271, allocations: 4 kB / 0.7285 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006065/0.6332, allocations: 1.604 MB / 0.73 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.6333, allocations: 136.5 kB / 0.7302 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.6343, allocations: 0.6327 MB / 0.7308 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.6344, allocations: 29.7 kB / 0.7308 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.6347, allocations: 379.8 kB / 0.7312 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.6349, allocations: 146.8 kB / 0.7313 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.6352, allocations: 158.6 kB / 0.7315 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.6354, allocations: 378.8 kB / 0.7318 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.6358, allocations: 205.9 kB / 0.732 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.6366, allocations: 0.5878 MB / 0.7326 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6378, allocations: 0.7523 MB / 0.7333 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.6378, allocations: 4 kB / 0.7333 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001748/0.6395, allocations: 0.8719 MB / 0.7342 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.6396, allocations: 11.78 kB / 0.7342 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.6396, allocations: 12 kB / 0.7342 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.6411, allocations: 320.6 kB / 0.7345 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.6416, allocations: 119.8 kB / 0.7346 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3075/0.9491, allocations: 0.9293 MB / 0.7355 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/0.9499, allocations: 29.81 kB / 0.7356 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.9501, allocations: 68.19 kB / 0.7356 GB, free: 177.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0005114/0.9506, allocations: 246.4 kB / 0.7359 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.9508, allocations: 73.72 kB / 0.7359 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.9528, allocations: 0.8552 MB / 0.7368 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.9529, allocations: 8.141 kB / 0.7368 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9529, allocations: 0.75 kB / 0.7368 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9529, allocations: 9.984 kB / 0.7368 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.9551, allocations: 1.143 MB / 0.7379 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.9551, allocations: 0 / 0.7379 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.9561, allocations: 217.7 kB / 0.7381 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.9562, allocations: 21.77 kB / 0.7381 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.9563, allocations: 21.56 kB / 0.7382 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.9578, allocations: 2.671 MB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9578, allocations: 7.75 kB / 0.7408 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.9588, allocations: 0.8281 MB / 0.7416 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.9591, allocations: 112.1 kB / 0.7417 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.9592, allocations: 15.22 kB / 0.7417 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.9596, allocations: 19.75 kB / 0.7417 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.9597, allocations: 41.03 kB / 0.7418 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.9597, allocations: 45.09 kB / 0.7418 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004755/0.9602, allocations: 437.3 kB / 0.7422 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9602, allocations: 0 / 0.7422 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009037/0.9611, allocations: 255.2 kB / 0.7425 GB, free: 173.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * 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.001702/0.9628, allocations: 1.54 MB / 0.744 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001/0.9638, allocations: 0.5396 MB / 0.7445 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9638, allocations: 0 / 0.7445 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.9647, allocations: 402.4 kB / 0.7449 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9662, allocations: 377.5 kB / 0.7452 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/0.9729, allocations: 6.337 MB / 0.7514 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.9732, allocations: 328.7 kB / 0.7517 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009497/0.9742, allocations: 469.8 kB / 0.7522 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.9746, allocations: 287.3 kB / 0.7525 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.9746, allocations: 0 / 0.7525 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/1.031, allocations: 25.63 MB / 0.7775 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.76, allocations: 7.156 kB / 0.7775 GB, free: 137.8 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.89651993010193]