Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 183.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 225.7 MB / 243.2 MB, free: 10.24 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007454/0.0007454, allocations: 96.39 kB / 294.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002274, allocations: 8 kB / 354.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 50.41 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.002762/0.207, allocations: 3.079 MB / 407.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2083, allocations: 1.157 MB / 408.8 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2085, allocations: 11.94 kB / 408.8 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2087, allocations: 55.44 kB / 408.9 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.209, allocations: 100.8 kB / 409 MB, free: 26.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.2095, allocations: 364.4 kB / 409.3 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.2099, allocations: 0.7908 MB / 410.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.2103, allocations: 357.7 kB / 410.5 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2105, allocations: 230.8 kB / 410.7 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.2107, allocations: 270.4 kB / 411 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.2108, allocations: 27.98 kB / 411 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.2109, allocations: 20 kB / 411 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.86e-05/0.2109, allocations: 115.4 kB / 411.1 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2111, allocations: 323.8 kB / 411.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.2116, allocations: 0.885 MB / 412.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2117, allocations: 4 kB / 412.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2117, allocations: 0 / 412.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2117, allocations: 0 / 412.3 MB, free: 23.6 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.001267/0.213, allocations: 0.8931 MB / 413.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.213, allocations: 12.03 kB / 413.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.2131, allocations: 91.91 kB / 413.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.2138, allocations: 0.5888 MB / 413.9 MB, free: 21.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2139, allocations: 53.69 kB / 414 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.2139, allocations: 63.94 kB / 414 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.2149, allocations: 0.676 MB / 414.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.215, allocations: 7.844 kB / 414.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.215, allocations: 27.98 kB / 414.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.215, allocations: 19.98 kB / 414.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.216, allocations: 0.5321 MB / 415.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.2181, allocations: 1.937 MB / 417.2 MB, free: 18.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.2189, allocations: 0.5284 MB / 417.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.2193, allocations: 234.1 kB / 418 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.2194, allocations: 4.438 kB / 418 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.22, allocations: 413.1 kB / 418.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 1.764e-06/0.22, allocations: 0 / 418.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.001315/0.2213, allocations: 0.7911 MB / 419.2 MB, free: 16.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.2214, allocations: 111.2 kB / 419.3 MB, free: 16.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.2217, allocations: 445.8 kB / 419.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2218, allocations: 41.7 kB / 419.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2219, allocations: 320.3 kB / 420.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.222, allocations: 157.8 kB / 420.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2221, allocations: 16 kB / 420.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.2221, allocations: 362.8 kB / 420.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.2225, allocations: 217.2 kB / 420.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.223, allocations: 441 kB / 421.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/0.2238, allocations: 0.6546 MB / 421.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2238, allocations: 4 kB / 421.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001034/0.2249, allocations: 0.7075 MB / 422.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/0.225, allocations: 287.9 kB / 422.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.225, allocations: 12 kB / 422.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.225, allocations: 8 kB / 422.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.2255, allocations: 139.8 kB / 423 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.2255, allocations: 19.92 kB / 423.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.2259, allocations: 99.34 kB / 423.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2259, allocations: 31.92 kB / 423.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-06/0.2259, allocations: 4 kB / 423.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008013/0.2267, allocations: 0.5742 MB / 423.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2267, allocations: 8.031 kB / 423.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.2268, allocations: 12 kB / 423.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.2272, allocations: 131.7 kB / 423.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2272, allocations: 19.88 kB / 423.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2275, allocations: 79.56 kB / 424 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2275, allocations: 28 kB / 424 MB, free: 11.32 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,$PRE.thdRMS.harmonic.mean1.y_last,thdRMS.harmonic.mean1.y_last,$PRE.thdRMS.harmonic.mean2.y_last,thdRMS.harmonic.mean2.y_last,$PRE.thdRMS.rootMeanSquare.mean.y_last,thdRMS.rootMeanSquare.mean.y_last,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid,$PRE.thd1.harmonic.mean1.y_last,thd1.harmonic.mean1.y_last,$PRE.thd1.harmonic.mean2.y_last,thd1.harmonic.mean2.y_last,$PRE.thd1.rootMeanSquare.mean.y_last,thd1.rootMeanSquare.mean.y_last,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid) * 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.0002064/0.2277, allocations: 311.5 kB / 424.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.2278, allocations: 51.34 kB / 424.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.2288, allocations: 0.6335 MB / 425 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2288, allocations: 11.88 kB / 425 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2289, allocations: 0 / 425 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2289, allocations: 3.984 kB / 425 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.2293, allocations: 0.6303 MB / 425.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2293, allocations: 0 / 425.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.2297, allocations: 107.8 kB / 425.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2298, allocations: 0 / 425.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2298, allocations: 15.98 kB / 425.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2298, allocations: 7.938 kB / 425.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2298, allocations: 0 / 425.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.2312, allocations: 0.9293 MB / 426.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.2313, allocations: 132.4 kB / 426.9 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.2313, allocations: 15.98 kB / 426.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.2316, allocations: 55.91 kB / 426.9 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.2317, allocations: 44.5 kB / 427 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.2318, allocations: 23.97 kB / 427 MB, free: 8.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002311/0.232, allocations: 299.1 kB / 427.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.232, allocations: 0 / 427.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.2326, allocations: 247 kB / 427.5 MB, free: 7.734 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.0001152/0.2327, allocations: 140.5 kB / 427.7 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.234, allocations: 0.8617 MB / 428.5 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.234, allocations: 320 / 428.5 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.2344, allocations: 295 kB / 428.8 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2348, allocations: 85.84 kB / 428.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2363, allocations: 1.45 MB / 430.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2366, allocations: 0.9 MB / 431.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.237, allocations: 104.7 kB / 431.4 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2371, allocations: 47.42 kB / 431.4 MB, free: 3.793 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2371, allocations: 0 / 431.4 MB, free: 3.793 MB / 298.7 MB Notification: Performance of Templates: time 0.008905/0.246, allocations: 5.49 MB / 436.9 MB, free: 14.35 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/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