Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TFDStest.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/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/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(PNlib.Examples.ExtTest.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") translateModel(PNlib.Examples.ExtTest.TFDStest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T1.putDuration|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TFDStest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.6 kB / 16.42 MB, free: 6.035 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.001335/0.001335, allocations: 178.7 kB / 17.35 MB, free: 5.617 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07235/0.07235, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.644e-05, allocations: 2.281 kB / 427 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.002446/0.002471, allocations: 2.532 MB / 429.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.007196, allocations: 4.292 MB / 433.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.007541, allocations: 11.94 kB / 433.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.007897, allocations: 182.4 kB / 434 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.008311, allocations: 238.4 kB / 434.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.01078, allocations: 1.606 MB / 435.8 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.01315, allocations: 2.992 MB / 438.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.01359, allocations: 345.2 kB / 439.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.0147, allocations: 1.052 MB / 440.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.01542, allocations: 0.6922 MB / 440.9 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.01565, allocations: 164 kB / 441 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.01702, allocations: 0.8622 MB / 441.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001278/0.01831, allocations: 1.882 MB / 443.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005856/0.01891, allocations: 1.085 MB / 444.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.01928, allocations: 267.3 kB / 445.1 MB, free: 8.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002688/0.01956, allocations: 111.3 kB / 445.2 MB, free: 8.234 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if T1.durationPassedOut then T1.fire = false; elseif true then T1.fire = true; end if