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.001276/0.001276, allocations: 107.9 kB / 16.42 MB, free: 6.512 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.001251/0.001252, allocations: 187.2 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.224/1.224, 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.06951/0.06951, allocations: 16.72 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.859e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.00205/0.002077, allocations: 1.999 MB / 428.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.00426, allocations: 1.696 MB / 430.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.00444, allocations: 8 kB / 430.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.004689, allocations: 135 kB / 430.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.005042, allocations: 131 kB / 430.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.005994, allocations: 0.6888 MB / 431.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.006997, allocations: 1.619 MB / 433.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.007267, allocations: 202.9 kB / 433.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.007831, allocations: 0.6194 MB / 434 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.008268, allocations: 438 kB / 434.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.008393, allocations: 92 kB / 434.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.008998, allocations: 0.4994 MB / 435 MB, free: 2.398 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004973/0.009507, allocations: 1.125 MB / 436.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001802/0.009693, allocations: 0.6274 MB / 436.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.009838, allocations: 135.6 kB / 436.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001024/0.009947, allocations: 67.58 kB / 437 MB, free: 436 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.003236/0.01319, allocations: 3.402 MB / 440.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002348/0.01343, allocations: 170.9 kB / 440.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003276/0.01672, allocations: 3.399 MB / 443.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001221/0.01685, allocations: 111.8 kB / 444.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of Alias: time 0.002744/0.0196, allocations: 2.481 MB / 446.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simplify2: time 9.857e-05/0.01971, allocations: 87.86 kB / 446.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of Events: time 0.001067/0.02078, allocations: 0.8769 MB / 447.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of Detect States: time 0.001197/0.02199, allocations: 1.227 MB / 448.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001174/0.02318, allocations: 1.092 MB / 449.8 MB, free: 3.184 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)