Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2.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.TAwithPDtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2") translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.00179/0.00179, 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.271/1.271, 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.07253/0.07253, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.703e-05, allocations: 4.812 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPDtoTD2): time 0.002987/0.003013, allocations: 3.591 MB / 430.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004137/0.007163, allocations: 3.283 MB / 433.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.007608, allocations: 19.88 kB / 433.8 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.00814, allocations: 301.5 kB / 434.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.008716, allocations: 309.4 kB / 434.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.01109, allocations: 1.689 MB / 436.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.01541, allocations: 4.552 MB / 440.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.01627, allocations: 0.6766 MB / 441.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.01816, allocations: 1.64 MB / 443 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.01933, allocations: 1.116 MB / 444.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.01967, allocations: 268 kB / 444.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.021, allocations: 0.9326 MB / 445.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002242/0.02326, allocations: 3.076 MB / 448.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001091/0.02436, allocations: 1.786 MB / 450.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.025, allocations: 427.5 kB / 450.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004199/0.02543, allocations: 234.5 kB / 450.8 MB, free: 2.52 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: 581 (429) * Number of variables: 581 (511) Notification: Performance of Bindings: time 0.01022/0.03566, allocations: 10.07 MB / 460.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004122/0.03609, allocations: 361.7 kB / 461.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01099/0.04709, allocations: 10.23 MB / 471.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004283/0.04756, allocations: 299.5 kB / 471.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Alias: time 0.009826/0.0574, allocations: 7.569 MB / 479.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simplify2: time 0.0004463/0.05787, allocations: 247.6 kB / 479.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Events: time 0.004004/0.06189, allocations: 3.012 MB / 482.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Detect States: time 0.004137/0.06604, allocations: 3.766 MB / 486.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004468/0.07053, allocations: 3.375 MB / 489.7 MB, free: 10.29 MB / 366.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_166 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_101)