Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001358, allocations: 107.6 kB / 16.42 MB, free: 6.422 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.001342/0.001343, allocations: 187.2 kB / 17.36 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.143e-05, allocations: 2.281 kB / 327.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01494/0.01497, allocations: 15.11 MB / 342.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.02362, allocations: 5.12 MB / 347.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.02631, allocations: 87.62 kB / 347.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.02926, allocations: 1.06 MB / 348.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.03305, allocations: 1.254 MB / 349.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.03494, allocations: 0.9001 MB / 350.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004847/0.0398, allocations: 4.203 MB / 354.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.04221, allocations: 2.121 MB / 357.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.04417, allocations: 1.487 MB / 358.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.04626, allocations: 1.611 MB / 360.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.04661, allocations: 296 kB / 360.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.04885, allocations: 1.049 MB / 361.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003239/0.0521, allocations: 4.504 MB / 366 MB, free: 12.25 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002202/0.05431, allocations: 2.933 MB / 368.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007209/0.05504, allocations: 418.9 kB / 369.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004782/0.05553, allocations: 71.62 kB / 369.4 MB, free: 8.797 MB / 318.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: tauRef Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData smpmData