Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106.2 kB / 17.69 MB, free: 5.52 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.001149/0.001149, allocations: 192 kB / 18.63 MB, free: 4.59 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.235/1.235, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.156e-05, allocations: 9.031 kB / 302 MB, free: 5.219 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.01151/0.01155, allocations: 11.42 MB / 313.4 MB, free: 9.762 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.01816, allocations: 3.541 MB / 317 MB, free: 6.207 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.01956, allocations: 71.69 kB / 317.1 MB, free: 6.137 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.02148, allocations: 0.8344 MB / 317.9 MB, free: 5.297 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.02364, allocations: 0.9279 MB / 318.8 MB, free: 4.363 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.02452, allocations: 427.4 kB / 319.2 MB, free: 3.945 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.02842, allocations: 4.118 MB / 323.3 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.03029, allocations: 1.627 MB / 325 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.03208, allocations: 1.46 MB / 326.4 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.03357, allocations: 1.456 MB / 327.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.03389, allocations: 236 kB / 328.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.03543, allocations: 0.8424 MB / 329 MB, free: 10.13 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.002564/0.038, allocations: 3.916 MB / 332.9 MB, free: 6.18 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.001749/0.03976, allocations: 2.54 MB / 335.4 MB, free: 3.609 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.04031, allocations: 359 kB / 335.8 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd: time 0.0003024/0.04062, allocations: 59.81 kB / 335.8 MB, free: 3.199 MB / 270.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