CM5 Minima U702 input-loop benchmark

The source is KiCad’s CM5 Minima demo (CERN-OHL-S), downloaded separately from the KiCad demos. The verified source revision is 085c61811bbbbd21cc0801ca416541af8d15986c. The board is not redistributed here. Its SHA-256 and the numerical settings are recorded in the fine and coarse reports. The fine report used an exported board JSON; both refer to the same source KiCad file. Coordinates are kicad2ems model coordinates (Y inverted).

OPENBLAS_NUM_THREADS=2 python tools/pcbqs/benchmark_converter.py CM5_MINIMA_3.kicad_pcb \
  --fine 0.6 --out cm5-fine.json
OPENBLAS_NUM_THREADS=2 python tools/pcbqs/benchmark_converter.py CM5_MINIMA_3.kicad_pcb \
  --fine 0.8 --out cm5-coarse.json

The explicit input loop is U702’s +5V to its GND pads, with C704, C705 and C706 connected through their copper. All six copper layers are included for the selected +5V/GND nets, cropped to the parts’ extent plus 3 mm. Capacitor values come from the board; ESR 3 mOhm, ESL 0.4 nH and package field heights are benchmark assumptions. The source is 1 A. Magnetic DC-sheet loss is used; these results do not validate the new slab or dielectric models on this board.

Quantity

Fine 0.6 mm

Coarse 0.8 mm

Triangles

9,736

8,889

RWG edges

11,709

10,462

Via segments

85

85

Loops

2,914

2,515

Assembly + three-frequency solve

66.8 s

69.0 s

Converged FFT scan

0.35 s

1.25 s

FFT internal refinement

2

4

Sampled direct-field peak-relative difference

0.92%

0.22%

Retained copper matrices

1.10 GB

0.88 GB

Copper R at 1 kHz

5.60 mOhm

5.75 mOhm

Copper L at 1 kHz

2.230 nH

2.242 nH

Copper L at 1 MHz

1.193 nH

1.218 nH

Copper L at 10 MHz

1.373 nH

1.425 nH

Wall timings were recorded under different host loads; the small timing difference between meshes is not a performance conclusion. The field scan is 17 by 17 points at two heights (1 and 3 mm above top copper), three frequencies, requiring successive-grid agreement within 2% at every height and frequency. Direct checks use a 5 by 5 subset at both heights.

The previous storage layout would retain approximately 4.4 GB for the fine case’s dense copper/branch R and L copies, versus the measured 1.10 GB of copper blocks now. This is an allocation-size comparison, not a measured peak-RSS comparison: triangle moments and solve workspaces still increase peak memory.

The mesh comparison changes loop L by up to 3.8% and DC R by 2.7%. These results establish a reproducible real-board workload; they do not establish mesh convergence, crop convergence, agreement with hardware, or an accurate package model. Increase the crop and refine further before relying on absolute values. Whole-board compression remains future work; this cropped case already runs without it.

Parallel fill update

The same input JSON and 0.6 mm fine mesh were rerun with the OpenMP backend. The raw reports retain the pinned board revision and SHA-256: one thread, two threads.

Quantity

Previous serial fill

OpenMP, 1 thread

OpenMP, 2 threads

Moment fill

not recorded separately

12.65 s

9.56 s

Assembly + three-frequency sweep

66.8 s

25.5 s

22.4 s

Retained copper matrices

1.10 GB

1.10 GB

1.10 GB

The native runtime probe observed the requested one/two threads. BLAS used two threads for both sweeps. R/L agrees with the previous result within 1.4e-14 relative; one- and two-thread OpenMP results are identical. The numerical agreement checks implementation consistency, not physical accuracy. These single runs have host-load uncertainty; the synthetic backend benchmark records repeated samples. New controls and extension contracts are in the backend guide.