Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 117 kB / 17.75 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 184.6 kB / 18.68 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.622e-05, allocations: 2.281 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01211/0.01215, allocations: 12.14 MB / 364.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008523/0.02071, allocations: 3.276 MB / 367.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.0229, allocations: 35.94 kB / 367.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.02481, allocations: 0.6711 MB / 368.1 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.02752, allocations: 0.7247 MB / 368.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.02841, allocations: 403.5 kB / 369.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2083/0.2367, allocations: 2.802 MB / 372 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.2386, allocations: 1.002 MB / 373 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.2408, allocations: 0.9266 MB / 373.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.2422, allocations: 0.9897 MB / 374.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.2425, allocations: 198.6 kB / 375.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.2442, allocations: 0.6363 MB / 375.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002416/0.2466, allocations: 3.337 MB / 379.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001218/0.2478, allocations: 2.101 MB / 381.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000769/0.2486, allocations: 352.9 kB / 381.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005107/0.2491, allocations: 56.3 kB / 381.6 MB, free: 8.652 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