Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|dqToThreePhase.y.1.|dqToThreePhase.y.2.|dqToThreePhase.y.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 112.5 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.001354/0.001354, allocations: 210.6 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.237/1.237, allocations: 230.4 MB / 251.3 MB, free: 8.75 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.387e-05, allocations: 2.281 kB / 368.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.1554/0.1554, allocations: 40.24 MB / 409.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.175, allocations: 10.68 MB / 419.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00643/0.1814, allocations: 305.8 kB / 420.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.1983, allocations: 8.644 MB / 428.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009518/0.2079, allocations: 3.488 MB / 432.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005513/0.2134, allocations: 2.396 MB / 434.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.2286, allocations: 13.56 MB / 448.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.246, allocations: 14.31 MB / 462.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007004/0.253, allocations: 6.055 MB / 468.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008077/0.261, allocations: 6.901 MB / 475.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.2626, allocations: 1.371 MB / 476.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.2666, allocations: 2.28 MB / 479.1 MB, free: 2.25 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.01082/0.2774, allocations: 14.42 MB / 493.5 MB, free: 3.688 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.006974/0.2844, allocations: 9.219 MB / 0.491 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.2864, allocations: 1.154 MB / 0.4921 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.001305/0.2877, allocations: 143.5 kB / 0.4922 GB, free: 9.051 MB / 414.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.SM_ReluctanceRotorData smrData