Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 116.3 kB / 18.47 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.001527/0.001528, allocations: 206.3 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.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.165e-05, allocations: 4.672 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.01177/0.01181, allocations: 11.51 MB / 370.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.2109, allocations: 3.755 MB / 374.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.2132, allocations: 66.31 kB / 374.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.2155, allocations: 0.823 MB / 375.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.2184, allocations: 0.9234 MB / 376.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.2197, allocations: 498.9 kB / 376.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.2251, allocations: 3.747 MB / 380.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.2271, allocations: 1.533 MB / 382.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.2301, allocations: 1.332 MB / 383.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.2327, allocations: 1.358 MB / 384.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.2331, allocations: 229 kB / 385.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.2357, allocations: 0.8409 MB / 385.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003584/0.2393, allocations: 3.733 MB / 389.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002277/0.2416, allocations: 2.404 MB / 392.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.2426, allocations: 355.8 kB / 392.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006801/0.2433, allocations: 65.16 kB / 392.5 MB, free: 3.023 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