Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TESTest.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.TESTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TESTest") translateModel(PNlib.Examples.ExtTest.TESTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T1.putFireTime|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TESTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 107.7 kB / 16.42 MB, free: 5.992 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.00121/0.001209, allocations: 188.2 kB / 17.36 MB, free: 5.57 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07605/0.07605, allocations: 16.73 MB / 307.9 MB, free: 14.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.068e-05, allocations: 2.281 kB / 426.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TESTest): time 0.004237/0.004278, allocations: 2.914 MB / 429.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007719/0.01201, allocations: 4.487 MB / 434.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.01349, allocations: 15.94 kB / 434.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.01471, allocations: 242.1 kB / 434.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01595, allocations: 294 kB / 434.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.02035, allocations: 1.676 MB / 436.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005189/0.02555, allocations: 3.35 MB / 439.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009096/0.02648, allocations: 445.8 kB / 440.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.0291, allocations: 1.227 MB / 441.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.03124, allocations: 0.8986 MB / 442.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009562/0.03221, allocations: 212 kB / 442.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.03465, allocations: 0.9403 MB / 443.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003094/0.03776, allocations: 2.405 MB / 446 MB, free: 7.312 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001321/0.0391, allocations: 1.355 MB / 447.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.04029, allocations: 347.2 kB / 447.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006842/0.04099, allocations: 151 kB / 447.9 MB, free: 5.449 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: 403 (304) * Number of variables: 403 (373) Notification: Performance of Bindings: time 0.0146/0.05561, allocations: 7.851 MB / 455.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0009295/0.05655, allocations: 0.5068 MB / 456.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01567/0.07224, allocations: 8.351 MB / 464.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simplify1: time 0.0006644/0.07297, allocations: 219.6 kB / 464.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Alias: time 0.0111/0.0841, allocations: 5.495 MB / 470.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplify2: time 0.0006589/0.08484, allocations: 195.7 kB / 470.5 MB, free: 14.16 MB / 350.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).