Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001147/0.001147, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.15 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.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.444e-05, allocations: 6.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.001851/0.001873, allocations: 1.86 MB / 428.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.004151, allocations: 1.964 MB / 430.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.004304, allocations: 11.88 kB / 430.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.004547, allocations: 111.1 kB / 430.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.004814, allocations: 107.1 kB / 431 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.005944, allocations: 0.9083 MB / 431.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008977/0.006851, allocations: 1.564 MB / 433.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.007041, allocations: 161.5 kB / 433.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.007373, allocations: 0.5571 MB / 434.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.007625, allocations: 346.4 kB / 434.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.007719, allocations: 72 kB / 434.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.008143, allocations: 0.5032 MB / 435.1 MB, free: 2.379 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003877/0.008539, allocations: 0.912 MB / 436 MB, free: 1.457 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001417/0.008689, allocations: 0.5426 MB / 436.5 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.008807, allocations: 127.7 kB / 436.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.748e-05/0.00887, allocations: 51.67 kB / 436.7 MB, free: 0.7305 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 (108) * Number of variables: 148 (138) Notification: Performance of Bindings: time 0.002308/0.01118, allocations: 2.804 MB / 439.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.32e-05/0.01128, allocations: 83.89 kB / 439.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002451/0.01374, allocations: 2.798 MB / 442.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simplify1: time 7.915e-05/0.01383, allocations: 75.89 kB / 442.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Alias: time 0.002082/0.01592, allocations: 2.126 MB / 444.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simplify2: time 5.365e-05/0.01598, allocations: 59.91 kB / 444.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of Events: time 0.0005709/0.01656, allocations: 0.4913 MB / 445.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of Detect States: time 0.001107/0.01768, allocations: 1.095 MB / 446.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0008892/0.01858, allocations: 0.9227 MB / 447.2 MB, free: 5.836 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P1.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P1.color = if settings.animatePlace then if $SEV_32 then {255.0, 255.0 - 2.55 * P1.tokenscale, 255.0 - 2.55 * P1.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_27)