Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_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.001207/0.001207, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001133/0.001133, allocations: 194.9 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08522, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005249/0.09052, allocations: 3.569 MB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.0932, allocations: 1.267 MB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005483/0.09384, allocations: 15.94 kB / 379.5 MB, free: 188 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.09422, allocations: 78.98 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1876/0.2818, allocations: 138.3 kB / 379.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2831, allocations: 393.3 kB / 380.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2843, allocations: 0.8553 MB / 381 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.285, allocations: 384.9 kB / 381.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.2854, allocations: 325.6 kB / 381.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.2859, allocations: 346.4 kB / 382 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.2861, allocations: 94.94 kB / 382.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.2863, allocations: 92.88 kB / 382.2 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2865, allocations: 207.3 kB / 382.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.2869, allocations: 384.1 kB / 382.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.288, allocations: 0.9709 MB / 383.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.288, allocations: 0 / 383.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.288, allocations: 1.031 kB / 383.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.288, allocations: 0 / 383.7 MB, free: 8.578 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002106/0.2901, allocations: 1.04 MB / 384.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2902, allocations: 9.75 kB / 384.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.2903, allocations: 99.88 kB / 384.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2905, allocations: 85.84 kB / 384.9 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.2915, allocations: 0.595 MB / 385.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.2916, allocations: 47.53 kB / 385.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.2917, allocations: 65 kB / 385.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2929, allocations: 0.6477 MB / 386.3 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.2929, allocations: 2.281 kB / 386.3 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.293, allocations: 23.09 kB / 386.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.293, allocations: 13.97 kB / 386.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2944, allocations: 0.4887 MB / 386.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.2973, allocations: 1.835 MB / 388.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009952/0.2983, allocations: 493.9 kB / 389.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.2988, allocations: 216.8 kB / 389.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.2988, allocations: 13.69 kB / 389.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007609/0.2996, allocations: 393.9 kB / 389.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.665e-06/0.2996, allocations: 0 / 389.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.001736/0.3014, allocations: 0.7269 MB / 390.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3014, allocations: 113.4 kB / 390.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.302, allocations: 463.2 kB / 391 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.302, allocations: 39.84 kB / 391.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.3022, allocations: 318.5 kB / 391.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3024, allocations: 165.4 kB / 391.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3026, allocations: 124.9 kB / 391.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.3027, allocations: 375.2 kB / 392 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.3031, allocations: 203.5 kB / 392.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.3037, allocations: 426.2 kB / 392.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3048, allocations: 0.6227 MB / 393.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3048, allocations: 1.312 kB / 393.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001404/0.3062, allocations: 0.6752 MB / 394 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3062, allocations: 8.031 kB / 394 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3062, allocations: 7.625 kB / 394 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/0.3063, allocations: 9.5 kB / 394 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.3069, allocations: 136 kB / 394.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.3069, allocations: 18.69 kB / 394.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.3074, allocations: 81.58 kB / 394.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.3075, allocations: 40.45 kB / 394.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006112/0.3081, allocations: 338.9 kB / 394.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005339/0.3086, allocations: 394.8 kB / 395 MB, free: 2.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008494/0.3095, allocations: 0.5793 MB / 395.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.3095, allocations: 2.312 kB / 395.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00113/0.3106, allocations: 0.6282 MB / 396.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3107, allocations: 12.02 kB / 396.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3107, allocations: 11.25 kB / 396.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3107, allocations: 10.69 kB / 396.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.3111, allocations: 122.6 kB / 396.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3112, allocations: 14.75 kB / 396.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.3116, allocations: 72.81 kB / 396.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3116, allocations: 26.81 kB / 396.4 MB, free: 1.613 MB / 318.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,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean1.y,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.harmonic.mean2.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean1.y) * 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.0002175/0.3118, allocations: 251.2 kB / 396.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.3119, allocations: 57.45 kB / 396.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.3133, allocations: 0.5859 MB / 397.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3133, allocations: 6.375 kB / 397.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3133, allocations: 0 / 397.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3133, allocations: 2.906 kB / 397.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007837/0.3141, allocations: 0.6336 MB / 398 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3141, allocations: 0.7031 kB / 398 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.3146, allocations: 91.48 kB / 398.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3146, allocations: 5.688 kB / 398.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3146, allocations: 16.39 kB / 398.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3146, allocations: 2.75 kB / 398.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3147, allocations: 6.828 kB / 398.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.3163, allocations: 0.8726 MB / 399 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.3164, allocations: 133.2 kB / 399.1 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.3165, allocations: 18.72 kB / 399.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.3168, allocations: 43.64 kB / 399.2 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3169, allocations: 40.98 kB / 399.2 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.317, allocations: 22.11 kB / 399.2 MB, free: 176 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003184/0.3173, allocations: 314.2 kB / 399.5 MB, free: 16 kB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3173, allocations: 0 / 399.5 MB, free: 16 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007883/0.3181, allocations: 243.6 kB / 399.8 MB, free: 15.94 MB / 334.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,thd1.harmonic.mean2.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean2.y,thdRMS.rootMeanSquare.mean.y,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.001996/0.3201, allocations: 1.446 MB / 401.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3219, allocations: 0.8218 MB / 402 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3219, allocations: 3.906 kB / 402 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.3224, allocations: 268.6 kB / 402.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.3229, allocations: 86.58 kB / 402.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008169/0.3311, allocations: 5.132 MB / 407.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.3316, allocations: 0.8929 MB / 408.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.3321, allocations: 107.8 kB / 408.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.3324, allocations: 237.9 kB / 408.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3324, allocations: 0 / 408.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.3681, allocations: 11.82 MB / 420.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.249, allocations: 4.062 kB / 420.6 MB, free: 15.97 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches