Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.OutputConflictBeneGreedy.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.DisTest.OutputConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.OutputConflictBeneGreedy") translateModel(PNlib.Examples.DisTest.OutputConflictBeneGreedy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.OutputConflictBeneGreedy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001147/0.001147, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.269/1.269, allocations: 222.9 MB / 241.1 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.07164/0.07164, allocations: 16.73 MB / 307.9 MB, free: 14.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.229e-05, allocations: 2.281 kB / 427 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.OutputConflictBeneGreedy): time 0.003221/0.003251, allocations: 3.8 MB / 430.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.007762, allocations: 3.412 MB / 434.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.008295, allocations: 23.88 kB / 434.2 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.008842, allocations: 329.3 kB / 434.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.009544, allocations: 341.2 kB / 434.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.01231, allocations: 1.751 MB / 436.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004784/0.01711, allocations: 4.821 MB / 441.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008618/0.01799, allocations: 0.7274 MB / 442.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.02011, allocations: 1.765 MB / 443.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.02163, allocations: 1.276 MB / 445.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.02206, allocations: 304 kB / 445.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.02349, allocations: 0.9716 MB / 446.4 MB, free: 6.938 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00209/0.02559, allocations: 3.41 MB / 449.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009774/0.02658, allocations: 1.928 MB / 451.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006733/0.02726, allocations: 491.4 kB / 452.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004321/0.0277, allocations: 226.6 kB / 452.5 MB, free: 0.832 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: 620 (464) * Number of variables: 620 (550) Notification: Performance of Bindings: time 0.01025/0.03796, allocations: 11.22 MB / 463.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004252/0.0384, allocations: 0.5041 MB / 464.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01146/0.04987, allocations: 11.89 MB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003976/0.0503, allocations: 307.5 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Alias: time 0.008716/0.05902, allocations: 7.987 MB / 484.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplify2: time 0.0003367/0.05939, allocations: 275.6 kB / 484.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Events: time 0.003439/0.06283, allocations: 3.286 MB / 487.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of Detect States: time 0.004106/0.06695, allocations: 4.386 MB / 492.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of Partitioning: time 0.004134/0.0711, allocations: 3.861 MB / 496.2 MB, free: 3.797 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: P3.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P3.color = if settings.animatePlace then if $SEV_160 then {255.0, 255.0 - 2.55 * P3.tokenscale, 255.0 - 2.55 * P3.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_47)