Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Blocks.Discrete") Notification: Performance of loadModel(ModelicaTest): time 2.276/2.276, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004302, allocations: 8 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 54.86 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.4819, allocations: 83.07 MB / 452.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4822, allocations: 75.91 kB / 452.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.5006, allocations: 3.929 MB / 456.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5006, allocations: 0 / 456.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.5007, allocations: 12.09 kB / 456.9 MB, free: 3.531 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001586/0.5023, allocations: 0.589 MB / 457.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5023, allocations: 8.031 kB / 457.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.5024, allocations: 35.61 kB / 457.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.5028, allocations: 239.7 kB / 457.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.5028, allocations: 20 kB / 457.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.5029, allocations: 19.98 kB / 457.8 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.5036, allocations: 233.4 kB / 458 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5036, allocations: 3.938 kB / 458 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.5037, allocations: 8 kB / 458 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.5037, allocations: 7.953 kB / 458 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.5042, allocations: 139.8 kB / 458.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.5056, allocations: 0.5587 MB / 458.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.5064, allocations: 317 kB / 459 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.5065, allocations: 7.984 kB / 459 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.5071, allocations: 247.4 kB / 459.3 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/0.5071, allocations: 0 / 459.3 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001625/0.5088, allocations: 0.5684 MB / 459.9 MB, free: 384 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.5088, allocations: 75.38 kB / 459.9 MB, free: 296 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.5091, allocations: 211.7 kB / 460.1 MB, free: 72 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.5092, allocations: 49.69 kB / 460.2 MB, free: 16 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5093, allocations: 183.4 kB / 460.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5095, allocations: 106.8 kB / 460.5 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.5095, allocations: 12 kB / 460.5 MB, free: 15.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5097, allocations: 330.8 kB / 460.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.51, allocations: 101.1 kB / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.5105, allocations: 293.4 kB / 461.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.5109, allocations: 147.9 kB / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.5109, allocations: 4 kB / 461.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001048/0.512, allocations: 432.8 kB / 461.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.512, allocations: 8 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.512, allocations: 4 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.5121, allocations: 12.66 kB / 461.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.5124, allocations: 63.84 kB / 461.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/0.5125, allocations: 15.92 kB / 461.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.5128, allocations: 35.84 kB / 461.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.5128, allocations: 20.05 kB / 461.9 MB, free: 14.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.triggeredMax.y,triggeredMax.y,$PRE.triggeredSampler.y,triggeredSampler.y,$PRE.stateSpace.firstTrigger,stateSpace.firstTrigger,$PRE.stateSpace.x[1],stateSpace.x[1],$PRE.stateSpace.x[2],stateSpace.x[2],$PRE.stateSpace.y[1],stateSpace.y[1],$PRE.transferFunction.firstTrigger,transferFunction.firstTrigger,$PRE.transferFunction.x1,transferFunction.x1,$PRE.transferFunction.xext[1],transferFunction.xext[1],$PRE.transferFunction.xext[2],transferFunction.xext[2],$PRE.transferFunction.x[1],transferFunction.x[1],$PRE.transferFunction.y,transferFunction.y,$PRE.unitDelay.firstTrigger,unitDelay.firstTrigger,$PRE.unitDelay.y,unitDelay.y,$PRE.firstOrderHold.firstTrigger,firstOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition8,$whenCondition1,sampler.sampleTrigger,$PRE.zeroOrderHold.ySample,$whenCondition2,zeroOrderHold.sampleTrigger,$whenCondition3,firstOrderHold.sampleTrigger,$whenCondition4,unitDelay.sampleTrigger,$whenCondition5,transferFunction.sampleTrigger,$whenCondition6,stateSpace.sampleTrigger,$whenCondition7,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,sampler.y,zeroOrderHold.ySample,$PRE.firstOrderHold.tSample,firstOrderHold.tSample,$PRE.firstOrderHold.uSample,firstOrderHold.uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.pre_uSample,$PRE.firstOrderHold.c,firstOrderHold.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003273/0.5132, allocations: 201.6 kB / 462.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.5133, allocations: 35.61 kB / 462.1 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.5133, allocations: 27 kB / 462.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.5134, allocations: 4 kB / 462.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5134, allocations: 11.88 kB / 462.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5134, allocations: 3.984 kB / 462.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.5157, allocations: 0.9439 MB / 463.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5157, allocations: 0 / 463.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.5158, allocations: 15.98 kB / 463.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.5159, allocations: 4 kB / 463.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.5159, allocations: 11.98 kB / 463.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5159, allocations: 0 / 463.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5159, allocations: 7.953 kB / 463.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.5172, allocations: 0.5497 MB / 463.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.5173, allocations: 100.7 kB / 463.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5174, allocations: 23.97 kB / 463.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.5178, allocations: 35.97 kB / 463.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.5179, allocations: 31.97 kB / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.518, allocations: 19.92 kB / 463.9 MB, free: 12.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.5182, allocations: 149.5 kB / 464.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5182, allocations: 0 / 464.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.5187, allocations: 75.92 kB / 464.2 MB, free: 11.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (booleanPulse.y,stateSpace.sampleTrigger,transferFunction.sampleTrigger,unitDelay.sampleTrigger,firstOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,sampler.sampleTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,zeroOrderHold.firstTrigger,zeroOrderHold.ySample,firstOrderHold.firstTrigger,firstOrderHold.tSample,firstOrderHold.uSample,firstOrderHold.pre_uSample,firstOrderHold.c,unitDelay.firstTrigger,unitDelay.y,transferFunction.firstTrigger,transferFunction.y,transferFunction.x[1],transferFunction.x1,transferFunction.xext[1],transferFunction.xext[2],stateSpace.firstTrigger,stateSpace.y[1],stateSpace.x[1],stateSpace.x[2],triggeredSampler.y,booleanPulse.pulsStart,triggeredMax.y) * Number of discrete states: 8 (zeroOrderHold.ySample,triggeredMax.y,stateSpace.x[1],stateSpace.x[2],transferFunction.x[1],unitDelay.u,firstOrderHold.uSample,firstOrderHold.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/0.519, allocations: 131.2 kB / 464.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009007/0.5199, allocations: 333.8 kB / 464.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5199, allocations: 8.062 kB / 464.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.5204, allocations: 171.8 kB / 464.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.5208, allocations: 35.83 kB / 464.8 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.5225, allocations: 0.5955 MB / 465.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5229, allocations: 0.7686 MB / 466.2 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.523, allocations: 27.44 kB / 466.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.523, allocations: 3.938 kB / 466.2 MB, free: 9.719 MB / 394.7 MB Notification: Performance of Templates: time 0.007909/0.5309, allocations: 3.36 MB / 469.6 MB, free: 6.371 MB / 394.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.na in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.na from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.nb in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.nb from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! " Variables in the reference: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 Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,samplePeriod,sampler.samplePeriod,sampler.startTime,sampler.u,sampler.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,stateSpace.A[1,1],stateSpace.A[1,2],stateSpace.A[2,1],stateSpace.A[2,2],stateSpace.B[1,1],stateSpace.B[2,1],stateSpace.C[1,1],stateSpace.C[1,2],stateSpace.D[1,1],stateSpace.nin,stateSpace.nout,stateSpace.samplePeriod,stateSpace.startTime,stateSpace.u[1],stateSpace.x[1],stateSpace.x[2],stateSpace.y[1],time,transferFunction.a[1],transferFunction.a[2],transferFunction.b[1],transferFunction.samplePeriod,transferFunction.startTime,transferFunction.u,transferFunction.x[1],transferFunction.y,triggeredMax.trigger,triggeredMax.u,triggeredMax.y,triggeredSampler.trigger,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,unitDelay.samplePeriod,unitDelay.startTime,unitDelay.u,unitDelay.y,unitDelay.y_start,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample