Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.426e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.604, allocations: 87.92 MB / 0.5586 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.6043, allocations: 61.91 kB / 0.5587 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.624, allocations: 3.946 MB / 0.5626 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6241, allocations: 3.938 kB / 0.5626 GB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.6241, allocations: 4 kB / 0.5626 GB, free: 12.27 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.001585/0.6257, allocations: 0.5641 MB / 0.5631 GB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6258, allocations: 8.031 kB / 0.5631 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.6259, allocations: 31.84 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.6263, allocations: 247.1 kB / 0.5634 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.6263, allocations: 19.86 kB / 0.5634 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.6264, allocations: 22.88 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.627, allocations: 218.7 kB / 0.5636 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6271, allocations: 0 / 0.5636 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.6271, allocations: 14.11 kB / 0.5636 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.6272, allocations: 8 kB / 0.5637 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.6276, allocations: 118.3 kB / 0.5638 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.6292, allocations: 0.5637 MB / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.63, allocations: 306.4 kB / 0.5646 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.6303, allocations: 126.6 kB / 0.5647 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.6304, allocations: 4 kB / 0.5647 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/0.631, allocations: 235.3 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 4.208e-06/0.631, allocations: 0 / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001241/0.6323, allocations: 446.5 kB / 0.5654 GB, free: 9.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.6324, allocations: 78.44 kB / 0.5655 GB, free: 9.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.6327, allocations: 187.2 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.6327, allocations: 42.64 kB / 0.5657 GB, free: 9.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.6329, allocations: 187.9 kB / 0.5659 GB, free: 9.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.633, allocations: 97.59 kB / 0.566 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.633, allocations: 11.81 kB / 0.566 GB, free: 9.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6332, allocations: 333.3 kB / 0.5663 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.6335, allocations: 91.81 kB / 0.5664 GB, free: 8.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.6339, allocations: 281 kB / 0.5666 GB, free: 8.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.6343, allocations: 137.4 kB / 0.5668 GB, free: 8.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.6343, allocations: 4 kB / 0.5668 GB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00101/0.6354, allocations: 420.1 kB / 0.5672 GB, free: 7.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.6354, allocations: 8 kB / 0.5672 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.6354, allocations: 12.72 kB / 0.5672 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.6355, allocations: 8 kB / 0.5672 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.6359, allocations: 67.66 kB / 0.5673 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.636, allocations: 11.94 kB / 0.5673 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.6363, allocations: 40.7 kB / 0.5673 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.6364, allocations: 23.31 kB / 0.5673 GB, free: 7.84 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.pulseStart,booleanPulse.pulseStart,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.0002607/0.6366, allocations: 172.5 kB / 0.5675 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.6367, allocations: 43.56 kB / 0.5675 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.323e-05/0.6368, allocations: 28.84 kB / 0.5676 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6369, allocations: 4 kB / 0.5676 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.6369, allocations: 0 / 0.5676 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.6369, allocations: 3.984 kB / 0.5676 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.6393, allocations: 0.9216 MB / 0.5685 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6393, allocations: 0 / 0.5685 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.6395, allocations: 15.98 kB / 0.5685 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.6395, allocations: 3.984 kB / 0.5685 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.6396, allocations: 15.42 kB / 0.5685 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.6396, allocations: 4 kB / 0.5685 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6396, allocations: 4 kB / 0.5685 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.6408, allocations: 0.5392 MB / 0.569 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.641, allocations: 100.7 kB / 0.5691 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.6411, allocations: 19.48 kB / 0.5692 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.6415, allocations: 35.41 kB / 0.5692 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.6416, allocations: 31.14 kB / 0.5692 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.6417, allocations: 15.98 kB / 0.5692 GB, free: 6.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.6419, allocations: 150.7 kB / 0.5694 GB, free: 5.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6419, allocations: 0 / 0.5694 GB, free: 5.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005791/0.6425, allocations: 74.98 kB / 0.5695 GB, free: 5.895 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.pulseStart,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.0002212/0.6427, allocations: 125.9 kB / 0.5696 GB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.6436, allocations: 313.7 kB / 0.5699 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6437, allocations: 0 / 0.5699 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.6441, allocations: 163.6 kB / 0.57 GB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.6446, allocations: 49.27 kB / 0.5701 GB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.6463, allocations: 427.8 kB / 0.5705 GB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.6468, allocations: 0.7647 MB / 0.5712 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6469, allocations: 34.92 kB / 0.5713 GB, free: 4.152 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6469, allocations: 0 / 0.5713 GB, free: 4.152 MB / 378.7 MB Notification: Performance of Templates: time 0.00885/0.6558, allocations: 3.355 MB / 0.5745 GB, free: 0.8281 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Discrete/Discrete.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.3_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