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.315/2.315, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004476, allocations: 16 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.002564/0.2805, allocations: 1.548 MB / 370.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.282, allocations: 0.6443 MB / 371.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2821, allocations: 7.938 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.2823, allocations: 35.81 kB / 371.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2825, allocations: 59.83 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2829, allocations: 87.77 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2832, allocations: 179.6 kB / 371.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2834, allocations: 48.36 kB / 371.8 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.2836, allocations: 103.6 kB / 371.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.2839, allocations: 147.4 kB / 372 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.2839, allocations: 12 kB / 372 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.284, allocations: 8 kB / 372.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2841, allocations: 71.78 kB / 372.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.2842, allocations: 77.5 kB / 372.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2845, allocations: 164.3 kB / 372.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.051e-06/0.2845, allocations: 0 / 372.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.578e-06/0.2845, allocations: 0 / 372.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.518e-06/0.2846, allocations: 0 / 372.4 MB, free: 7.492 MB / 298.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.001417/0.286, allocations: 0.6052 MB / 373 MB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.286, allocations: 8.031 kB / 373 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.2861, allocations: 27.72 kB / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.2865, allocations: 255.5 kB / 373.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.2866, allocations: 12 kB / 373.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.2866, allocations: 27.98 kB / 373.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.2872, allocations: 221.5 kB / 373.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2873, allocations: 0 / 373.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.2873, allocations: 7.984 kB / 373.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2873, allocations: 7.953 kB / 373.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.2878, allocations: 143.8 kB / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2891, allocations: 0.5587 MB / 374.2 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.2899, allocations: 318.9 kB / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.2899, allocations: 8 kB / 374.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.2905, allocations: 251.4 kB / 374.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 4.19e-06/0.2905, allocations: 0 / 374.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001442/0.292, allocations: 0.5645 MB / 375.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.2921, allocations: 79.38 kB / 375.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2924, allocations: 207.7 kB / 375.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.2925, allocations: 53.69 kB / 375.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2926, allocations: 179.5 kB / 375.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2928, allocations: 106.7 kB / 376 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.2928, allocations: 8 kB / 376 MB, free: 3.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.293, allocations: 334.8 kB / 376.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.2933, allocations: 101.1 kB / 376.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.2938, allocations: 293.4 kB / 376.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.2942, allocations: 143.9 kB / 376.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2942, allocations: 0 / 376.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001004/0.2952, allocations: 440.9 kB / 377.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2952, allocations: 8 kB / 377.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.2953, allocations: 8 kB / 377.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2953, allocations: 8 kB / 377.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2956, allocations: 64.41 kB / 377.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.2956, allocations: 15.94 kB / 377.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.2959, allocations: 35.83 kB / 377.4 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.296, allocations: 24 kB / 377.4 MB, free: 2.141 MB / 298.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.0003183/0.2963, allocations: 209.5 kB / 377.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.2964, allocations: 27.62 kB / 377.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.668e-05/0.2965, allocations: 34.98 kB / 377.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-06/0.2965, allocations: 4 kB / 377.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2965, allocations: 0 / 377.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-06/0.2965, allocations: 0 / 377.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.2986, allocations: 0.9591 MB / 378.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-06/0.2987, allocations: 0 / 378.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2988, allocations: 15.98 kB / 378.7 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.386e-06/0.2988, allocations: 4 kB / 378.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.2988, allocations: 11.98 kB / 378.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.226e-06/0.2989, allocations: 0 / 378.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.566e-06/0.2989, allocations: 3.953 kB / 378.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3, allocations: 0.5536 MB / 379.2 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.3001, allocations: 104.8 kB / 379.3 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.3002, allocations: 19.98 kB / 379.3 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.3005, allocations: 35.97 kB / 379.4 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.3006, allocations: 27.95 kB / 379.4 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.3007, allocations: 23.94 kB / 379.4 MB, free: 16 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3009, allocations: 153.6 kB / 379.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.301, allocations: 0 / 379.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.3016, allocations: 71.91 kB / 379.7 MB, free: 15.79 MB / 314.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.0002254/0.3018, allocations: 140 kB / 379.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.3027, allocations: 337.6 kB / 380.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.857e-06/0.3028, allocations: 4.125 kB / 380.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.3032, allocations: 167.8 kB / 380.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3036, allocations: 27.98 kB / 380.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3051, allocations: 0.6033 MB / 380.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3057, allocations: 0.7686 MB / 381.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3058, allocations: 27.42 kB / 381.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.87e-06/0.3058, allocations: 0 / 381.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Templates: time 0.007335/0.3131, allocations: 3.363 MB / 385.1 MB, free: 10.32 MB / 314.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