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.001084/0.001084, allocations: 105 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.001034/0.001034, allocations: 190 kB / 17.36 MB, free: 5.711 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.06597/0.06597, allocations: 16.72 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.331e-05, allocations: 2.281 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.Ttest): time 0.003293/0.003315, allocations: 4.746 MB / 431.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.008264, allocations: 4.175 MB / 435.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.008744, allocations: 31.88 kB / 435.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.009435, allocations: 456.2 kB / 436.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000677/0.01012, allocations: 0.551 MB / 436.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.01284, allocations: 2.176 MB / 439.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.0177, allocations: 6.443 MB / 445.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.01872, allocations: 1.078 MB / 446.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.02053, allocations: 2.388 MB / 449 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.0219, allocations: 1.79 MB / 450.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.02236, allocations: 432 kB / 451.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.02354, allocations: 1.116 MB / 452.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002667/0.02622, allocations: 4.763 MB / 457.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001234/0.02746, allocations: 2.664 MB / 459.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.02816, allocations: 0.667 MB / 460.4 MB, free: 8.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003378/0.02851, allocations: 337.8 kB / 460.7 MB, free: 8.5 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.01219/0.0407, allocations: 15.51 MB / 476.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0008486/0.04156, allocations: 1.236 MB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of Early Inline: time 0.01416/0.05573, allocations: 17.11 MB / 494.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003771/0.05612, allocations: 455.3 kB / 495 MB, free: 5.754 MB / 366.1 MB Notification: Performance of Alias: time 0.01007/0.0662, allocations: 11.1 MB / 0.4943 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simplify2: time 0.0003271/0.06654, allocations: 399.4 kB / 0.4947 GB, free: 9.496 MB / 382.1 MB Notification: Performance of Events: time 0.004697/0.07124, allocations: 5.003 MB / 0.4996 GB, free: 4.59 MB / 382.1 MB Notification: Performance of Detect States: time 0.1429/0.2141, allocations: 6.261 MB / 0.5057 GB, free: 58.43 MB / 382.1 MB Notification: Performance of Partitioning: time 0.005124/0.2193, allocations: 5.615 MB / 0.5111 GB, free: 56.95 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: P3.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P3.color = if settings.animatePlace then if $SEV_245 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_72)