Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 102.3 kB / 18.4 MB, free: 4.766 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.001488/0.001488, allocations: 188.3 kB / 19.34 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.145e-05, allocations: 7.062 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01378/0.01382, allocations: 12.1 MB / 341.3 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007117/0.02097, allocations: 3.305 MB / 344.6 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.02348, allocations: 35.94 kB / 344.6 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.02629, allocations: 0.6868 MB / 345.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.03001, allocations: 0.7794 MB / 346.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.03167, allocations: 403.5 kB / 346.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004912/0.0366, allocations: 2.825 MB / 349.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.03851, allocations: 0.9977 MB / 350.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.04056, allocations: 0.9182 MB / 351.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.04251, allocations: 0.9799 MB / 352.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005924/0.04312, allocations: 200 kB / 352.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.04541, allocations: 0.6514 MB / 353 MB, free: 11.33 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004097/0.04952, allocations: 3.346 MB / 356.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00256/0.05209, allocations: 2.095 MB / 358.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.05342, allocations: 363.1 kB / 358.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007766/0.05421, allocations: 55.8 kB / 358.9 MB, free: 5.41 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 dcpmData2