Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 119.1 kB / 18.48 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 205 kB / 19.42 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/2.926e-05, allocations: 2.281 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.01314/0.01318, allocations: 11.45 MB / 370.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2585/0.2718, allocations: 3.576 MB / 374.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2736, allocations: 69.03 kB / 374.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.2762, allocations: 0.83 MB / 375.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.2796, allocations: 0.9357 MB / 376.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.281, allocations: 434.7 kB / 376.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006408/0.2874, allocations: 4.131 MB / 380.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.2899, allocations: 1.64 MB / 382.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.2935, allocations: 1.48 MB / 383.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.2958, allocations: 1.467 MB / 385.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.2963, allocations: 238.3 kB / 385.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.2987, allocations: 0.8521 MB / 386.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003392/0.3022, allocations: 3.917 MB / 390.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001998/0.3042, allocations: 2.557 MB / 392.9 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.305, allocations: 355.9 kB / 393.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006006/0.3056, allocations: 64.02 kB / 393.3 MB, free: 2.73 MB / 302.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