Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.096/2.096, allocations: 234.9 MB / 250.5 MB, free: 9.527 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 15.98 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.3951, allocations: 83.08 MB / 452.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3953, allocations: 63.81 kB / 452.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.412, allocations: 3.933 MB / 456.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.138e-06/0.4121, allocations: 224 / 456.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.4121, allocations: 11.94 kB / 456.4 MB, free: 3.473 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.001273/0.4134, allocations: 0.589 MB / 456.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4134, allocations: 8.031 kB / 457 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.4135, allocations: 39.61 kB / 457 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.4139, allocations: 235.7 kB / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.414, allocations: 12 kB / 457.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.414, allocations: 27.98 kB / 457.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.4146, allocations: 233.3 kB / 457.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4146, allocations: 0 / 457.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.4147, allocations: 8 kB / 457.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4147, allocations: 7.953 kB / 457.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.4151, allocations: 139.9 kB / 457.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4165, allocations: 0.5548 MB / 458.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007479/0.4172, allocations: 312.9 kB / 458.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.4173, allocations: 15.98 kB / 458.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.4179, allocations: 247.4 kB / 458.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 5.659e-06/0.4179, allocations: 0 / 458.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001454/0.4194, allocations: 0.5723 MB / 459.3 MB, free: 324 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.4194, allocations: 71.39 kB / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4197, allocations: 186.9 kB / 459.6 MB, free: 44 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.4198, allocations: 45.73 kB / 459.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4199, allocations: 183.4 kB / 459.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.4201, allocations: 110.7 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.4201, allocations: 8 kB / 459.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4203, allocations: 326.8 kB / 460.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.4206, allocations: 109.1 kB / 460.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4211, allocations: 285.4 kB / 460.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.4214, allocations: 155.9 kB / 460.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.369e-06/0.4215, allocations: 4 kB / 460.8 MB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000978/0.4224, allocations: 437.5 kB / 461.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4225, allocations: 8 kB / 461.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4225, allocations: 4 kB / 461.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.4225, allocations: 12 kB / 461.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.4228, allocations: 63.78 kB / 461.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.4229, allocations: 11.98 kB / 461.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.4231, allocations: 35.84 kB / 461.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.4232, allocations: 20 kB / 461.4 MB, free: 14.16 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.0003056/0.4235, allocations: 205.5 kB / 461.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.4236, allocations: 39.61 kB / 461.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.4237, allocations: 23 kB / 461.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-06/0.4237, allocations: 7.938 kB / 461.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.4237, allocations: 4 kB / 461.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.161e-06/0.4237, allocations: 3.984 kB / 461.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4258, allocations: 0.9479 MB / 462.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.725e-06/0.4258, allocations: 4 kB / 462.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-05/0.4259, allocations: 15.92 kB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.628e-06/0.426, allocations: 4 kB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.426, allocations: 11.98 kB / 462.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-06/0.426, allocations: 0 / 462.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.426, allocations: 0 / 462.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4272, allocations: 0.5536 MB / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.4273, allocations: 100.7 kB / 463.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.4274, allocations: 23.97 kB / 463.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.4277, allocations: 31.97 kB / 463.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.4278, allocations: 27.97 kB / 463.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.4279, allocations: 15.98 kB / 463.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.4281, allocations: 161.4 kB / 463.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4281, allocations: 0 / 463.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.4287, allocations: 75.92 kB / 463.6 MB, free: 11.81 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.0001939/0.4289, allocations: 131.1 kB / 463.7 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008071/0.4297, allocations: 340.2 kB / 464.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4297, allocations: 4 kB / 464.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.4301, allocations: 161.4 kB / 464.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4305, allocations: 43.83 kB / 464.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.432, allocations: 0.5913 MB / 464.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.4325, allocations: 0.7725 MB / 465.6 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.4326, allocations: 27.38 kB / 465.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of SimCode: time 1.575e-06/0.4326, allocations: 0 / 465.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of Templates: time 0.006783/0.4394, allocations: 3.356 MB / 469 MB, free: 6.344 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