Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.Ttest.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.DisTest.Ttest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.Ttest") translateModel(PNlib.Examples.DisTest.Ttest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.Ttest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 105.8 kB / 16.42 MB, free: 6.539 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.001491/0.001491, allocations: 183.2 kB / 17.35 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07392/0.07392, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.409e-05, allocations: 2.281 kB / 427 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.Ttest): time 0.005277/0.00531, allocations: 4.748 MB / 431.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007931/0.01326, allocations: 4.183 MB / 435.9 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.01526, allocations: 27.88 kB / 435.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.01671, allocations: 448.4 kB / 436.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.01864, allocations: 0.5548 MB / 436.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.02377, allocations: 2.172 MB / 439.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.03228, allocations: 6.447 MB / 445.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.03396, allocations: 1.078 MB / 446.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.03819, allocations: 2.376 MB / 449 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/0.04279, allocations: 1.797 MB / 450.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.04486, allocations: 432 kB / 451.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.04791, allocations: 1.124 MB / 452.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005229/0.05316, allocations: 4.76 MB / 457.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002225/0.0554, allocations: 2.656 MB / 459.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.05779, allocations: 0.6787 MB / 460.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.001271/0.05907, allocations: 329.9 kB / 460.7 MB, free: 8.523 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 (644) * Number of variables: 851 (764) Notification: Performance of Bindings: time 0.01966/0.07875, allocations: 15.51 MB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001171/0.07994, allocations: 1.248 MB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Early Inline: time 0.02116/0.1011, allocations: 17.11 MB / 494.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simplify1: time 0.0007465/0.1019, allocations: 447.3 kB / 495 MB, free: 5.773 MB / 366.1 MB Notification: Performance of Alias: time 0.01447/0.1164, allocations: 11.1 MB / 0.4943 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simplify2: time 0.0006347/0.1171, allocations: 399.4 kB / 0.4947 GB, free: 9.52 MB / 382.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).