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.145/2.145, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.212e-05, allocations: 4 kB / 309.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 54.84 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4482, allocations: 82.99 MB / 447.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.4484, allocations: 63.97 kB / 447.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.4655, allocations: 3.931 MB / 451.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.805e-06/0.4655, allocations: 0 / 451.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4655, allocations: 8 kB / 451.5 MB, free: 9.527 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.001234/0.4668, allocations: 0.557 MB / 452.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4668, allocations: 12.02 kB / 452.1 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.4669, allocations: 27.72 kB / 452.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.4673, allocations: 239.6 kB / 452.4 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.4674, allocations: 27.98 kB / 452.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.4674, allocations: 23.98 kB / 452.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.468, allocations: 209.8 kB / 452.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.468, allocations: 0 / 452.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.468, allocations: 12.77 kB / 452.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4681, allocations: 11.95 kB / 452.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.4684, allocations: 123.9 kB / 452.8 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.4698, allocations: 0.5587 MB / 453.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.4705, allocations: 303 kB / 453.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.4708, allocations: 120.8 kB / 453.7 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.4708, allocations: 7.984 kB / 453.7 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.4713, allocations: 239.4 kB / 454 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.85e-06/0.4714, allocations: 0.8438 kB / 454 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001023/0.4724, allocations: 437.1 kB / 454.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.4725, allocations: 75.34 kB / 454.5 MB, free: 6.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4728, allocations: 191 kB / 454.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.4728, allocations: 45.69 kB / 454.7 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.473, allocations: 183.4 kB / 454.9 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.4731, allocations: 102.8 kB / 455 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.4731, allocations: 16 kB / 455 MB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4733, allocations: 331.2 kB / 455.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.4736, allocations: 93.95 kB / 455.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.474, allocations: 277.4 kB / 455.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.4743, allocations: 143.9 kB / 455.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.4743, allocations: 8 kB / 455.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008899/0.4752, allocations: 405.3 kB / 456.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4753, allocations: 11.98 kB / 456.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4753, allocations: 8 kB / 456.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.4753, allocations: 8 kB / 456.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.4756, allocations: 63.84 kB / 456.3 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.4757, allocations: 12.97 kB / 456.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.476, allocations: 39.77 kB / 456.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.476, allocations: 32.19 kB / 456.4 MB, free: 4.344 MB / 378.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 () * 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.0002168/0.4762, allocations: 168.8 kB / 456.6 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.4763, allocations: 27.72 kB / 456.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.4764, allocations: 30.77 kB / 456.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4764, allocations: 4 kB / 456.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.401e-06/0.4764, allocations: 3.938 kB / 456.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4765, allocations: 0 / 456.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.4785, allocations: 0.9286 MB / 457.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4785, allocations: 0 / 457.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4786, allocations: 23.94 kB / 457.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-06/0.4786, allocations: 0 / 457.6 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.4787, allocations: 11.97 kB / 457.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.36e-06/0.4787, allocations: 7.938 kB / 457.6 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.305e-06/0.4787, allocations: 3.953 kB / 457.6 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4797, allocations: 0.5264 MB / 458.1 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.4798, allocations: 104.7 kB / 458.2 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.4799, allocations: 23.97 kB / 458.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.4803, allocations: 35.97 kB / 458.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.4804, allocations: 23.97 kB / 458.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.4804, allocations: 31.92 kB / 458.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.4806, allocations: 149.5 kB / 458.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4807, allocations: 0 / 458.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000604/0.4813, allocations: 75.98 kB / 458.6 MB, free: 2.082 MB / 378.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) * 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.0002076/0.4815, allocations: 131.2 kB / 458.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.4822, allocations: 321.6 kB / 459 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.82e-06/0.4823, allocations: 4.25 kB / 459 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.4826, allocations: 163.8 kB / 459.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.483, allocations: 35.77 kB / 459.2 MB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4843, allocations: 423.7 kB / 459.6 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.4848, allocations: 0.7725 MB / 460.4 MB, free: 192 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.4849, allocations: 23.44 kB / 460.4 MB, free: 172 kB / 378.7 MB Notification: Performance of SimCode: time 1.862e-06/0.4849, allocations: 3.938 kB / 460.4 MB, free: 168 kB / 378.7 MB Notification: Performance of Templates: time 0.006804/0.4917, allocations: 3.349 MB / 463.8 MB, free: 12.83 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