Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Discrete,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Discrete,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Discrete",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009393/0.0009394, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 243.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007346/0.0007346, allocations: 92.53 kB / 295.4 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2833/0.2833, allocations: 44.81 MB / 392.3 MB, free: 35.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002374, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2752, allocations: 62.95 MB / 0.516 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.001631/0.2769, allocations: 1.596 MB / 0.5175 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.2778, allocations: 0.6493 MB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.214e-05/0.2779, allocations: 10.94 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.2781, allocations: 30.2 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.2781, allocations: 55.75 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2784, allocations: 80.52 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2786, allocations: 249 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2787, allocations: 56.3 kB / 0.5186 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2789, allocations: 108.3 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.2791, allocations: 145.3 kB / 0.5188 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.2791, allocations: 11.72 kB / 0.5189 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.2792, allocations: 19.36 kB / 0.5189 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.2793, allocations: 70.91 kB / 0.5189 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.2794, allocations: 140.3 kB / 0.5191 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2795, allocations: 170.6 kB / 0.5192 GB, free: 35.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2796, allocations: 0 / 0.5192 GB, free: 35.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2796, allocations: 3.938 kB / 0.5192 GB, free: 35.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2796, allocations: 0 / 0.5192 GB, free: 35.2 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.0009902/0.2806, allocations: 0.6005 MB / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2806, allocations: 7.312 kB / 0.5198 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.2807, allocations: 52.73 kB / 0.5199 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.2808, allocations: 43.38 kB / 0.5199 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2811, allocations: 254.3 kB / 0.5202 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2811, allocations: 26.34 kB / 0.5202 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.2811, allocations: 26.31 kB / 0.5202 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.2815, allocations: 230 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2815, allocations: 0 / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.2815, allocations: 10.58 kB / 0.5205 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2816, allocations: 5.812 kB / 0.5205 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.2818, allocations: 134.8 kB / 0.5206 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.2826, allocations: 0.5663 MB / 0.5211 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.283, allocations: 311.8 kB / 0.5214 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2832, allocations: 129.7 kB / 0.5216 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2832, allocations: 8.891 kB / 0.5216 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.2836, allocations: 252.1 kB / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.994e-06/0.2836, allocations: 0 / 0.5218 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.000826/0.2844, allocations: 0.5684 MB / 0.5224 GB, free: 33.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2845, allocations: 74.03 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2846, allocations: 211.3 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2846, allocations: 45.42 kB / 0.5227 GB, free: 33.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2847, allocations: 124.3 kB / 0.5228 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.2848, allocations: 107.3 kB / 0.5229 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.2848, allocations: 11.12 kB / 0.5229 GB, free: 32.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.2848, allocations: 345.4 kB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.285, allocations: 104.7 kB / 0.5233 GB, free: 32.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2852, allocations: 284.4 kB / 0.5236 GB, free: 32.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.2856, allocations: 435.1 kB / 0.524 GB, free: 32.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2856, allocations: 2.938 kB / 0.524 GB, free: 32.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005226/0.2862, allocations: 449.9 kB / 0.5245 GB, free: 31.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2862, allocations: 10.22 kB / 0.5245 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2862, allocations: 11.31 kB / 0.5245 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2862, allocations: 9.375 kB / 0.5245 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2864, allocations: 71.16 kB / 0.5246 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2864, allocations: 15.97 kB / 0.5246 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.2866, allocations: 38.33 kB / 0.5246 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2866, allocations: 21.62 kB / 0.5246 GB, free: 31.77 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 () * 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.0001352/0.2867, allocations: 193.4 kB / 0.5248 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.2868, allocations: 32.64 kB / 0.5248 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.2868, allocations: 32.06 kB / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2869, allocations: 9.312 kB / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2869, allocations: 0 / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2869, allocations: 7.969 kB / 0.5249 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.288, allocations: 0.9393 MB / 0.5258 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.288, allocations: 3 kB / 0.5258 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.2881, allocations: 20.19 kB / 0.5258 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2881, allocations: 2.625 kB / 0.5258 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.2881, allocations: 13.27 kB / 0.5258 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2881, allocations: 6.812 kB / 0.5259 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2882, allocations: 0 / 0.5259 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.2887, allocations: 0.5534 MB / 0.5264 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.2888, allocations: 108.7 kB / 0.5265 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.2888, allocations: 18.94 kB / 0.5265 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2891, allocations: 34.03 kB / 0.5265 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.2891, allocations: 25.42 kB / 0.5266 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.2892, allocations: 25.92 kB / 0.5266 GB, free: 30.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.514e-05/0.2893, allocations: 155.2 kB / 0.5267 GB, free: 30.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2893, allocations: 0 / 0.5267 GB, free: 30.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000327/0.2896, allocations: 71.09 kB / 0.5268 GB, free: 30.55 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) * 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.000778/0.2904, allocations: 1.122 MB / 0.5279 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004426/0.2908, allocations: 337.3 kB / 0.5282 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2908, allocations: 0 / 0.5282 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.2911, allocations: 172.9 kB / 0.5284 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.2915, allocations: 37.95 kB / 0.5284 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.2935, allocations: 1.749 MB / 0.5301 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2937, allocations: 0.7605 MB / 0.5309 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.2938, allocations: 84.05 kB / 0.531 GB, free: 27.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2938, allocations: 2.656 kB / 0.531 GB, free: 27.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/3.042, allocations: 3.83 MB / 0.5347 GB, free: 27.39 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Discrete_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Discrete.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Discrete/Discrete.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Discrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.Twidth,booleanPulse.period,booleanPulse.pulseStart,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.samplePeriod,firstOrderHold.sampleTrigger,firstOrderHold.startTime,firstOrderHold.tSample,firstOrderHold.u,firstOrderHold.uSample,firstOrderHold.y,samplePeriod,sampler.firstTrigger,sampler.samplePeriod,sampler.sampleTrigger,sampler.startTime,sampler.u,sampler.y,sine.amplitude,sine.f,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.firstTrigger,stateSpace.nin,stateSpace.nout,stateSpace.samplePeriod,stateSpace.sampleTrigger,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.firstTrigger,transferFunction.na,transferFunction.nb,transferFunction.samplePeriod,transferFunction.sampleTrigger,transferFunction.startTime,transferFunction.u,transferFunction.x1,transferFunction.x[1],transferFunction.xext[1],transferFunction.xext[2],transferFunction.y,triggeredMax.trigger,triggeredMax.u,triggeredMax.y,triggeredSampler.trigger,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,unitDelay.firstTrigger,unitDelay.samplePeriod,unitDelay.sampleTrigger,unitDelay.startTime,unitDelay.u,unitDelay.y,unitDelay.y_start,zeroOrderHold.firstTrigger,zeroOrderHold.samplePeriod,zeroOrderHold.sampleTrigger,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample