Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 109.5 kB / 17.75 MB, free: 5.348 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.001038/0.001038, allocations: 184.2 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.557e-05, allocations: 2.281 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.01168/0.01171, allocations: 11.46 MB / 363.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009006/0.02077, allocations: 3.719 MB / 367.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.02304, allocations: 67.69 kB / 367.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.02535, allocations: 0.8228 MB / 368 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.0287, allocations: 0.9162 MB / 368.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.02981, allocations: 495.2 kB / 369.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2191/0.2489, allocations: 3.727 MB / 373.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.2515, allocations: 1.521 MB / 374.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.2546, allocations: 1.334 MB / 376 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.2572, allocations: 1.349 MB / 377.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004015/0.2576, allocations: 229 kB / 377.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.2599, allocations: 0.8288 MB / 378.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003494/0.2634, allocations: 3.719 MB / 382.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002129/0.2656, allocations: 2.395 MB / 384.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009368/0.2665, allocations: 356.3 kB / 384.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006494/0.2672, allocations: 63.8 kB / 384.9 MB, free: 7.723 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