Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Logical.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 110.1 kB / 18.47 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 215.9 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.553e-05, allocations: 2.281 kB / 481.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.005092/0.005136, allocations: 2.853 MB / 484.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.008748, allocations: 1.64 MB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.009272, allocations: 11.94 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.01035, allocations: 326.8 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009693/0.01133, allocations: 294.7 kB / 487 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.01265, allocations: 366.5 kB / 487.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01394, allocations: 0.7534 MB / 488.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.01451, allocations: 235.4 kB / 488.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/0.01534, allocations: 306.8 kB / 488.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.01599, allocations: 318.6 kB / 489 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.01621, allocations: 56 kB / 489 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.0166, allocations: 119.9 kB / 489.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0008804/0.01749, allocations: 0.9345 MB / 490.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.000586/0.01809, allocations: 0.5772 MB / 490.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.01835, allocations: 87.69 kB / 490.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001933/0.01855, allocations: 35.69 kB / 490.8 MB, free: 11.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 (103) * Number of variables: 103 (103) Notification: Performance of Bindings: time 0.002688/0.02125, allocations: 2.315 MB / 493.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002117/0.02147, allocations: 114.7 kB / 493.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001487/0.02297, allocations: 1.346 MB / 494.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001351/0.02311, allocations: 91.84 kB / 494.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of Alias: time 0.002831/0.02595, allocations: 2.144 MB / 496.8 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001473/0.02611, allocations: 67.88 kB / 496.9 MB, free: 4.816 MB / 366.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, not (not fallingEdge.not_u)}).