Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 113.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 208.1 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.711e-05, allocations: 4.953 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2142/0.2142, allocations: 15.79 MB / 375.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2251, allocations: 5.355 MB / 380.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.2287, allocations: 105 kB / 380.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.2323, allocations: 1.132 MB / 381.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.2376, allocations: 1.282 MB / 383 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.2404, allocations: 0.9232 MB / 383.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006954/0.2474, allocations: 4.304 MB / 388.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.2504, allocations: 2.19 MB / 390.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.2539, allocations: 1.516 MB / 391.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.2571, allocations: 1.638 MB / 393.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005352/0.2577, allocations: 299.7 kB / 393.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.2617, allocations: 1.085 MB / 395 MB, free: 3.652 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003778/0.2655, allocations: 4.556 MB / 399.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002779/0.2683, allocations: 2.959 MB / 402.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2693, allocations: 423.8 kB / 402.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000876/0.2702, allocations: 64.25 kB / 403 MB, free: 14.37 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