Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 115.3 kB / 17.1 MB, free: 5.977 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.001363/0.001363, allocations: 193.5 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.765e-05, allocations: 2.281 kB / 442.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.002916/0.002953, allocations: 1.927 MB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.00421, allocations: 0.6903 MB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.004413, allocations: 7.938 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.004672, allocations: 39.7 kB / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.004853, allocations: 71.48 kB / 445.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.005357, allocations: 99.8 kB / 445.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.005778, allocations: 315.1 kB / 445.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.006014, allocations: 64.3 kB / 445.6 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.0063, allocations: 123.5 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.00656, allocations: 135.4 kB / 445.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.00662, allocations: 20 kB / 445.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.006676, allocations: 20 kB / 445.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002555/0.006938, allocations: 383.7 kB / 446.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001283/0.007073, allocations: 236.6 kB / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.007169, allocations: 35.81 kB / 446.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.448e-05/0.00724, allocations: 15.94 kB / 446.6 MB, free: 1.562 MB / 318.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.001059/0.008304, allocations: 1.111 MB / 447.7 MB, free: 356 kB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001101/0.008421, allocations: 31.92 kB / 447.7 MB, free: 324 kB / 318.1 MB Notification: Performance of Early Inline: time 0.0005857/0.009015, allocations: 0.5841 MB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simplify1: time 6.326e-05/0.009087, allocations: 35.86 kB / 448.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Alias: time 0.001049/0.01014, allocations: 0.6022 MB / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simplify2: time 5.454e-05/0.01021, allocations: 27.95 kB / 449 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Events: time 0.0002362/0.01045, allocations: 146.3 kB / 449.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006146/0.01108, allocations: 409.4 kB / 449.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004186/0.0115, allocations: 245.1 kB / 449.7 MB, free: 14.18 MB / 334.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;