Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDC.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.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") translateModel(BLDC.Examples.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 109 kB / 16.42 MB, free: 6.52 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.001305/0.001305, allocations: 187.8 kB / 17.36 MB, free: 5.723 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01223/0.01223, allocations: 2.586 MB / 293.8 MB, free: 12.2 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/1.937e-05, allocations: 10.72 kB / 405.9 MB, free: 29.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDC): time 0.01259/0.01262, allocations: 17.05 MB / 423 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009451/0.0221, allocations: 5.915 MB / 428.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.02483, allocations: 115.5 kB / 429 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.02792, allocations: 1.281 MB / 430.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.03234, allocations: 1.589 MB / 431.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.03479, allocations: 1.039 MB / 432.9 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007361/0.04216, allocations: 5.99 MB / 438.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.04647, allocations: 2.755 MB / 441.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.04988, allocations: 2.072 MB / 443.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.0537, allocations: 2.075 MB / 445.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009781/0.05469, allocations: 396 kB / 446.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.05778, allocations: 1.217 MB / 447.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004514/0.06231, allocations: 5.449 MB / 452.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002698/0.06502, allocations: 3.517 MB / 456.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009798/0.06601, allocations: 0.4987 MB / 456.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0007867/0.06681, allocations: 87.67 kB / 457 MB, free: 10.27 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