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.001225/0.001225, allocations: 109.6 kB / 16.42 MB, free: 6.469 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.001256/0.001256, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01166/0.01166, allocations: 2.598 MB / 293.8 MB, free: 12.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.798e-05, allocations: 2.281 kB / 405.9 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDCwithPWM): time 0.01414/0.01417, allocations: 17.48 MB / 423.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02452, allocations: 6.086 MB / 429.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.02804, allocations: 119.5 kB / 429.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003884/0.03195, allocations: 1.289 MB / 430.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.03756, allocations: 1.604 MB / 432.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.04042, allocations: 1.109 MB / 433.6 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007373/0.04781, allocations: 6.056 MB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.05197, allocations: 2.66 MB / 442.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.05517, allocations: 2.076 MB / 444.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.05844, allocations: 2.09 MB / 446.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.05954, allocations: 400 kB / 446.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.06267, allocations: 1.217 MB / 448.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004608/0.06729, allocations: 5.53 MB / 453.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002568/0.06987, allocations: 3.587 MB / 457.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008617/0.07074, allocations: 0.4987 MB / 457.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0008374/0.07159, allocations: 87.67 kB / 457.8 MB, free: 9.383 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