Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quadraticSpeedDependentTorqueQS.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 112.3 kB / 17.75 MB, free: 5.211 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.001157/0.001157, allocations: 185.8 kB / 18.68 MB, free: 4.293 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.211/1.211, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.595e-05, allocations: 2.281 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_MTPA): time 0.1929/0.1929, allocations: 28.56 MB / 380.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.2088, allocations: 8.405 MB / 388.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006178/0.215, allocations: 212.2 kB / 389.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01688/0.2319, allocations: 8.158 MB / 397.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009886/0.2418, allocations: 2.786 MB / 400.1 MB, free: 328 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005877/0.2477, allocations: 1.861 MB / 402 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.26, allocations: 9.981 MB / 411.9 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02354/0.2836, allocations: 17.52 MB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007347/0.291, allocations: 4.782 MB / 434.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008108/0.2991, allocations: 5.098 MB / 439.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002948/0.3021, allocations: 1.133 MB / 440.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/0.3092, allocations: 2.061 MB / 442.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01291/0.3221, allocations: 10.92 MB / 453.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.006509/0.3286, allocations: 6.937 MB / 460.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003186/0.3318, allocations: 0.8146 MB / 461.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001182/0.333, allocations: 91.75 kB / 461.3 MB, free: 7.367 MB / 366.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