Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 107.8 kB / 18.46 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 210.2 kB / 19.41 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/2.886e-05, allocations: 2.281 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002827/0.002866, allocations: 1.714 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.003562, allocations: 291.1 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.003679, allocations: 4 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003794, allocations: 27.69 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.003869, allocations: 15.8 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.004222, allocations: 115.8 kB / 361.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.004508, allocations: 259.5 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.004807, allocations: 206.5 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.004951, allocations: 123.7 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.005118, allocations: 123.5 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.005176, allocations: 24 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.005249, allocations: 32 kB / 362.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002136/0.005472, allocations: 336.2 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001063/0.005588, allocations: 204.8 kB / 362.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.005647, allocations: 35.88 kB / 362.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.363e-05/0.005716, allocations: 39.8 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (64) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.000996/0.006717, allocations: 0.9799 MB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001291/0.006853, allocations: 78.42 kB / 363.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006298/0.00749, allocations: 0.6725 MB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simplify1: time 6.74e-05/0.007564, allocations: 47.94 kB / 364.6 MB, free: 7.582 MB / 302.1 MB Notification: Performance of Alias: time 0.001367/0.008937, allocations: 1.204 MB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simplify2: time 4.901e-05/0.008996, allocations: 39.95 kB / 365.8 MB, free: 6.211 MB / 302.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - transition1.t_dummy}).