Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2.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_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 115.2 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 213 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.443e-05, allocations: 8.609 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002969/0.003002, allocations: 1.684 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.003789, allocations: 291.1 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.003929, allocations: 4 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.004073, allocations: 23.69 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.004145, allocations: 19.78 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.004554, allocations: 119.8 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.00496, allocations: 263.5 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004322/0.005401, allocations: 202.9 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005561, allocations: 127.7 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.005742, allocations: 127.5 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.005879, allocations: 24 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.005962, allocations: 35.98 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002194/0.006188, allocations: 336.2 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001145/0.006309, allocations: 197 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.006383, allocations: 39.88 kB / 362.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.736e-05/0.006457, allocations: 39.73 kB / 362.8 MB, free: 9.477 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.001094/0.007556, allocations: 0.9913 MB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002165/0.007779, allocations: 90.42 kB / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008419/0.008627, allocations: 0.6763 MB / 364.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simplify1: time 7.826e-05/0.008713, allocations: 47.94 kB / 364.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of Alias: time 0.001972/0.01069, allocations: 1.201 MB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simplify2: time 6.439e-05/0.01077, allocations: 35.94 kB / 365.8 MB, free: 6.164 MB / 302.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - transition1.t_dummy}).