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.001541/0.001541, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001763/0.001763, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.357/1.357, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001374/0.001374, allocations: 56.14 kB / 280.8 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09266, allocations: 46.62 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004803/0.09751, allocations: 3.585 MB / 331 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.09974, allocations: 1.259 MB / 332.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.1001, allocations: 15.94 kB / 332.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1004, allocations: 79 kB / 332.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1008, allocations: 138.7 kB / 332.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.1017, allocations: 395.4 kB / 332.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.1026, allocations: 0.8416 MB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005968/0.1032, allocations: 381.7 kB / 334 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.1036, allocations: 326.7 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.104, allocations: 350.3 kB / 334.7 MB, free: 13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1042, allocations: 92 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1043, allocations: 96 kB / 334.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.1045, allocations: 199.4 kB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.1048, allocations: 382.1 kB / 335.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.1056, allocations: 0.9427 MB / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1056, allocations: 4 kB / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1056, allocations: 0 / 336.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1056, allocations: 4 kB / 336.4 MB, free: 11.29 MB / 286.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.001832/0.1074, allocations: 1.013 MB / 337.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.1075, allocations: 8.031 kB / 337.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.1076, allocations: 102.7 kB / 337.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1078, allocations: 80 kB / 337.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.1087, allocations: 0.5848 MB / 338.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.1088, allocations: 45.69 kB / 338.2 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/0.1089, allocations: 68.36 kB / 338.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.11, allocations: 0.6403 MB / 338.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.11, allocations: 0 / 338.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.1101, allocations: 27.98 kB / 339 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1101, allocations: 12 kB / 339 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1112, allocations: 495.7 kB / 339.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.114, allocations: 1.861 MB / 341.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.115, allocations: 0.4931 MB / 341.8 MB, free: 5.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.1154, allocations: 218.1 kB / 342 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.1155, allocations: 8.438 kB / 342 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/0.1162, allocations: 389.1 kB / 342.4 MB, free: 5.062 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.785e-06/0.1162, allocations: 0 / 342.4 MB, free: 5.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001609/0.1178, allocations: 0.7248 MB / 343.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1179, allocations: 115.2 kB / 343.3 MB, free: 4.195 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.1185, allocations: 453.9 kB / 343.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.1185, allocations: 37.7 kB / 343.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.1187, allocations: 320.4 kB / 344 MB, free: 3.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1189, allocations: 161.7 kB / 344.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.1191, allocations: 126.3 kB / 344.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1192, allocations: 370.7 kB / 344.7 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.1197, allocations: 211.3 kB / 344.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.1203, allocations: 421 kB / 345.3 MB, free: 2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009973/0.1213, allocations: 0.6128 MB / 345.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1213, allocations: 4 kB / 345.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001271/0.1226, allocations: 0.6791 MB / 346.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1226, allocations: 7.938 kB / 346.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1226, allocations: 16.48 kB / 346.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1227, allocations: 16 kB / 346.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.1232, allocations: 127.8 kB / 346.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.1232, allocations: 19.92 kB / 346.8 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.1236, allocations: 75.44 kB / 346.9 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.1237, allocations: 31.98 kB / 346.9 MB, free: 332 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005526/0.1243, allocations: 337.4 kB / 347.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004819/0.1247, allocations: 393 kB / 347.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008227/0.1256, allocations: 0.5776 MB / 348.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.1256, allocations: 0 / 348.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001072/0.1267, allocations: 0.6255 MB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1267, allocations: 8 kB / 348.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1267, allocations: 8 kB / 348.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1267, allocations: 12 kB / 348.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.1272, allocations: 123.8 kB / 349 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1272, allocations: 11.94 kB / 349 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.1275, allocations: 75.75 kB / 349 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.1276, allocations: 28 kB / 349.1 MB, free: 13.95 MB / 302.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.0002237/0.1278, allocations: 246.2 kB / 349.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.1279, allocations: 55.34 kB / 349.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.1291, allocations: 0.579 MB / 349.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.1291, allocations: 8 kB / 350 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1292, allocations: 0 / 350 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.1292, allocations: 11.92 kB / 350 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.1298, allocations: 0.634 MB / 350.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1298, allocations: 0 / 350.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.1303, allocations: 87.81 kB / 350.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1303, allocations: 4 kB / 350.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.1303, allocations: 15.98 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.1303, allocations: 8 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1303, allocations: 3.938 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.132, allocations: 0.8746 MB / 351.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.1321, allocations: 128.4 kB / 351.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.1322, allocations: 16.06 kB / 351.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.1325, allocations: 39.95 kB / 351.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1326, allocations: 44.5 kB / 351.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.1327, allocations: 23.92 kB / 351.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.133, allocations: 310.9 kB / 352.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.133, allocations: 7.938 kB / 352.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007272/0.1337, allocations: 243 kB / 352.4 MB, free: 10.54 MB / 302.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.001985/0.1357, allocations: 1.445 MB / 353.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1376, allocations: 0.8615 MB / 354.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1376, allocations: 3.906 kB / 354.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.1382, allocations: 267.3 kB / 355 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.1387, allocations: 87.06 kB / 355 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.146, allocations: 5.282 MB / 360.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1465, allocations: 0.8958 MB / 361.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004447/0.147, allocations: 112.6 kB / 361.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.1473, allocations: 227.4 kB / 361.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1473, allocations: 4 kB / 361.6 MB, free: 1.062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.182, allocations: 11.56 MB / 373.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.765, allocations: 15.77 kB / 373.1 MB, free: 5.406 MB / 318.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