Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 111.8 kB / 19.18 MB, free: 3.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 204.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.m_flow|suddenExpansion1.dp|suddenExpansion1.port_b_T|suddenExpansion2.m_flow|suddenExpansion2.dp|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|suddenExpansion1.m_flow|suddenExpansion1.dp|suddenExpansion1.port_b_T|suddenExpansion2.m_flow|suddenExpansion2.dp|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.83 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 53.31 MB / 428 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings): time 0.2731/0.3853, allocations: 63.43 MB / 491.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03052/0.4158, allocations: 22.51 MB / 0.5019 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.4176, allocations: 31.75 kB / 0.502 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.42, allocations: 0.7335 MB / 0.5027 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0176/0.4376, allocations: 5.823 MB / 0.5084 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009846/0.4474, allocations: 3.477 MB / 0.5118 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.4669, allocations: 9.071 MB / 0.5206 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.4682, allocations: 0.5999 MB / 0.5212 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4705, allocations: 1.066 MB / 0.5222 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.472, allocations: 0.8558 MB / 0.5231 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.4722, allocations: 96 kB / 0.5232 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.4886, allocations: 7.688 MB / 0.5307 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.4892, allocations: 290.8 kB / 0.531 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.4903, allocations: 0.7192 MB / 0.5317 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.5047, allocations: 5.778 MB / 0.5373 GB, free: 6.312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.5047, allocations: 4 kB / 0.5373 GB, free: 6.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5047, allocations: 0 / 0.5373 GB, free: 6.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.351e-05/0.5048, allocations: 0 / 0.5373 GB, free: 6.309 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.007022/0.5118, allocations: 2.536 MB / 0.5398 GB, free: 3.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5118, allocations: 8.031 kB / 0.5398 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.5168, allocations: 0.6684 MB / 0.5404 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.5191, allocations: 1.04 MB / 0.5415 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.5191, allocations: 74.58 kB / 0.5415 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.5193, allocations: 103.9 kB / 0.5416 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.5233, allocations: 1.678 MB / 0.5433 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5233, allocations: 4 kB / 0.5433 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5234, allocations: 47.94 kB / 0.5433 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5234, allocations: 31.94 kB / 0.5434 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.527, allocations: 1.471 MB / 0.5448 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.5382, allocations: 8.39 MB / 0.553 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.5415, allocations: 1.647 MB / 0.5546 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.5422, allocations: 359.5 kB / 0.5549 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3391/0.8813, allocations: 70.64 MB / 0.6239 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.8813, allocations: 48.58 kB / 0.624 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=77): time 2.555e-06/0.8814, allocations: 0 / 0.624 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=77): time 0.006153/0.8875, allocations: 1.993 MB / 0.6259 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.8876, allocations: 189 kB / 0.6261 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8889, allocations: 0.9624 MB / 0.627 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.889, allocations: 40.08 kB / 0.6271 GB, free: 169 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.8893, allocations: 0.5843 MB / 0.6276 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.8895, allocations: 289.9 kB / 0.6279 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.8898, allocations: 245.7 kB / 0.6282 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.8899, allocations: 349.4 kB / 0.6285 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.8904, allocations: 302.6 kB / 0.6288 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.8912, allocations: 0.7396 MB / 0.6295 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.8924, allocations: 1.096 MB / 0.6306 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.8924, allocations: 4.375 kB / 0.6306 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002161/0.8946, allocations: 1.246 MB / 0.6318 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.8946, allocations: 11.19 kB / 0.6318 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.8946, allocations: 15.91 kB / 0.6318 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.898, allocations: 0.5201 MB / 0.6323 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.8991, allocations: 273.9 kB / 0.6326 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009004/0.9, allocations: 1.382 MB / 0.6339 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/0.901, allocations: 134 kB / 0.6341 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9011, allocations: 66.75 kB / 0.6341 GB, free: 164.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000507/0.9016, allocations: 297.7 kB / 0.6344 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.9018, allocations: 129.3 kB / 0.6345 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.9065, allocations: 4.417 MB / 0.6388 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.9065, allocations: 45.11 kB / 0.6389 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9065, allocations: 1.828 kB / 0.6389 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.9065, allocations: 4.406 kB / 0.6389 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.9118, allocations: 4.895 MB / 0.6437 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.9118, allocations: 1.031 kB / 0.6437 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.9126, allocations: 169.6 kB / 0.6438 GB, free: 159.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.914, allocations: 0.6702 MB / 0.6445 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.9141, allocations: 25.2 kB / 0.6445 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.9152, allocations: 1.756 MB / 0.6462 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9152, allocations: 1.188 kB / 0.6462 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.9175, allocations: 1.988 MB / 0.6482 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.9179, allocations: 276.2 kB / 0.6484 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.918, allocations: 42.86 kB / 0.6485 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.9185, allocations: 22.69 kB / 0.6485 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.9186, allocations: 56.12 kB / 0.6486 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.9187, allocations: 34.55 kB / 0.6486 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009808/0.9197, allocations: 0.8311 MB / 0.6494 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.9197, allocations: 0 / 0.6494 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003671/0.9233, allocations: 1.297 MB / 0.6507 GB, free: 156.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004345/0.9277, allocations: 1.27 MB / 0.6519 GB, free: 156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.9302, allocations: 1.207 MB / 0.6531 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.9302, allocations: 0 / 0.6531 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.9317, allocations: 0.7328 MB / 0.6538 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.9349, allocations: 0.7313 MB / 0.6545 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.9385, allocations: 3.132 MB / 0.6576 GB, free: 152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.939, allocations: 1.312 MB / 0.6588 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.9393, allocations: 123.4 kB / 0.659 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.9393, allocations: 0 / 0.659 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.04979/0.9891, allocations: 51.34 MB / 0.7091 GB, free: 99.26 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/Explanatory/MomentumBalanceFittings/MomentumBalanceFittings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings.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: 12.767669396940619]