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.001205/0.001205, allocations: 108 kB / 18.46 MB, free: 4.461 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.001161/0.001162, allocations: 194.5 kB / 19.39 MB, free: 3.539 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.365/1.365, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2221/0.2221, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.063e-05, allocations: 5.094 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.004721/0.00477, allocations: 1.926 MB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.006431, allocations: 0.6428 MB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.006557, allocations: 7.938 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.006864, allocations: 43.7 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.00707, allocations: 67.47 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.007605, allocations: 107.7 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.008057, allocations: 307.1 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.008288, allocations: 56.31 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.008516, allocations: 127.5 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.0088, allocations: 131.5 kB / 474.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.008876, allocations: 20 kB / 474.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.339e-05/0.008942, allocations: 20 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004129/0.009365, allocations: 383.7 kB / 475 MB, free: 9.363 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001964/0.009574, allocations: 240.5 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.009674, allocations: 39.86 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.985e-05/0.009748, allocations: 15.88 kB / 475.3 MB, free: 9.07 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.001645/0.01141, allocations: 1.115 MB / 476.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001033/0.01152, allocations: 23.92 kB / 476.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0008942/0.01243, allocations: 0.584 MB / 477 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplify1: time 6.428e-05/0.01251, allocations: 31.95 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Alias: time 0.001202/0.01373, allocations: 0.6021 MB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simplify2: time 4.877e-05/0.01379, allocations: 31.94 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Events: time 0.0002899/0.0141, allocations: 134.4 kB / 477.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Detect States: time 0.0006823/0.0148, allocations: 421.2 kB / 478.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004515/0.01526, allocations: 245.1 kB / 478.4 MB, free: 5.695 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;