Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") translateModel(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 113.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 204.1 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.461e-05, allocations: 2.281 kB / 481.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.DCPM_CurrentControlled): time 0.004425/0.004448, allocations: 4.026 MB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006587, allocations: 1.503 MB / 487.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.006867, allocations: 12 kB / 487.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.007465, allocations: 258.2 kB / 487.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.007759, allocations: 138.7 kB / 487.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.008104, allocations: 191.7 kB / 488 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.008754, allocations: 0.7208 MB / 488.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.009084, allocations: 280.6 kB / 489 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.009395, allocations: 239 kB / 489.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.009639, allocations: 262.7 kB / 489.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.009715, allocations: 56 kB / 489.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.01009, allocations: 251.5 kB / 489.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0005052/0.0106, allocations: 0.9035 MB / 490.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002797/0.01089, allocations: 0.5772 MB / 491.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.01099, allocations: 95.69 kB / 491.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.148e-05/0.01109, allocations: 35.78 kB / 491.4 MB, free: 10.55 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: Tiw Error: Internal error NBackendDAE.lowerVariable failed for parameter ModelicaTest.Electrical.Machines.DCPM_Utilities.DriveData driveData