Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDCwithPWM.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo) 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(BLDC.Examples.DemoBLDCwithPWM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDCwithPWM") translateModel(BLDC.Examples.DemoBLDCwithPWM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDCwithPWM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 109.1 kB / 16.42 MB, free: 6.473 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.001463/0.001463, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01221/0.01221, allocations: 2.597 MB / 293.8 MB, free: 12.14 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.711e-05, allocations: 6.781 kB / 405.9 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.01359/0.01362, allocations: 17.48 MB / 423.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02414, allocations: 6.09 MB / 429.5 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003997/0.02817, allocations: 115.5 kB / 429.6 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.03179, allocations: 1.289 MB / 430.9 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.03941, allocations: 1.616 MB / 432.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.04211, allocations: 1.105 MB / 433.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007184/0.0493, allocations: 6.054 MB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/0.05254, allocations: 2.668 MB / 442.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.05572, allocations: 2.068 MB / 444.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.05799, allocations: 2.09 MB / 446.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004509/0.05845, allocations: 400 kB / 446.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.06094, allocations: 1.201 MB / 448.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004298/0.06525, allocations: 5.53 MB / 453.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002829/0.06809, allocations: 3.594 MB / 457.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.06915, allocations: 0.5026 MB / 457.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0009293/0.07009, allocations: 87.67 kB / 457.8 MB, free: 9.375 MB / 334.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 BLDC.ParameterRecords.SmpmData smpmData