Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy.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.ConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.ConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.ConflictBeneGreedy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107.5 kB / 16.42 MB, free: 6.492 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.001427/0.001427, allocations: 189.5 kB / 17.35 MB, free: 5.754 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07172/0.07172, allocations: 16.72 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.801e-05, allocations: 2.281 kB / 426.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.ConflictBeneGreedy): time 0.00319/0.003216, allocations: 3.789 MB / 430.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00472/0.007948, allocations: 3.42 MB / 434.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.008814, allocations: 23.88 kB / 434.2 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.009436, allocations: 325.3 kB / 434.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007054/0.01015, allocations: 341.2 kB / 434.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.01272, allocations: 1.747 MB / 436.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005035/0.01776, allocations: 4.825 MB / 441.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.01888, allocations: 0.7313 MB / 442.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.02112, allocations: 1.773 MB / 443.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.02269, allocations: 1.28 MB / 445.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003931/0.02309, allocations: 300 kB / 445.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.0247, allocations: 0.9678 MB / 446.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002592/0.0273, allocations: 3.41 MB / 449.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001055/0.02836, allocations: 1.94 MB / 451.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.02903, allocations: 475.4 kB / 452.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003579/0.0294, allocations: 230.6 kB / 452.5 MB, free: 0.8711 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: 620 (464) * Number of variables: 620 (550) Notification: Performance of Bindings: time 0.01059/0.04, allocations: 11.22 MB / 463.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.00047/0.04048, allocations: 0.5002 MB / 464.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01175/0.05224, allocations: 11.88 MB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004065/0.05268, allocations: 319.5 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Alias: time 0.009733/0.06243, allocations: 7.983 MB / 484.4 MB, free: 8 kB / 350.1 MB Notification: Performance of simplify2: time 0.0004956/0.06296, allocations: 275.5 kB / 484.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Events: time 0.003846/0.06682, allocations: 3.295 MB / 487.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Detect States: time 0.004172/0.071, allocations: 4.381 MB / 492.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004563/0.07558, allocations: 3.864 MB / 496.2 MB, free: 3.848 MB / 366.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P3.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P3.color = if settings.animatePlace then if $SEV_160 then {255.0, 255.0 - 2.55 * P3.tokenscale, 255.0 - 2.55 * P3.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_47)