Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD.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.DoubleArcwithPTtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPTtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001344, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001363/0.001363, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07189/0.07189, allocations: 16.72 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.436e-05, allocations: 2.281 kB / 426.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPTtoTD): time 0.003512/0.003544, allocations: 3.778 MB / 430.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.008982, allocations: 3.33 MB / 434.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.009672, allocations: 19.94 kB / 434.1 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.01034, allocations: 321.3 kB / 434.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.01107, allocations: 417.2 kB / 434.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.01418, allocations: 1.693 MB / 436.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.01939, allocations: 4.633 MB / 441.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00095/0.02036, allocations: 0.7297 MB / 441.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.02295, allocations: 1.694 MB / 443.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.02482, allocations: 1.182 MB / 444.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.02538, allocations: 276 kB / 445 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.02733, allocations: 0.9482 MB / 445.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002588/0.02993, allocations: 3.3 MB / 449.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001145/0.03108, allocations: 1.928 MB / 451.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.03183, allocations: 447.4 kB / 451.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004983/0.03234, allocations: 282.3 kB / 451.9 MB, free: 1.555 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 630 (476) * Number of variables: 630 (558) Notification: Performance of Bindings: time 0.0113/0.04365, allocations: 10.54 MB / 462.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0006184/0.04428, allocations: 0.5859 MB / 463 MB, free: 6.133 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01252/0.05681, allocations: 10.72 MB / 473.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004898/0.05734, allocations: 319.5 kB / 474 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Alias: time 0.01161/0.06896, allocations: 8.397 MB / 482.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simplify2: time 0.0005528/0.06956, allocations: 271.6 kB / 482.7 MB, free: 1.559 MB / 350.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).