Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 94.56 kB / 17.31 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 179.9 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.000221, allocations: 7.938 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07152/0.07175, allocations: 50.4 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.003265/0.07503, allocations: 3.237 MB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.07682, allocations: 1.184 MB / 356.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.07711, allocations: 11.94 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.07729, allocations: 59.42 kB / 357 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.07766, allocations: 111.1 kB / 357.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.07831, allocations: 363 kB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.07902, allocations: 0.7869 MB / 358.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.0795, allocations: 357.7 kB / 358.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.07978, allocations: 226.8 kB / 358.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.08009, allocations: 274.4 kB / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.08017, allocations: 24 kB / 359.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.08023, allocations: 20 kB / 359.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.08034, allocations: 123.4 kB / 359.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.08061, allocations: 327.8 kB / 359.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.08116, allocations: 0.725 MB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.08117, allocations: 0 / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.08118, allocations: 3.938 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.0812, allocations: 0 / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001571/0.08277, allocations: 0.8969 MB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.08281, allocations: 12.03 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.08295, allocations: 84 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.08382, allocations: 0.6004 MB / 361.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.08388, allocations: 45.69 kB / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.08398, allocations: 71.83 kB / 362 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.0852, allocations: 0.6761 MB / 362.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.08523, allocations: 4 kB / 362.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.08529, allocations: 24 kB / 362.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.08531, allocations: 12 kB / 362.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.08648, allocations: 0.5438 MB / 363.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.08924, allocations: 1.94 MB / 365.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.09026, allocations: 0.5155 MB / 365.7 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.09076, allocations: 242 kB / 365.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.0908, allocations: 4.438 kB / 365.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/0.09155, allocations: 417 kB / 366.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.09156, allocations: 0 / 366.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001676/0.09324, allocations: 0.7912 MB / 367.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.09331, allocations: 119.2 kB / 367.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.09377, allocations: 441.8 kB / 367.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.09383, allocations: 45.69 kB / 367.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.09404, allocations: 320.3 kB / 368 MB, free: 3.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.09417, allocations: 157.8 kB / 368.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.09426, allocations: 69.67 kB / 368.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.09439, allocations: 362.8 kB / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.0949, allocations: 221.2 kB / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.09554, allocations: 452.9 kB / 369.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.09666, allocations: 0.6553 MB / 369.9 MB, free: 1.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.09668, allocations: 4 kB / 369.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00135/0.09804, allocations: 0.7164 MB / 370.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.09819, allocations: 277.2 kB / 370.9 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.09821, allocations: 11.98 kB / 370.9 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.09823, allocations: 12 kB / 370.9 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.09877, allocations: 147.7 kB / 371.1 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.0988, allocations: 15.98 kB / 371.1 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.09921, allocations: 91.41 kB / 371.2 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.09926, allocations: 35.97 kB / 371.2 MB, free: 108 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/0.09927, allocations: 4 kB / 371.2 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1358/0.2351, allocations: 0.5692 MB / 371.8 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2351, allocations: 6.406 kB / 371.8 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2351, allocations: 9.938 kB / 371.8 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.2357, allocations: 133.8 kB / 372 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.2357, allocations: 19.44 kB / 372 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.2361, allocations: 84.12 kB / 372.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2362, allocations: 28.22 kB / 372.1 MB, free: 23.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thdRMS.pythagoras.valid,thdRMS.valid,thdRMS.greaterThreshold.y,thdRMS.rootMeanSquare.mean.y_last,$PRE.thdRMS.rootMeanSquare.mean.y_last,thdRMS.harmonic.mean2.y_last,$PRE.thdRMS.harmonic.mean2.y_last,thdRMS.harmonic.mean1.y_last,$PRE.thdRMS.harmonic.mean1.y_last,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y_last,$PRE.thd1.rootMeanSquare.mean.y_last,thd1.harmonic.mean2.y_last,$PRE.thd1.harmonic.mean2.y_last,thd1.harmonic.mean1.y_last,$PRE.thd1.harmonic.mean1.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.2365, allocations: 313.3 kB / 372.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2366, allocations: 53.59 kB / 372.4 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.238, allocations: 0.6301 MB / 373.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.238, allocations: 4.938 kB / 373.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.238, allocations: 1.125 kB / 373.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.238, allocations: 2.766 kB / 373.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.2387, allocations: 0.637 MB / 373.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2387, allocations: 0 / 373.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.2391, allocations: 100.8 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2391, allocations: 1.969 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.2392, allocations: 17.69 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2392, allocations: 1.469 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2392, allocations: 1.031 kB / 373.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.241, allocations: 0.9396 MB / 374.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.2411, allocations: 136 kB / 374.9 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.2412, allocations: 15 kB / 374.9 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.2416, allocations: 52.91 kB / 375 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2417, allocations: 43.33 kB / 375 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.2417, allocations: 25.03 kB / 375 MB, free: 22.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.242, allocations: 306.1 kB / 375.3 MB, free: 22.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.242, allocations: 0 / 375.3 MB, free: 22.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000731/0.2428, allocations: 243.7 kB / 375.6 MB, free: 22.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x) * Number of discrete variables: 20 ($cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thd1.harmonic.mean1.y_last,thd1.harmonic.mean2.y_last,thd1.rootMeanSquare.mean.y_last,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y_last,thdRMS.harmonic.mean2.y_last,thdRMS.rootMeanSquare.mean.y_last,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid) * Number of discrete states: 6 (thdRMS.rootMeanSquare.mean.x,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean1.x,thd1.rootMeanSquare.mean.x,thd1.harmonic.mean2.x,thd1.harmonic.mean1.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.2429, allocations: 137.6 kB / 375.7 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.2446, allocations: 0.8817 MB / 376.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2446, allocations: 4.844 kB / 376.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.2451, allocations: 299.9 kB / 376.9 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2456, allocations: 80.03 kB / 377 MB, free: 22.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2475, allocations: 1.481 MB / 378.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2478, allocations: 0.8992 MB / 379.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.248, allocations: 61.53 kB / 379.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.248, allocations: 0 / 379.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01142/0.2594, allocations: 7.697 MB / 387.1 MB, free: 18.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches