Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStruncatednormal.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.TDStruncatednormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStruncatednormal") translateModel(PNlib.Examples.ExtTest.TDStruncatednormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TDStruncatednormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 104.2 kB / 16.42 MB, free: 6.457 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.001203/0.001203, allocations: 190 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.245/1.245, 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.06874/0.06874, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.622e-05, allocations: 2.281 kB / 427 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStruncatednormal): time 0.002337/0.002362, allocations: 2.497 MB / 429.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.006894, allocations: 4.269 MB / 433.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.007191, allocations: 15.94 kB / 433.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.007535, allocations: 174.5 kB / 433.9 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.007947, allocations: 190.4 kB / 434.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.01011, allocations: 1.608 MB / 435.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.01227, allocations: 2.964 MB / 438.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.01274, allocations: 345.3 kB / 439 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.01401, allocations: 1.04 MB / 440 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.01474, allocations: 0.6767 MB / 440.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.01497, allocations: 156 kB / 440.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.01674, allocations: 1.112 MB / 442 MB, free: 11.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001433/0.0182, allocations: 1.847 MB / 443.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006635/0.01887, allocations: 1.066 MB / 444.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.01928, allocations: 267.4 kB / 445.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003135/0.01961, allocations: 115.3 kB / 445.3 MB, free: 8.105 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.005376/0.02499, allocations: 5.816 MB / 451.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002441/0.02524, allocations: 168.7 kB / 451.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005953/0.03121, allocations: 6.2 MB / 457.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001862/0.03141, allocations: 155.8 kB / 457.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Alias: time 0.004668/0.03608, allocations: 4.237 MB / 461.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001649/0.03626, allocations: 135.8 kB / 462 MB, free: 6.844 MB / 334.1 MB Notification: Performance of Events: time 0.001806/0.03808, allocations: 1.625 MB / 463.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of Detect States: time 0.00227/0.04036, allocations: 2.363 MB / 466 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Partitioning: time 0.002199/0.04257, allocations: 1.986 MB / 467.9 MB, free: 0.6641 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_92 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_47)