Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001422, allocations: 106.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002258/0.002258, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/2.871e-05, allocations: 6.219 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01456/0.01459, allocations: 10.95 MB / 370.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2549/0.2695, allocations: 3.667 MB / 374 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.2717, allocations: 69.72 kB / 374 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.2741, allocations: 0.8749 MB / 374.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.2775, allocations: 0.9028 MB / 375.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2787, allocations: 464 kB / 376.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.2842, allocations: 3.333 MB / 379.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.2866, allocations: 1.618 MB / 381.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.2893, allocations: 1.263 MB / 382.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.2914, allocations: 1.322 MB / 383.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003026/0.2917, allocations: 225.2 kB / 384 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.2943, allocations: 0.8518 MB / 384.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003674/0.298, allocations: 3.649 MB / 388.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001751/0.2998, allocations: 2.32 MB / 390.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007505/0.3005, allocations: 349.9 kB / 391.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007164/0.3013, allocations: 59.08 kB / 391.2 MB, free: 3.641 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