Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEtest.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.TEtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEtest") translateModel(PNlib.Examples.DisTest.TEtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TEtest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 101.5 kB / 16.42 MB, free: 6.473 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.001022/0.001023, allocations: 189.9 kB / 17.36 MB, free: 5.734 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.239/1.239, allocations: 222.9 MB / 241 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.07165/0.07165, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.334e-05, allocations: 2.281 kB / 426.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEtest): time 0.002322/0.002344, allocations: 2.846 MB / 429.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.005423, allocations: 2.717 MB / 432.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.005673, allocations: 15.94 kB / 432.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.006159, allocations: 238 kB / 432.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.00656, allocations: 269.8 kB / 433 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.008076, allocations: 1.334 MB / 434.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.009994, allocations: 3.35 MB / 437.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.01063, allocations: 0.6214 MB / 438.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01172, allocations: 1.25 MB / 439.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.01263, allocations: 1.074 MB / 440.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000335/0.01298, allocations: 268 kB / 440.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.01413, allocations: 0.9716 MB / 441.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00177/0.01591, allocations: 2.877 MB / 444.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007777/0.0167, allocations: 1.59 MB / 446.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.01719, allocations: 423 kB / 446.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002299/0.01743, allocations: 206.8 kB / 447 MB, free: 6.41 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: 482 (384) * Number of variables: 482 (452) Notification: Performance of Bindings: time 0.008078/0.02551, allocations: 9.494 MB / 456.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0005811/0.0261, allocations: 0.7479 MB / 457.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Early Inline: time 0.009727/0.03584, allocations: 10.75 MB / 468 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002769/0.03613, allocations: 271.6 kB / 468.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Alias: time 0.006737/0.04288, allocations: 6.593 MB / 474.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplify2: time 0.0002461/0.04314, allocations: 255.6 kB / 475.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of Events: time 0.003042/0.04619, allocations: 3.041 MB / 478.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Detect States: time 0.003548/0.04975, allocations: 3.896 MB / 482 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Partitioning: time 0.003661/0.05343, allocations: 3.427 MB / 485.4 MB, free: 14.9 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: P2.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P2.color = if settings.animatePlace then if $SEV_159 then {255.0, 255.0 - 2.55 * P2.tokenscale, 255.0 - 2.55 * P2.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_27)