Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001082/0.001082, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.002775, allocations: 445.8 kB / 10.44 MB, free: 256 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.001045/0.001045, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002391, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.9224/0.9224, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1529/1.075, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] 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.1457/0.1457, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02699/0.1727, allocations: 12.53 MB / 284.5 MB, free: 9.707 MB / 282.7 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.337e-05, allocations: 5.266 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2985/0.2985, allocations: 145.5 MB / 431.3 MB, free: 6.648 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.3017, allocations: 2.088 MB / 433.4 MB, free: 4.582 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.3022, allocations: 23.75 kB / 433.5 MB, free: 4.559 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.3027, allocations: 170.7 kB / 433.6 MB, free: 4.391 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3049, allocations: 0.975 MB / 434.6 MB, free: 3.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.306, allocations: 0.5378 MB / 435.1 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.3078, allocations: 1.49 MB / 436.6 MB, free: 1.375 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.3082, allocations: 357.4 kB / 437 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008697/0.3091, allocations: 0.7859 MB / 437.8 MB, free: 244 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.3096, allocations: 382.9 kB / 438.1 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.3096, allocations: 51.94 kB / 438.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.3109, allocations: 0.6317 MB / 438.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.311, allocations: 123.6 kB / 438.9 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3112, allocations: 191.7 kB / 439.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3122, allocations: 0.8451 MB / 440 MB, free: 14.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.3123, allocations: 4 kB / 440 MB, free: 14.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3123, allocations: 0 / 440 MB, free: 14.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.3123, allocations: 0 / 440 MB, free: 14.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001368/0.3136, allocations: 1.127 MB / 441.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3137, allocations: 8.031 kB / 441.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/0.3143, allocations: 208.3 kB / 441.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.3148, allocations: 359.6 kB / 441.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3148, allocations: 33.5 kB / 441.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.3149, allocations: 51.94 kB / 441.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.3157, allocations: 0.7273 MB / 442.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3157, allocations: 0 / 442.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.3158, allocations: 16 kB / 442.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3158, allocations: 12 kB / 442.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.316, allocations: 179.2 kB / 442.7 MB, free: 11.13 MB / 410.7 MB 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.00131/0.3173, allocations: 1.518 MB / 444.2 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3176, allocations: 146.4 kB / 444.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.3177, allocations: 56.77 kB / 444.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3179, allocations: 93.23 kB / 444.5 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3179, allocations: 34.56 kB / 444.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.3179, allocations: 0 / 444.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009219/0.3188, allocations: 353.9 kB / 444.9 MB, free: 8.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.3188, allocations: 55.41 kB / 444.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.319, allocations: 343.2 kB / 445.2 MB, free: 8.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.3191, allocations: 33.7 kB / 445.3 MB, free: 8.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3192, allocations: 245.2 kB / 445.5 MB, free: 8.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.3192, allocations: 107 kB / 445.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.3193, allocations: 93.58 kB / 445.7 MB, free: 7.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.3194, allocations: 358.7 kB / 446.1 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3195, allocations: 47.91 kB / 446.1 MB, free: 7.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3197, allocations: 255.3 kB / 446.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.3199, allocations: 260.4 kB / 446.6 MB, free: 6.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3199, allocations: 0 / 446.6 MB, free: 6.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003144/0.3202, allocations: 266 kB / 446.9 MB, free: 6.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3202, allocations: 4 kB / 446.9 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3203, allocations: 5.25 kB / 446.9 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007337/0.321, allocations: 208.9 kB / 447.1 MB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.3212, allocations: 123.8 kB / 447.2 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003714/0.3216, allocations: 0.5498 MB / 447.8 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3217, allocations: 35.77 kB / 447.8 MB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.3218, allocations: 40.08 kB / 447.8 MB, free: 5.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3219, allocations: 140.5 kB / 448 MB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.322, allocations: 39.95 kB / 448 MB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.3228, allocations: 0.8192 MB / 448.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3228, allocations: 0 / 448.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3228, allocations: 0 / 448.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3228, allocations: 0 / 448.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.3235, allocations: 0.5607 MB / 449.4 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3235, allocations: 4 kB / 449.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3236, allocations: 55.89 kB / 449.5 MB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.3236, allocations: 43.59 kB / 449.5 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/0.3244, allocations: 188.7 kB / 449.7 MB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3244, allocations: 11.98 kB / 449.7 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/0.3248, allocations: 0.5616 MB / 450.3 MB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3248, allocations: 3.938 kB / 450.3 MB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3251, allocations: 310 kB / 450.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3251, allocations: 19.89 kB / 450.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3253, allocations: 11.98 kB / 450.6 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3253, allocations: 31.97 kB / 450.6 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3253, allocations: 15.97 kB / 450.6 MB, free: 2.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3254, allocations: 156.7 kB / 450.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3254, allocations: 0 / 450.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005046/0.326, allocations: 235.5 kB / 451 MB, free: 2.363 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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 (24): * Single equations (assignments): 23 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005672/0.3265, allocations: 299.2 kB / 451.3 MB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000449/0.327, allocations: 206 kB / 451.5 MB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.327, allocations: 8 kB / 451.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.3272, allocations: 111.4 kB / 451.6 MB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3283, allocations: 1.54 MB / 453.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.3335, allocations: 0.8504 MB / 454 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.472e-05/0.3335, allocations: 117.8 kB / 454.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.3341, allocations: 466.2 kB / 454.6 MB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.3346, allocations: 305 kB / 454.9 MB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3346, allocations: 0 / 454.9 MB, free: 14.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01723/0.3519, allocations: 14.79 MB / 469.7 MB, free: 15.61 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.530624588020146]