Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStriangular.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.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") translateModel(PNlib.Examples.ExtTest.TDStriangular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStriangular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 106.1 kB / 16.42 MB, free: 6.52 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.001184/0.001184, allocations: 187.2 kB / 17.35 MB, free: 5.73 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.238/1.238, 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.06813/0.06813, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.051e-05, allocations: 2.984 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStriangular): time 0.002586/0.002615, allocations: 2.512 MB / 429.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.007861, allocations: 4.265 MB / 433.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.008392, allocations: 8 kB / 433.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.008827, allocations: 182.4 kB / 433.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.009263, allocations: 194.4 kB / 434.1 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.01207, allocations: 1.602 MB / 435.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.0144, allocations: 2.957 MB / 438.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.01484, allocations: 353.3 kB / 439 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.01598, allocations: 1.036 MB / 440 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.01663, allocations: 0.6767 MB / 440.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.01684, allocations: 156 kB / 440.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.01799, allocations: 0.8506 MB / 441.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001213/0.01921, allocations: 1.848 MB / 443.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005791/0.0198, allocations: 1.066 MB / 444.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.02014, allocations: 263.4 kB / 444.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002134/0.02037, allocations: 119.3 kB / 445 MB, free: 8.379 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: 306 (221) * Number of variables: 306 (285) Notification: Performance of Bindings: time 0.005373/0.02575, allocations: 5.824 MB / 450.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002076/0.02597, allocations: 176.6 kB / 451 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005753/0.03173, allocations: 6.184 MB / 457.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001974/0.03196, allocations: 159.8 kB / 457.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Alias: time 0.004634/0.0366, allocations: 4.233 MB / 461.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simplify2: time 0.0002065/0.03683, allocations: 135.8 kB / 461.7 MB, free: 7.117 MB / 334.1 MB Notification: Performance of Events: time 0.001788/0.03862, allocations: 1.625 MB / 463.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of Detect States: time 0.002245/0.04088, allocations: 2.382 MB / 465.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of Partitioning: time 0.002126/0.04301, allocations: 2.002 MB / 467.7 MB, free: 0.8945 MB / 334.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_93 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_48)