Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3293, allocations: 50.54 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005204/0.3346, allocations: 3.738 MB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.338, allocations: 1.387 MB / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.3384, allocations: 15.94 kB / 414.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.3388, allocations: 86.92 kB / 414.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.3393, allocations: 150.6 kB / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3403, allocations: 462.8 kB / 415.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.3411, allocations: 0.9039 MB / 416 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.3417, allocations: 389.8 kB / 416.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.3421, allocations: 346.7 kB / 416.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.3425, allocations: 382.1 kB / 417.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3426, allocations: 100 kB / 417.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3428, allocations: 112 kB / 417.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.343, allocations: 207.4 kB / 417.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.3433, allocations: 413.9 kB / 417.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009348/0.3442, allocations: 1.055 MB / 418.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3442, allocations: 4 kB / 418.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3442, allocations: 0 / 418.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3443, allocations: 3.938 kB / 418.9 MB, free: 7.875 MB / 334.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.002003/0.3463, allocations: 1.095 MB / 420 MB, free: 6.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3463, allocations: 12.03 kB / 420 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.347, allocations: 144.3 kB / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3481, allocations: 0.673 MB / 420.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.3482, allocations: 45.69 kB / 420.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3483, allocations: 72.3 kB / 421 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3495, allocations: 0.6606 MB / 421.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.3496, allocations: 3.953 kB / 421.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.3497, allocations: 20 kB / 421.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3497, allocations: 16 kB / 421.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3508, allocations: 0.5009 MB / 422.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.3535, allocations: 1.883 MB / 424 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/0.3545, allocations: 0.4893 MB / 424.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.355, allocations: 210.1 kB / 424.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.355, allocations: 12.42 kB / 424.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006989/0.3557, allocations: 389.1 kB / 425.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.3557, allocations: 0 / 425.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001645/0.3574, allocations: 0.7406 MB / 425.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.3575, allocations: 119.2 kB / 426 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.3582, allocations: 494.8 kB / 426.5 MB, free: 84 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.3582, allocations: 37.7 kB / 426.5 MB, free: 40 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.3585, allocations: 344.9 kB / 426.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3586, allocations: 166.6 kB / 427 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.3589, allocations: 130.2 kB / 427.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3591, allocations: 378.8 kB / 427.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.3595, allocations: 203.4 kB / 427.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.3602, allocations: 425 kB / 428.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.3613, allocations: 0.6178 MB / 428.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3613, allocations: 0 / 428.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00134/0.3626, allocations: 0.6826 MB / 429.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.3627, allocations: 8 kB / 429.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3627, allocations: 8 kB / 429.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.3627, allocations: 11.94 kB / 429.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.3632, allocations: 140 kB / 429.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.3633, allocations: 15.98 kB / 429.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.3637, allocations: 79.59 kB / 429.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.3637, allocations: 27.98 kB / 429.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005505/0.3643, allocations: 345.3 kB / 430 MB, free: 12.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004937/0.3648, allocations: 397.1 kB / 430.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009199/0.3657, allocations: 0.5732 MB / 431 MB, free: 11.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.3657, allocations: 7.938 kB / 431 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001086/0.3668, allocations: 0.6353 MB / 431.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3669, allocations: 12.03 kB / 431.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3669, allocations: 8 kB / 431.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3669, allocations: 12 kB / 431.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.3673, allocations: 127.7 kB / 431.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.3673, allocations: 19.88 kB / 431.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3677, allocations: 67.64 kB / 431.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.3678, allocations: 35.98 kB / 431.9 MB, free: 10.23 MB / 350.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.0002492/0.368, allocations: 234.6 kB / 432.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.3681, allocations: 63.58 kB / 432.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3694, allocations: 0.595 MB / 432.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3694, allocations: 11.94 kB / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3695, allocations: 0 / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3695, allocations: 0 / 432.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.3702, allocations: 0.6498 MB / 433.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3702, allocations: 0 / 433.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.3706, allocations: 91.86 kB / 433.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.3707, allocations: 4 kB / 433.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.3707, allocations: 19.92 kB / 433.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.3707, allocations: 7.938 kB / 433.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3707, allocations: 0 / 433.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3724, allocations: 0.8789 MB / 434.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3725, allocations: 136.7 kB / 434.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.3726, allocations: 15.98 kB / 434.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3729, allocations: 43.91 kB / 434.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3731, allocations: 40.5 kB / 434.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.3731, allocations: 23.98 kB / 434.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003847/0.3735, allocations: 334.9 kB / 435.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3735, allocations: 0 / 435.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007881/0.3743, allocations: 251.3 kB / 435.3 MB, free: 6.75 MB / 350.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.0001949/0.3745, allocations: 136.9 kB / 435.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.3761, allocations: 0.8207 MB / 436.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3761, allocations: 4.062 kB / 436.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.3767, allocations: 271 kB / 436.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.3771, allocations: 98.27 kB / 436.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3792, allocations: 1.203 MB / 437.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3796, allocations: 0.9116 MB / 438.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.38, allocations: 104.8 kB / 438.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3802, allocations: 67.34 kB / 438.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3802, allocations: 4 kB / 438.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Templates: time 0.0115/0.3917, allocations: 6.27 MB / 445.2 MB, free: 12.83 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches