Small correction: The commands sent by eeschema, to be executed by Ngspice are:
codemodel <path>/analog.cm codemodel <path>/spice2poly.cm ...
<path> may be absolute or relative. If relative, the question might be: Relative to what reference?
Small correction: The commands sent by eeschema, to be executed by Ngspice are:
codemodel <path>/analog.cm spice2poly. cm
codemodel <path>/
...
<path> may be absolute or relative. If relative, the question might be: Relative to what reference?