Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete") translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.3 kB / 18.46 MB, free: 4.594 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.001501/0.001501, allocations: 179.8 kB / 19.39 MB, free: 3.672 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/2.937e-05, allocations: 2.281 kB / 471.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.003514/0.003553, allocations: 1.934 MB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.005031, allocations: 0.6467 MB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.005231, allocations: 0 / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.00552, allocations: 47.64 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.005733, allocations: 71.53 kB / 473.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.006272, allocations: 103.8 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.006733, allocations: 307.1 kB / 474.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.006945, allocations: 56.31 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.007223, allocations: 131.5 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.007478, allocations: 131.5 kB / 474.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.007557, allocations: 20 kB / 474.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.085e-05/0.007615, allocations: 27.94 kB / 474.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003466/0.007967, allocations: 383.7 kB / 475 MB, free: 9.379 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001782/0.008154, allocations: 232.6 kB / 475.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.008253, allocations: 39.88 kB / 475.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.777e-05/0.008338, allocations: 15.81 kB / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (42) * Number of variables: 44 (42) Notification: Performance of Bindings: time 0.001244/0.009587, allocations: 1.107 MB / 476.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of FunctionAlias: time 8.673e-05/0.009681, allocations: 31.92 kB / 476.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005964/0.01028, allocations: 0.5762 MB / 477 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplify1: time 5.657e-05/0.01035, allocations: 39.94 kB / 477 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Alias: time 0.0008685/0.01122, allocations: 0.606 MB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simplify2: time 3.827e-05/0.01127, allocations: 19.97 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Detect States: time 0.000468/0.01175, allocations: 389.9 kB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of Events: time 0.000219/0.01198, allocations: 135.8 kB / 478.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003112/0.0123, allocations: 257 kB / 478.4 MB, free: 5.746 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {transferFunction.xext[1], transferFunction.xext[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: transferFunction.xext. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [WHEN] (1)when transferFunction.sampleTrigger then [----] transferFunction.y := {0.0, transferFunction.b[1]} * transferFunction.xext [----] end when;