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.001671/0.001671, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001808/0.001808, allocations: 187.1 kB / 18.66 MB, free: 4.434 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.539/1.539, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001818/0.001818, allocations: 59.91 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09636, allocations: 46.62 MB / 374.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005646/0.1021, allocations: 3.569 MB / 378.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.1049, allocations: 1.271 MB / 379.5 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.1055, allocations: 15.94 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.1059, allocations: 79 kB / 379.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.219/0.325, allocations: 134.6 kB / 379.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3262, allocations: 386.9 kB / 380.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3276, allocations: 0.852 MB / 380.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.3282, allocations: 384.1 kB / 381.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.3287, allocations: 325.7 kB / 381.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.3292, allocations: 345.2 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.3295, allocations: 94.56 kB / 382.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3297, allocations: 96.16 kB / 382.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3299, allocations: 202 kB / 382.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004206/0.3303, allocations: 382.3 kB / 382.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3316, allocations: 0.9757 MB / 383.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3316, allocations: 1.188 kB / 383.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3317, allocations: 0 / 383.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.3317, allocations: 0 / 383.7 MB, free: 8.586 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.002294/0.334, allocations: 1.043 MB / 384.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3341, allocations: 8.812 kB / 384.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.3342, allocations: 95.89 kB / 384.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.3344, allocations: 85.67 kB / 384.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3354, allocations: 0.6013 MB / 385.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.3355, allocations: 42.78 kB / 385.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3356, allocations: 65.34 kB / 385.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3368, allocations: 0.6472 MB / 386.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3369, allocations: 0 / 386.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.3369, allocations: 22.77 kB / 386.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3369, allocations: 13 kB / 386.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3381, allocations: 496.8 kB / 386.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.3411, allocations: 1.833 MB / 388.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3421, allocations: 0.4896 MB / 389.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/0.3426, allocations: 214.6 kB / 389.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.3427, allocations: 11.67 kB / 389.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007479/0.3435, allocations: 394.6 kB / 389.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.3435, allocations: 0 / 389.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.001746/0.3452, allocations: 0.7249 MB / 390.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3453, allocations: 116.6 kB / 390.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.3459, allocations: 461.2 kB / 391 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.346, allocations: 44 kB / 391.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3462, allocations: 319.1 kB / 391.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.3463, allocations: 165.6 kB / 391.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.3465, allocations: 124.7 kB / 391.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3466, allocations: 370.1 kB / 392 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.3472, allocations: 208.9 kB / 392.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.3478, allocations: 421.1 kB / 392.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.3489, allocations: 0.6222 MB / 393.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3489, allocations: 5.391 kB / 393.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001464/0.3504, allocations: 0.6709 MB / 393.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.3504, allocations: 8.562 kB / 394 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3504, allocations: 6.672 kB / 394 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/0.3505, allocations: 11.22 kB / 394 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.3511, allocations: 137.9 kB / 394.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.3511, allocations: 16.97 kB / 394.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3516, allocations: 84.58 kB / 394.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.3517, allocations: 32 kB / 394.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005863/0.3523, allocations: 339.5 kB / 394.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004653/0.3527, allocations: 398.1 kB / 395 MB, free: 2.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008185/0.3536, allocations: 0.5763 MB / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.3536, allocations: 2.469 kB / 395.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001227/0.3548, allocations: 0.6374 MB / 396.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3548, allocations: 8.75 kB / 396.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3549, allocations: 5.922 kB / 396.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3549, allocations: 10.66 kB / 396.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.3554, allocations: 127.8 kB / 396.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3554, allocations: 14.78 kB / 396.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.3558, allocations: 72.44 kB / 396.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3559, allocations: 37.38 kB / 396.4 MB, free: 1.629 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.000244/0.3561, allocations: 242.1 kB / 396.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3563, allocations: 54.44 kB / 396.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.3576, allocations: 0.5863 MB / 397.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3576, allocations: 8.438 kB / 397.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3576, allocations: 1.469 kB / 397.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3576, allocations: 3 kB / 397.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.3584, allocations: 0.6332 MB / 398 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3584, allocations: 4 kB / 398 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.3588, allocations: 92.03 kB / 398.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3588, allocations: 2.75 kB / 398.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3589, allocations: 16.2 kB / 398.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.3589, allocations: 6.797 kB / 398.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3589, allocations: 0 / 398.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3606, allocations: 0.8722 MB / 399 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3607, allocations: 137.7 kB / 399.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.3608, allocations: 19.62 kB / 399.1 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.3612, allocations: 37.83 kB / 399.1 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.3613, allocations: 41.95 kB / 399.2 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3614, allocations: 23.38 kB / 399.2 MB, free: 200 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.3617, allocations: 314.8 kB / 399.5 MB, free: 40 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3617, allocations: 1.25 kB / 399.5 MB, free: 40 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008613/0.3626, allocations: 241.3 kB / 399.8 MB, free: 15.96 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.00225/0.3649, allocations: 1.449 MB / 401.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.3668, allocations: 0.8165 MB / 402 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3669, allocations: 5.156 kB / 402 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.3675, allocations: 273.6 kB / 402.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.3681, allocations: 81.17 kB / 402.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3786, allocations: 5.132 MB / 407.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/0.3794, allocations: 0.8994 MB / 408.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005654/0.38, allocations: 111.7 kB / 408.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.3805, allocations: 232.5 kB / 408.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3805, allocations: 0 / 408.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/0.4233, allocations: 11.82 MB / 420.6 MB, free: 32 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/9.75, allocations: 0 / 420.6 MB, free: 32 kB / 334.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