Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 106.7 kB / 16.42 MB, free: 6.453 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.001215/0.001215, allocations: 189.9 kB / 17.36 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.302/1.302, 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.0706/0.0706, allocations: 16.71 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.475e-05, allocations: 2.281 kB / 426.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.003163/0.003186, allocations: 3.913 MB / 430.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.007397, allocations: 2.808 MB / 433.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.007932, allocations: 19.94 kB / 433.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.008466, allocations: 349.2 kB / 434 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007177/0.009191, allocations: 353.2 kB / 434.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.01111, allocations: 1.239 MB / 435.6 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.01425, allocations: 3.99 MB / 439.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.01535, allocations: 0.9517 MB / 440.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.01693, allocations: 1.62 MB / 442.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.01851, allocations: 1.365 MB / 443.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.01891, allocations: 320 kB / 443.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.02022, allocations: 0.7298 MB / 444.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00262/0.02285, allocations: 3.7 MB / 448.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001492/0.02436, allocations: 2.094 MB / 450.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.02499, allocations: 466.8 kB / 450.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004568/0.02545, allocations: 310.1 kB / 451.1 MB, free: 2.172 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: 743 (562) * Number of variables: 743 (617) Notification: Performance of Bindings: time 0.01058/0.03604, allocations: 12.37 MB / 463.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0009575/0.03701, allocations: 1.179 MB / 464.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01158/0.0486, allocations: 12.47 MB / 477.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simplify1: time 0.0005063/0.04914, allocations: 387.4 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Alias: time 0.009766/0.05891, allocations: 9.022 MB / 486.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplify2: time 0.0003638/0.0593, allocations: 343.5 kB / 486.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Events: time 0.003784/0.06309, allocations: 3.529 MB / 490.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of Detect States: time 0.004147/0.06725, allocations: 4.19 MB / 494.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004899/0.07216, allocations: 4.114 MB / 498.7 MB, free: 1.078 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_181 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_87)