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.001475/0.001474, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001094/0.001093, allocations: 92.41 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4982/0.4982, allocations: 43.54 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007221/0.0007222, allocations: 12 kB / 431.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1329, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6153, allocations: 88.01 MB / 0.5647 GB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.6156, allocations: 59.97 kB / 0.5647 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01905/0.6346, allocations: 3.963 MB / 0.5686 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6347, allocations: 0 / 0.5686 GB, free: 10.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.6347, allocations: 4 kB / 0.5686 GB, free: 10.73 MB / 394.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.001617/0.6363, allocations: 0.6001 MB / 0.5692 GB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6364, allocations: 8.031 kB / 0.5692 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.6365, allocations: 42.98 kB / 0.5692 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.6369, allocations: 235.7 kB / 0.5695 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6369, allocations: 12 kB / 0.5695 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.668e-05/0.637, allocations: 27.98 kB / 0.5695 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.6377, allocations: 229.4 kB / 0.5697 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6377, allocations: 0 / 0.5697 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.6377, allocations: 8 kB / 0.5697 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.6378, allocations: 5.031 kB / 0.5697 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.6383, allocations: 143.9 kB / 0.5699 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.6397, allocations: 0.5602 MB / 0.5704 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.6406, allocations: 314.8 kB / 0.5707 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.6406, allocations: 11.94 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/0.6412, allocations: 248.2 kB / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.436e-06/0.6413, allocations: 4 kB / 0.571 GB, free: 8.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.001638/0.6429, allocations: 0.5674 MB / 0.5715 GB, free: 7.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.643, allocations: 71.39 kB / 0.5716 GB, free: 7.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6433, allocations: 186.9 kB / 0.5718 GB, free: 7.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.6434, allocations: 49.69 kB / 0.5718 GB, free: 7.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6435, allocations: 179.4 kB / 0.572 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.6436, allocations: 110.8 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.6437, allocations: 12 kB / 0.5721 GB, free: 6.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6438, allocations: 334.8 kB / 0.5724 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.6442, allocations: 101.1 kB / 0.5725 GB, free: 6.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.6446, allocations: 286.4 kB / 0.5728 GB, free: 6.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.6451, allocations: 152.3 kB / 0.5729 GB, free: 6.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6451, allocations: 4 kB / 0.5729 GB, free: 6.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001064/0.6462, allocations: 431.9 kB / 0.5734 GB, free: 5.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6462, allocations: 11.95 kB / 0.5734 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6462, allocations: 8 kB / 0.5734 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.6463, allocations: 8 kB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.6466, allocations: 63.84 kB / 0.5734 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.6467, allocations: 15.92 kB / 0.5735 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.647, allocations: 36.16 kB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.647, allocations: 27.98 kB / 0.5735 GB, free: 5.41 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.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 () * 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.0003181/0.6474, allocations: 205.6 kB / 0.5737 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.6475, allocations: 31.61 kB / 0.5737 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.6476, allocations: 30.95 kB / 0.5738 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6476, allocations: 4 kB / 0.5738 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6476, allocations: 4 kB / 0.5738 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6476, allocations: 3.984 kB / 0.5738 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.6499, allocations: 0.9416 MB / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6499, allocations: 0 / 0.5747 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.6501, allocations: 15.98 kB / 0.5747 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.6501, allocations: 4 kB / 0.5747 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.6502, allocations: 11.98 kB / 0.5747 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6502, allocations: 4 kB / 0.5747 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6502, allocations: 0 / 0.5747 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.6514, allocations: 0.5617 MB / 0.5753 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.6515, allocations: 104.7 kB / 0.5754 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.6516, allocations: 23.97 kB / 0.5754 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.652, allocations: 39.95 kB / 0.5754 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.6522, allocations: 23.97 kB / 0.5755 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.6522, allocations: 23.97 kB / 0.5755 GB, free: 3.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.6524, allocations: 140.2 kB / 0.5756 GB, free: 3.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6525, allocations: 4 kB / 0.5756 GB, free: 3.148 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.653, allocations: 71.98 kB / 0.5757 GB, free: 3.078 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.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) * 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.0002075/0.6533, allocations: 123.2 kB / 0.5758 GB, free: 2.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009097/0.6542, allocations: 340.9 kB / 0.5761 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6542, allocations: 4 kB / 0.5761 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.6547, allocations: 176.3 kB / 0.5763 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.6551, allocations: 41.03 kB / 0.5764 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.6568, allocations: 0.5903 MB / 0.5769 GB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.6572, allocations: 0.7725 MB / 0.5777 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6574, allocations: 23.44 kB / 0.5777 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6574, allocations: 0 / 0.5777 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of Templates: time 0.008199/0.6656, allocations: 3.353 MB / 0.581 GB, free: 13.63 MB / 410.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