Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") translateModel(PNlib.Examples.DisTest.PDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108.6 kB / 16.42 MB, free: 6.465 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.000961/0.0009612, allocations: 191.7 kB / 17.36 MB, free: 5.707 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07054/0.07054, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.063e-05, allocations: 4.812 kB / 427 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002052/0.002081, allocations: 1.859 MB / 428.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.004782, allocations: 1.925 MB / 430.7 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.004996, allocations: 7.938 kB / 430.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.005283, allocations: 107 kB / 430.8 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.005589, allocations: 119 kB / 431 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.007314, allocations: 0.8966 MB / 431.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.008638, allocations: 1.58 MB / 433.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.008916, allocations: 190.8 kB / 433.6 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.009402, allocations: 0.5726 MB / 434.2 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.009741, allocations: 390.2 kB / 434.6 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.009859, allocations: 92 kB / 434.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.01048, allocations: 0.5072 MB / 435.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004881/0.01098, allocations: 1.04 MB / 436.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001661/0.01115, allocations: 0.5812 MB / 436.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.0113, allocations: 143.7 kB / 436.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.352e-05/0.0114, allocations: 67.55 kB / 437 MB, free: 448 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 (125) * Number of variables: 165 (155) Notification: Performance of Bindings: time 0.003029/0.01444, allocations: 3.246 MB / 440.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001153/0.01456, allocations: 87.83 kB / 440.3 MB, free: 12.98 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003201/0.01777, allocations: 3.393 MB / 443.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simplify1: time 9.015e-05/0.01787, allocations: 87.86 kB / 443.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Alias: time 0.002578/0.02045, allocations: 2.4 MB / 446.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simplify2: time 6.944e-05/0.02054, allocations: 75.88 kB / 446.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of Events: time 0.001037/0.02158, allocations: 0.9023 MB / 447.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of Detect States: time 0.001277/0.02287, allocations: 1.279 MB / 448.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00113/0.02401, allocations: 1.063 MB / 449.5 MB, free: 3.48 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_65 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)