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.001236/0.001236, allocations: 102.2 kB / 17.69 MB, free: 5.52 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.001169/0.00117, allocations: 192 kB / 18.63 MB, free: 4.586 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.278/1.278, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.27e-05, allocations: 10.16 kB / 302 MB, free: 5.199 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.008151/0.008188, allocations: 8.171 MB / 310.2 MB, free: 13 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.01215, allocations: 2.699 MB / 312.9 MB, free: 10.29 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.01262, allocations: 27.88 kB / 312.9 MB, free: 10.27 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01372, allocations: 0.5317 MB / 313.4 MB, free: 9.73 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.01447, allocations: 436.5 kB / 313.9 MB, free: 9.301 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.0151, allocations: 359.5 kB / 314.2 MB, free: 8.949 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.01657, allocations: 1.741 MB / 316 MB, free: 7.203 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.01729, allocations: 0.6169 MB / 316.6 MB, free: 6.555 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.01787, allocations: 0.5602 MB / 317.1 MB, free: 5.992 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.01832, allocations: 0.6026 MB / 317.7 MB, free: 5.387 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.01845, allocations: 124 kB / 317.9 MB, free: 5.266 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.01927, allocations: 0.5538 MB / 318.4 MB, free: 4.711 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.00121/0.02049, allocations: 2.128 MB / 320.5 MB, free: 2.559 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006372/0.02113, allocations: 1.359 MB / 321.9 MB, free: 1.18 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.02133, allocations: 223.4 kB / 322.1 MB, free: 0.9609 MB / 254.1 MB Notification: Performance of FrontEnd: time 0.0001341/0.02147, allocations: 55.69 kB / 322.2 MB, free: 0.9062 MB / 254.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