Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.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.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001235, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001261/0.001261, allocations: 186 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.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07448/0.07448, allocations: 16.73 MB / 307.9 MB, free: 14.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.424e-05, allocations: 2.281 kB / 426.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.003069/0.003101, allocations: 1.992 MB / 428.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.006796, allocations: 1.696 MB / 430.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.00756, allocations: 11.94 kB / 430.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.008066, allocations: 135 kB / 430.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007634/0.008838, allocations: 147 kB / 430.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.01082, allocations: 0.7007 MB / 431.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.0126, allocations: 1.623 MB / 433.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.0129, allocations: 191 kB / 433.4 MB, free: 4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.01369, allocations: 0.6077 MB / 434 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.01428, allocations: 438 kB / 434.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.01451, allocations: 99.94 kB / 434.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.01522, allocations: 0.515 MB / 435.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007081/0.01594, allocations: 1.121 MB / 436.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002584/0.0162, allocations: 0.6197 MB / 436.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.01645, allocations: 139.6 kB / 436.9 MB, free: 460 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001259/0.01659, allocations: 67.55 kB / 437 MB, free: 392 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: 180 (139) * Number of variables: 180 (170) Notification: Performance of Bindings: time 0.003727/0.02032, allocations: 3.405 MB / 440.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003184/0.02065, allocations: 160.3 kB / 440.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003878/0.02453, allocations: 3.411 MB / 444 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001426/0.02469, allocations: 103.8 kB / 444.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of Alias: time 0.002935/0.02763, allocations: 2.477 MB / 446.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001111/0.02776, allocations: 91.84 kB / 446.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of Detect States: time 0.001173/0.02894, allocations: 1.17 MB / 447.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of Events: time 0.001175/0.03012, allocations: 0.8764 MB / 448.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00136/0.03149, allocations: 1.104 MB / 449.8 MB, free: 3.18 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_61 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_25)