Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 115.8 kB / 17.76 MB, free: 5.324 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.001278/0.001278, allocations: 189.9 kB / 18.68 MB, free: 4.402 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.717e-05, allocations: 2.281 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.01585/0.01588, allocations: 15.16 MB / 367.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.2358, allocations: 5.091 MB / 372.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.2392, allocations: 97.94 kB / 372.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.2425, allocations: 1.073 MB / 373.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.2469, allocations: 1.26 MB / 374.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.249, allocations: 0.8955 MB / 375.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007044/0.2561, allocations: 4.233 MB / 379.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.2591, allocations: 2.195 MB / 382 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.2623, allocations: 1.508 MB / 383.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.2653, allocations: 1.633 MB / 385.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.2658, allocations: 299.5 kB / 385.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.2696, allocations: 1.059 MB / 386.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005267/0.2749, allocations: 4.532 MB / 391 MB, free: 4.824 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001988/0.2769, allocations: 2.935 MB / 393.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009451/0.2778, allocations: 425.1 kB / 394.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0008874/0.2787, allocations: 64.75 kB / 394.4 MB, free: 2.605 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