Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 115.7 kB / 17.76 MB, free: 5.277 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.001466/0.001466, allocations: 190 kB / 18.68 MB, free: 4.355 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.549e-05, allocations: 6.281 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.009111/0.009145, allocations: 8.15 MB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.01387, allocations: 2.699 MB / 362.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.0146, allocations: 31.88 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.01597, allocations: 0.5591 MB / 363.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009741/0.01696, allocations: 468.4 kB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.01764, allocations: 354.5 kB / 364.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.01922, allocations: 1.757 MB / 365.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007864/0.02002, allocations: 0.617 MB / 366.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.02065, allocations: 0.564 MB / 367.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.02119, allocations: 0.6065 MB / 367.7 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.02133, allocations: 124 kB / 367.9 MB, free: 3.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009258/0.02227, allocations: 0.5576 MB / 368.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001512/0.02379, allocations: 2.128 MB / 370.5 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.2082/0.232, allocations: 1.351 MB / 371.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008186/0.2328, allocations: 228 kB / 372.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0005265/0.2334, allocations: 47.45 kB / 372.2 MB, free: 14.72 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 dcpmData