Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001253, allocations: 110.7 kB / 17.75 MB, free: 5.301 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.001382/0.001383, allocations: 187 kB / 18.69 MB, free: 4.375 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.006e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.01189/0.01192, allocations: 11.75 MB / 363.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.01825, allocations: 3.222 MB / 366.9 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.01987, allocations: 35.94 kB / 366.9 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.02197, allocations: 0.6714 MB / 367.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.02439, allocations: 0.7251 MB / 368.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.02557, allocations: 399.5 kB / 368.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1995/0.225, allocations: 2.625 MB / 371.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.2274, allocations: 0.9889 MB / 372.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.2294, allocations: 0.8598 MB / 373.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.2314, allocations: 0.9127 MB / 374.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000757/0.2322, allocations: 192.3 kB / 374.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.2344, allocations: 0.6304 MB / 374.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003628/0.2381, allocations: 3.141 MB / 378.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001682/0.2398, allocations: 1.96 MB / 380 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007305/0.2405, allocations: 343.7 kB / 380.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004353/0.2409, allocations: 59.8 kB / 380.4 MB, free: 9.512 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: ILinear Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData dcpmData