Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 114.6 kB / 17.75 MB, free: 5.305 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.001017/0.001018, allocations: 179.1 kB / 18.68 MB, free: 4.387 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.566e-05, allocations: 2.281 kB / 351.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01124/0.01127, allocations: 10.91 MB / 362.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.01878, allocations: 3.629 MB / 366.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.02129, allocations: 67.69 kB / 366.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.02368, allocations: 0.8111 MB / 367.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.02705, allocations: 0.8658 MB / 368.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.02818, allocations: 459.4 kB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2189/0.2471, allocations: 3.317 MB / 372 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.2502, allocations: 1.614 MB / 373.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.2532, allocations: 1.247 MB / 374.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.2552, allocations: 1.317 MB / 376.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.2555, allocations: 229.8 kB / 376.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.2577, allocations: 0.8385 MB / 377.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002926/0.2607, allocations: 3.628 MB / 380.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001716/0.2624, allocations: 2.319 MB / 383.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000803/0.2632, allocations: 348.9 kB / 383.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006909/0.2639, allocations: 64.75 kB / 383.6 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