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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 103.2 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008288/0.000829, allocations: 47.92 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2622, allocations: 49.43 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.003762/0.266, allocations: 3.638 MB / 403.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2675, allocations: 1.2 MB / 404.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.2678, allocations: 11.94 kB / 404.3 MB, free: 28.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.268, allocations: 59.42 kB / 404.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2683, allocations: 99.2 kB / 404.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2689, allocations: 363.3 kB / 404.8 MB, free: 27.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.2693, allocations: 0.7987 MB / 405.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.2698, allocations: 361.8 kB / 406 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.2701, allocations: 274.7 kB / 406.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2704, allocations: 326.3 kB / 406.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.2704, allocations: 40 kB / 406.6 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.2705, allocations: 40 kB / 406.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2706, allocations: 143.4 kB / 406.8 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.2709, allocations: 342 kB / 407.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.2714, allocations: 0.9165 MB / 408 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2714, allocations: 4 kB / 408 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2714, allocations: 0 / 408 MB, free: 24.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2715, allocations: 0 / 408 MB, free: 24.75 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001614/0.2731, allocations: 1.018 MB / 409.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2731, allocations: 12.03 kB / 409.1 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.2733, allocations: 87.98 kB / 409.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.274, allocations: 0.5886 MB / 409.7 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.2741, allocations: 49.67 kB / 409.8 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.2742, allocations: 63.94 kB / 409.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.2751, allocations: 0.6565 MB / 410.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.2751, allocations: 4 kB / 410.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.2752, allocations: 24 kB / 410.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2752, allocations: 16 kB / 410.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009077/0.2761, allocations: 0.4931 MB / 411 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.2784, allocations: 1.909 MB / 413 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.2792, allocations: 0.4893 MB / 413.4 MB, free: 19.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.2796, allocations: 210.1 kB / 413.6 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.2797, allocations: 12.42 kB / 413.7 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/0.2803, allocations: 397 kB / 414 MB, free: 18.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.2803, allocations: 3.938 kB / 414.1 MB, free: 18.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.001421/0.2817, allocations: 0.7287 MB / 414.8 MB, free: 17.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2818, allocations: 115.2 kB / 414.9 MB, free: 17.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.2822, allocations: 441.8 kB / 415.3 MB, free: 17.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.2822, allocations: 45.64 kB / 415.4 MB, free: 17.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.2824, allocations: 320.3 kB / 415.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/0.2825, allocations: 161.7 kB / 415.8 MB, free: 16.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.2827, allocations: 134.3 kB / 416 MB, free: 16.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.2828, allocations: 362.8 kB / 416.3 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.2832, allocations: 203.4 kB / 416.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.2836, allocations: 425 kB / 416.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.2844, allocations: 0.6074 MB / 417.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2845, allocations: 4 kB / 417.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001057/0.2855, allocations: 0.6673 MB / 418.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.2856, allocations: 15.88 kB / 418.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2856, allocations: 11.98 kB / 418.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2856, allocations: 8 kB / 418.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.2861, allocations: 144 kB / 418.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.2861, allocations: 15.92 kB / 418.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2865, allocations: 83.34 kB / 418.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.2865, allocations: 27.98 kB / 418.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004529/0.287, allocations: 337.4 kB / 418.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003872/0.2874, allocations: 393 kB / 419.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006785/0.2881, allocations: 0.583 MB / 419.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.2881, allocations: 0 / 419.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.0008719/0.2889, allocations: 0.6321 MB / 420.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.289, allocations: 8 kB / 420.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.289, allocations: 8 kB / 420.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.289, allocations: 11.94 kB / 420.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2894, allocations: 127.8 kB / 420.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2894, allocations: 11.94 kB / 420.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.2897, allocations: 67.56 kB / 420.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2898, allocations: 28.12 kB / 420.7 MB, free: 11.43 MB / 298.7 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.0001582/0.2899, allocations: 246.5 kB / 420.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.29, allocations: 59.28 kB / 421 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.2911, allocations: 0.579 MB / 421.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2911, allocations: 8 kB / 421.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.2911, allocations: 0 / 421.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2911, allocations: 3.984 kB / 421.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.2916, allocations: 0.6302 MB / 422.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2916, allocations: 8 kB / 422.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.292, allocations: 87.81 kB / 422.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.292, allocations: 7.875 kB / 422.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.292, allocations: 23.98 kB / 422.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2921, allocations: 0 / 422.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2921, allocations: 0 / 422.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/0.2958, allocations: 3.058 MB / 425.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.2959, allocations: 140.3 kB / 425.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.2959, allocations: 12 kB / 425.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.2962, allocations: 43.89 kB / 425.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2963, allocations: 40.5 kB / 425.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.2964, allocations: 23.98 kB / 425.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.2966, allocations: 307.1 kB / 426 MB, free: 5.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2966, allocations: 7.938 kB / 426 MB, free: 5.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008308/0.2975, allocations: 299 kB / 426.3 MB, free: 5.652 MB / 298.7 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.0001449/0.2976, allocations: 128.9 kB / 426.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.299, allocations: 0.8165 MB / 427.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.299, allocations: 4 kB / 427.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.2995, allocations: 268.2 kB / 427.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2999, allocations: 86.09 kB / 427.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3019, allocations: 1.73 MB / 429.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3022, allocations: 0.9078 MB / 430.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004181/0.3026, allocations: 108.6 kB / 430.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3027, allocations: 51.42 kB / 430.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3027, allocations: 0 / 430.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of Templates: time 0.01031/0.3131, allocations: 5.844 MB / 436.2 MB, free: 11.67 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches