Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PrioTest.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.PrioTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PrioTest") translateModel(PNlib.Examples.DisTest.PrioTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|T1.active|T1.fire|T2.active|T2.fire|T3.active|T3.fire|T4.active|T4.fire|T5.active|T5.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PrioTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 111 kB / 16.42 MB, free: 6.527 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.001489/0.001489, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07271/0.07271, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/1.965e-05, allocations: 2.281 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PrioTest): time 0.004658/0.004686, allocations: 5.719 MB / 432.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00784/0.01255, allocations: 4.92 MB / 437.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.01498, allocations: 31.78 kB / 437.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.01641, allocations: 0.5386 MB / 438.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.0183, allocations: 0.6712 MB / 438.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.02463, allocations: 2.586 MB / 441.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.03739, allocations: 8.023 MB / 449.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.03986, allocations: 1.32 MB / 450.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.04619, allocations: 2.969 MB / 453.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.05034, allocations: 2.093 MB / 455.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00281/0.05318, allocations: 488 kB / 456.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.05665, allocations: 1.159 MB / 457.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.005721/0.06239, allocations: 5.586 MB / 463.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002617/0.06505, allocations: 3.187 MB / 466.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.06705, allocations: 0.7487 MB / 467 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0007728/0.06784, allocations: 385.5 kB / 467.4 MB, free: 1.832 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1090 (790) * Number of variables: 1090 (920) Notification: Performance of Bindings: time 0.02041/0.08826, allocations: 18.48 MB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001157/0.08943, allocations: 0.8362 MB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of Early Inline: time 0.02479/0.1142, allocations: 19.16 MB / 0.494 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simplify1: time 0.001067/0.1153, allocations: 0.5343 MB / 0.4945 GB, free: 10.34 MB / 382.1 MB Notification: Performance of Alias: time 0.252/0.3674, allocations: 13.07 MB / 0.5073 GB, free: 55.27 MB / 382.1 MB Notification: Performance of simplify2: time 0.001259/0.3687, allocations: 480.3 kB / 0.5077 GB, free: 55.27 MB / 382.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).