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.001254/0.001255, allocations: 102.9 kB / 16.42 MB, free: 6.422 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.001197/0.001197, allocations: 192.2 kB / 17.35 MB, free: 5.719 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07134/0.07134, allocations: 16.71 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.187e-05, allocations: 4.953 kB / 426.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TFDStest): time 0.002706/0.002736, allocations: 2.547 MB / 429.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.008241, allocations: 4.288 MB / 433.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.008905, allocations: 11.94 kB / 433.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.009426, allocations: 182.4 kB / 434 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.01011, allocations: 194.4 kB / 434.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.01308, allocations: 1.618 MB / 435.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.01541, allocations: 2.985 MB / 438.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.01583, allocations: 341.2 kB / 439.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009514/0.0168, allocations: 1.056 MB / 440.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.01745, allocations: 0.7001 MB / 440.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.01766, allocations: 163.9 kB / 441 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.01876, allocations: 0.8583 MB / 441.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001184/0.01996, allocations: 1.882 MB / 443.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005419/0.02051, allocations: 1.089 MB / 444.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.02083, allocations: 271.3 kB / 445.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002093/0.02105, allocations: 115.3 kB / 445.2 MB, free: 8.133 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