Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC.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.DoubleArcwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") translateModel(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.DoubleArcwithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001079, allocations: 105.9 kB / 16.42 MB, free: 6.492 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.00113/0.001131, allocations: 187.2 kB / 17.35 MB, free: 5.742 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.288/1.288, 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.07106/0.07106, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/1.891e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.DoubleArcwithPCtoTC): time 0.003405/0.003432, allocations: 4.23 MB / 431.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.00797, allocations: 3.172 MB / 434.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/0.008648, allocations: 23.88 kB / 434.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.009208, allocations: 373 kB / 434.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.009978, allocations: 373.1 kB / 435.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.01216, allocations: 1.473 MB / 436.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.01695, allocations: 4.662 MB / 441.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.01798, allocations: 0.7536 MB / 442 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.02055, allocations: 1.792 MB / 443.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.02236, allocations: 1.338 MB / 445.1 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004658/0.02284, allocations: 300 kB / 445.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.02413, allocations: 0.7181 MB / 446.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00252/0.02666, allocations: 3.645 MB / 449.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001215/0.02789, allocations: 2.086 MB / 451.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007023/0.0286, allocations: 438.8 kB / 452.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005457/0.02916, allocations: 290.2 kB / 452.6 MB, free: 0.7539 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: 693 (526) * Number of variables: 693 (611) Notification: Performance of Bindings: time 0.01069/0.03985, allocations: 11.67 MB / 464.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0009424/0.04081, allocations: 1.131 MB / 465.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Early Inline: time 0.009996/0.05082, allocations: 11.14 MB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004689/0.05131, allocations: 375.4 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Alias: time 0.00991/0.06122, allocations: 8.783 MB / 485.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplify2: time 0.0004786/0.06174, allocations: 319.5 kB / 486 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Events: time 0.003787/0.06554, allocations: 3.295 MB / 489.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Detect States: time 0.00422/0.06978, allocations: 3.909 MB / 493.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004695/0.07449, allocations: 3.74 MB / 496.9 MB, free: 2.898 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: P2.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P2.color = if settings.animatePlace then if $SEV_163 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_104)