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: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001784/0.001784, allocations: 200 kB / 18.01 MB, free: 5.047 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009453/0.0009453, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2586, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004557/0.2632, allocations: 3.624 MB / 403.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2652, allocations: 1.243 MB / 405.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.2654, allocations: 11.94 kB / 405.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2657, allocations: 86.98 kB / 405.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.2661, allocations: 138.8 kB / 405.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.2668, allocations: 403.4 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007457/0.2675, allocations: 0.8728 MB / 406.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005076/0.2681, allocations: 377.7 kB / 407 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/0.2685, allocations: 326.8 kB / 407.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.2689, allocations: 358.3 kB / 407.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.269, allocations: 100 kB / 407.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2692, allocations: 96 kB / 407.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.2694, allocations: 199.4 kB / 408 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.2698, allocations: 398 kB / 408.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.2709, allocations: 0.9992 MB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2709, allocations: 0 / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2709, allocations: 0 / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2709, allocations: 0 / 409.4 MB, free: 15.6 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.00213/0.2731, allocations: 1.048 MB / 410.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.2731, allocations: 12.03 kB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.2733, allocations: 102.7 kB / 410.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.2734, allocations: 84.42 kB / 410.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2745, allocations: 0.5969 MB / 411.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.2745, allocations: 53.25 kB / 411.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.2746, allocations: 63.95 kB / 411.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.2759, allocations: 0.6566 MB / 412 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2759, allocations: 3.938 kB / 412 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.276, allocations: 27.98 kB / 412 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.276, allocations: 16 kB / 412.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2771, allocations: 0.4931 MB / 412.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2798, allocations: 1.89 MB / 414.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009632/0.2808, allocations: 0.4887 MB / 414.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.2812, allocations: 214.1 kB / 415.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/0.2813, allocations: 12.42 kB / 415.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/0.282, allocations: 393 kB / 415.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.282, allocations: 0 / 415.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001565/0.2836, allocations: 0.729 MB / 416.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.2837, allocations: 111.2 kB / 416.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.2841, allocations: 441.9 kB / 416.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2842, allocations: 45.7 kB / 416.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.2844, allocations: 324.9 kB / 417.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2845, allocations: 174.5 kB / 417.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.2847, allocations: 130.2 kB / 417.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2849, allocations: 362.8 kB / 417.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.2853, allocations: 211.4 kB / 418 MB, free: 6.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.2859, allocations: 417 kB / 418.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.287, allocations: 0.6278 MB / 419.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.287, allocations: 4 kB / 419.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00125/0.2882, allocations: 0.67 MB / 419.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2883, allocations: 12.08 kB / 419.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2883, allocations: 12 kB / 419.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2883, allocations: 8 kB / 419.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.2888, allocations: 135.7 kB / 419.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.2889, allocations: 19.92 kB / 419.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.2893, allocations: 75.59 kB / 420 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.2893, allocations: 35.98 kB / 420 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005449/0.2899, allocations: 333.4 kB / 420.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000503/0.2904, allocations: 397 kB / 420.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008477/0.2912, allocations: 0.5722 MB / 421.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.2913, allocations: 0 / 421.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001068/0.2923, allocations: 0.6322 MB / 421.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2924, allocations: 11.94 kB / 422 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2924, allocations: 8 kB / 422 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2924, allocations: 12 kB / 422 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.2928, allocations: 124.2 kB / 422.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2929, allocations: 15.94 kB / 422.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2932, allocations: 71.64 kB / 422.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.2933, allocations: 31.98 kB / 422.2 MB, free: 2.129 MB / 334.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.0001958/0.2935, allocations: 231.2 kB / 422.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.2936, allocations: 63.56 kB / 422.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2948, allocations: 0.5829 MB / 423.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2948, allocations: 8 kB / 423.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2948, allocations: 4 kB / 423.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2949, allocations: 7.922 kB / 423.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.2955, allocations: 0.6381 MB / 423.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2955, allocations: 0 / 423.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.2959, allocations: 87.75 kB / 423.8 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2959, allocations: 4 kB / 423.8 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.296, allocations: 15.98 kB / 423.8 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.296, allocations: 4 kB / 423.8 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.296, allocations: 3.984 kB / 423.9 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2977, allocations: 0.8712 MB / 424.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2978, allocations: 144.5 kB / 424.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.2979, allocations: 20 kB / 424.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.2982, allocations: 35.95 kB / 424.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.2983, allocations: 44.5 kB / 425 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.2984, allocations: 19.98 kB / 425 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.2987, allocations: 307.1 kB / 425.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2987, allocations: 0 / 425.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006938/0.2994, allocations: 251.3 kB / 425.5 MB, free: 14.72 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.001984/0.3014, allocations: 1.449 MB / 427 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.303, allocations: 0.8275 MB / 427.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.303, allocations: 3.906 kB / 427.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.3035, allocations: 275.6 kB / 428.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.304, allocations: 85.5 kB / 428.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.3113, allocations: 5.121 MB / 433.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.3118, allocations: 0.8997 MB / 434.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.3122, allocations: 104.6 kB / 434.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.3126, allocations: 239.3 kB / 434.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3126, allocations: 0 / 434.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.346, allocations: 11.76 MB / 446.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.134, allocations: 8.469 kB / 446.3 MB, free: 9.758 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.csv","/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