Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 111.3 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 211.7 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.235/1.235, allocations: 230.4 MB / 251.3 MB, free: 8.883 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.158e-05, allocations: 4.953 kB / 368.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.1306/0.1306, allocations: 11.8 MB / 380.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.1342, allocations: 3.27 MB / 383.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.1346, allocations: 39.03 kB / 383.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1357, allocations: 0.6711 MB / 384.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009788/0.1367, allocations: 0.7261 MB / 385.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.1372, allocations: 402.8 kB / 385.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.139, allocations: 2.717 MB / 388.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.1397, allocations: 0.546 MB / 389 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.1405, allocations: 0.9262 MB / 389.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.1412, allocations: 0.909 MB / 390.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1414, allocations: 192.5 kB / 391 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009247/0.1423, allocations: 0.6329 MB / 391.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001421/0.1437, allocations: 3.153 MB / 394.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006917/0.1444, allocations: 1.972 MB / 396.8 MB, free: 452 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.1447, allocations: 346.4 kB / 397.1 MB, free: 288 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002128/0.1449, allocations: 56.88 kB / 397.2 MB, free: 272 kB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1306:11-1306:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: PRef Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData dcpmData