Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.00131, allocations: 115.2 kB / 18.47 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 210.8 kB / 19.42 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.95e-05/3.971e-05, allocations: 2.281 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01415/0.0142, allocations: 12.17 MB / 371.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2029/0.2171, allocations: 3.311 MB / 374.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.2196, allocations: 36 kB / 374.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.2222, allocations: 0.6871 MB / 375.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.2254, allocations: 0.7891 MB / 376.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.227, allocations: 403.4 kB / 376.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004538/0.2315, allocations: 2.81 MB / 379.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.2333, allocations: 0.9921 MB / 380.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.2355, allocations: 0.9301 MB / 381.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.2374, allocations: 0.986 MB / 382.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.238, allocations: 199.3 kB / 382.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.2403, allocations: 0.6422 MB / 383.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003643/0.2439, allocations: 3.347 MB / 386.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001734/0.2457, allocations: 2.104 MB / 388.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007581/0.2465, allocations: 350.8 kB / 389.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000405/0.2469, allocations: 56.55 kB / 389.1 MB, free: 4.434 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: ILinear Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData dcpmData2