Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PrioTest.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.PrioTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PrioTest") translateModel(PNlib.Examples.DisTest.PrioTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PrioTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 108.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.001444/0.001444, allocations: 189.5 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07094/0.07094, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/1.987e-05, allocations: 2.281 kB / 427 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PrioTest): time 0.004412/0.004441, allocations: 5.724 MB / 432.7 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.01096, allocations: 4.92 MB / 437.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009542/0.01193, allocations: 31.88 kB / 437.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009254/0.01286, allocations: 0.5347 MB / 438.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.01402, allocations: 0.554 MB / 438.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.01859, allocations: 2.597 MB / 441.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009687/0.0283, allocations: 8.015 MB / 449.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.03022, allocations: 1.32 MB / 450.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.03515, allocations: 2.965 MB / 453.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.0382, allocations: 2.097 MB / 455.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009788/0.0392, allocations: 488 kB / 456.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.04082, allocations: 1.163 MB / 457.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00364/0.04447, allocations: 5.586 MB / 462.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001826/0.04631, allocations: 3.183 MB / 466.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.04752, allocations: 0.7526 MB / 466.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0006616/0.04819, allocations: 385.5 kB / 467.2 MB, free: 1.961 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: 1090 (790) * Number of variables: 1090 (920) Notification: Performance of Bindings: time 0.01952/0.06771, allocations: 18.47 MB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0009621/0.06869, allocations: 0.8362 MB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Early Inline: time 0.02212/0.09083, allocations: 19.16 MB / 0.4939 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simplify1: time 0.0007665/0.09163, allocations: 0.5343 MB / 0.4944 GB, free: 10.48 MB / 382.1 MB Notification: Performance of Alias: time 0.1869/0.2785, allocations: 13.06 MB / 0.5071 GB, free: 55.71 MB / 382.1 MB Notification: Performance of simplify2: time 0.0008356/0.2794, allocations: 487.3 kB / 0.5076 GB, free: 55.7 MB / 382.1 MB Notification: Performance of Events: time 0.006588/0.286, allocations: 5.593 MB / 0.5131 GB, free: 54.34 MB / 382.1 MB Notification: Performance of Detect States: time 0.009005/0.295, allocations: 7.156 MB / 0.5201 GB, free: 53.54 MB / 382.1 MB Notification: Performance of Partitioning: time 0.007981/0.303, allocations: 6.38 MB / 0.5263 GB, free: 49.83 MB / 382.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P5.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P5.color = if settings.animatePlace then if $SEV_257 then {255.0, 255.0 - 2.55 * P5.tokenscale, 255.0 - 2.55 * P5.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_53)