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.001002/0.001002, allocations: 92.62 kB / 17.3 MB, free: 6.387 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.001105/0.001105, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.629/1.629, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004702/0.0004703, allocations: 12 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09281, allocations: 47.58 MB / 329.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.00405/0.09691, allocations: 3.198 MB / 332.2 MB, free: 472 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.09923, allocations: 1.216 MB / 333.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.09959, allocations: 11.94 kB / 333.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.09978, allocations: 55.44 kB / 333.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1001, allocations: 99.19 kB / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.1008, allocations: 355.6 kB / 334 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.1015, allocations: 0.779 MB / 334.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.102, allocations: 353.8 kB / 335.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1023, allocations: 218.8 kB / 335.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1026, allocations: 270.4 kB / 335.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.1027, allocations: 24 kB / 335.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.1028, allocations: 24 kB / 335.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1029, allocations: 115.4 kB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1032, allocations: 315.8 kB / 336 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.1039, allocations: 0.872 MB / 336.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1039, allocations: 0 / 336.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1039, allocations: 0 / 336.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.1039, allocations: 0 / 336.9 MB, free: 11.75 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.001782/0.1057, allocations: 0.8926 MB / 337.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1057, allocations: 12.03 kB / 337.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.1059, allocations: 94.69 kB / 337.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.1061, allocations: 84 kB / 338 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009317/0.107, allocations: 0.5965 MB / 338.6 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.1071, allocations: 45.69 kB / 338.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1072, allocations: 72.28 kB / 338.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1084, allocations: 0.6598 MB / 339.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.1085, allocations: 0 / 339.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.1085, allocations: 39.92 kB / 339.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1085, allocations: 12 kB / 339.4 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1097, allocations: 0.5231 MB / 339.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.1128, allocations: 1.896 MB / 341.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1139, allocations: 0.5243 MB / 342.4 MB, free: 6.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.1144, allocations: 238.1 kB / 342.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.1145, allocations: 8.422 kB / 342.6 MB, free: 5.867 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007712/0.1153, allocations: 409.1 kB / 343 MB, free: 5.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.1153, allocations: 0 / 343 MB, free: 5.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.00175/0.117, allocations: 0.7874 MB / 343.8 MB, free: 4.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.1171, allocations: 119.2 kB / 343.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.1177, allocations: 453.8 kB / 344.3 MB, free: 4.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.1177, allocations: 41.7 kB / 344.4 MB, free: 4.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.118, allocations: 312.5 kB / 344.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1181, allocations: 161.7 kB / 344.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.1182, allocations: 69.67 kB / 344.9 MB, free: 3.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1184, allocations: 370.7 kB / 345.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.1189, allocations: 221.2 kB / 345.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/0.1195, allocations: 441 kB / 345.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1207, allocations: 0.6558 MB / 346.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1207, allocations: 4 kB / 346.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001485/0.1222, allocations: 0.7114 MB / 347.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.1224, allocations: 284.4 kB / 347.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.1225, allocations: 4 kB / 347.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.1225, allocations: 15.94 kB / 347.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.1231, allocations: 147.7 kB / 347.7 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.1231, allocations: 15.94 kB / 347.8 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.1236, allocations: 95.34 kB / 347.9 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.1236, allocations: 31.98 kB / 347.9 MB, free: 224 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1237, allocations: 8 kB / 347.9 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.1247, allocations: 0.5738 MB / 348.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1247, allocations: 4 kB / 348.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1247, allocations: 12 kB / 348.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1252, allocations: 131.7 kB / 348.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1252, allocations: 12.25 kB / 348.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1256, allocations: 79.5 kB / 348.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.1257, allocations: 31.98 kB / 348.7 MB, free: 15.37 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.0004446/0.1261, allocations: 311 kB / 349 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1263, allocations: 59.34 kB / 349.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1276, allocations: 0.6336 MB / 349.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.1276, allocations: 8 kB / 349.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1276, allocations: 3.938 kB / 349.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.1276, allocations: 3.984 kB / 349.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.1284, allocations: 0.6302 MB / 350.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1284, allocations: 0 / 350.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.1288, allocations: 103.9 kB / 350.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1289, allocations: 4 kB / 350.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.1289, allocations: 15.98 kB / 350.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.1289, allocations: 4 kB / 350.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1289, allocations: 0 / 350.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.1309, allocations: 0.9371 MB / 351.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.131, allocations: 136.2 kB / 351.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.1312, allocations: 20.05 kB / 351.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.1315, allocations: 51.97 kB / 351.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1317, allocations: 36.5 kB / 351.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.1317, allocations: 27.97 kB / 351.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.1321, allocations: 310.9 kB / 352 MB, free: 11.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1321, allocations: 0 / 352 MB, free: 11.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.1331, allocations: 235.1 kB / 352.2 MB, free: 11.76 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.002276/0.1353, allocations: 1.511 MB / 353.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.1372, allocations: 0.8792 MB / 354.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.1372, allocations: 4 kB / 354.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.1378, allocations: 288.2 kB / 354.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.1384, allocations: 77.86 kB / 355 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.147, allocations: 5.662 MB / 360.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.1476, allocations: 0.8922 MB / 361.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.1481, allocations: 104.6 kB / 361.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.1485, allocations: 231.3 kB / 361.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1485, allocations: 0 / 361.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.3644, allocations: 10.84 MB / 372.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.3647, allocations: 203.8 kB / 372.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.621, allocations: 0 / 372.9 MB, free: 6.699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:THD1,THDrms,V1,V3,der(thd1.harmonic.mean1.x),der(thd1.harmonic.mean2.x),der(thd1.rootMeanSquare.mean.x),der(thdRMS.harmonic.mean1.x),der(thdRMS.harmonic.mean2.x),der(thdRMS.rootMeanSquare.mean.x),f1,ground.p.i,ground.p.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.freqHz,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.freqHz,sineVoltage3.signalSource.offset,sineVoltage3.signalSource.phase,sineVoltage3.signalSource.startTime,sineVoltage3.signalSource.y,sineVoltage3.startTime,sineVoltage3.v,thd1.andValid.u1,thd1.andValid.u2,thd1.andValid.y,thd1.booleanExpression.y,thd1.division.u1,thd1.division.u2,thd1.division.y,thd1.f,thd1.greaterThreshold.threshold,thd1.greaterThreshold.u,thd1.greaterThreshold.y,thd1.harmonic.f,thd1.harmonic.gain.k,thd1.harmonic.gain.u,thd1.harmonic.gain.y,thd1.harmonic.k,thd1.harmonic.mean1.f,thd1.harmonic.mean1.u,thd1.harmonic.mean1.x,thd1.harmonic.mean1.x0,thd1.harmonic.mean1.y,thd1.harmonic.mean1.yGreaterOrEqualZero,thd1.harmonic.mean2.f,thd1.harmonic.mean2.u,thd1.harmonic.mean2.x,thd1.harmonic.mean2.x0,thd1.harmonic.mean2.y,thd1.harmonic.mean2.yGreaterOrEqualZero,thd1.harmonic.product1.nu,thd1.harmonic.product1.significantDigits,thd1.harmonic.product1.u[1],thd1.harmonic.product1.u[2],thd1.harmonic.product1.y,thd1.harmonic.product2.nu,thd1.harmonic.product2.significantDigits,thd1.harmonic.product2.u[1],thd1.harmonic.product2.u[2],thd1.harmonic.product2.y,thd1.harmonic.rectangularToPolar.u_im,thd1.harmonic.rectangularToPolar.u_re,thd1.harmonic.rectangularToPolar.y_abs,thd1.harmonic.rectangularToPolar.y_arg,thd1.harmonic.sin1.amplitude,thd1.harmonic.sin1.freqHz,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.freqHz,thd1.harmonic.sin2.offset,thd1.harmonic.sin2.phase,thd1.harmonic.sin2.startTime,thd1.harmonic.sin2.y,thd1.harmonic.u,thd1.harmonic.useConjugateComplex,thd1.harmonic.x0Cos,thd1.harmonic.x0Sin,thd1.harmonic.y_arg,thd1.harmonic.y_rms,thd1.limiter.homotopyType,thd1.limiter.limitsAtInit,thd1.limiter.strict,thd1.limiter.u,thd1.limiter.uMax,thd1.limiter.uMin,thd1.limiter.y,thd1.pythagoras.u1,thd1.pythagoras.u1IsHypotenuse,thd1.pythagoras.u2,thd1.pythagoras.valid,thd1.pythagoras.y,thd1.rootMeanSquare.f,thd1.rootMeanSquare.mean.f,thd1.rootMeanSquare.mean.u,thd1.rootMeanSquare.mean.x,thd1.rootMeanSquare.mean.x0,thd1.rootMeanSquare.mean.y,thd1.rootMeanSquare.mean.yGreaterOrEqualZero,thd1.rootMeanSquare.product.nu,thd1.rootMeanSquare.product.significantDigits,thd1.rootMeanSquare.product.u[1],thd1.rootMeanSquare.product.u[2],thd1.rootMeanSquare.product.y,thd1.rootMeanSquare.sqrt1.u,thd1.rootMeanSquare.sqrt1.y,thd1.rootMeanSquare.u,thd1.rootMeanSquare.x0,thd1.rootMeanSquare.y,thd1.switch1.u1,thd1.switch1.u2,thd1.switch1.u3,thd1.switch1.y,thd1.u,thd1.useFirstHarmonic,thd1.valid,thd1.y,thdRMS.andValid.u1,thdRMS.andValid.u2,thdRMS.andValid.y,thdRMS.booleanExpression.y,thdRMS.division.u1,thdRMS.division.u2,thdRMS.division.y,thdRMS.f,thdRMS.greaterThreshold.threshold,thdRMS.greaterThreshold.u,thdRMS.greaterThreshold.y,thdRMS.harmonic.f,thdRMS.harmonic.gain.k,thdRMS.harmonic.gain.u,thdRMS.harmonic.gain.y,thdRMS.harmonic.k,thdRMS.harmonic.mean1.f,thdRMS.harmonic.mean1.u,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean1.x0,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean1.yGreaterOrEqualZero,thdRMS.harmonic.mean2.f,thdRMS.harmonic.mean2.u,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean2.x0,thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean2.yGreaterOrEqualZero,thdRMS.harmonic.product1.nu,thdRMS.harmonic.product1.significantDigits,thdRMS.harmonic.product1.u[1],thdRMS.harmonic.product1.u[2],thdRMS.harmonic.product1.y,thdRMS.harmonic.product2.nu,thdRMS.harmonic.product2.significantDigits,thdRMS.harmonic.product2.u[1],thdRMS.harmonic.product2.u[2],thdRMS.harmonic.product2.y,thdRMS.harmonic.rectangularToPolar.u_im,thdRMS.harmonic.rectangularToPolar.u_re,thdRMS.harmonic.rectangularToPolar.y_abs,thdRMS.harmonic.rectangularToPolar.y_arg,thdRMS.harmonic.sin1.amplitude,thdRMS.harmonic.sin1.freqHz,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.freqHz,thdRMS.harmonic.sin2.offset,thdRMS.harmonic.sin2.phase,thdRMS.harmonic.sin2.startTime,thdRMS.harmonic.sin2.y,thdRMS.harmonic.u,thdRMS.harmonic.useConjugateComplex,thdRMS.harmonic.x0Cos,thdRMS.harmonic.x0Sin,thdRMS.harmonic.y_arg,thdRMS.harmonic.y_rms,thdRMS.limiter.homotopyType,thdRMS.limiter.limitsAtInit,thdRMS.limiter.strict,thdRMS.limiter.u,thdRMS.limiter.uMax,thdRMS.limiter.uMin,thdRMS.limiter.y,thdRMS.pythagoras.u1,thdRMS.pythagoras.u1IsHypotenuse,thdRMS.pythagoras.u2,thdRMS.pythagoras.valid,thdRMS.pythagoras.y,thdRMS.rootMeanSquare.f,thdRMS.rootMeanSquare.mean.f,thdRMS.rootMeanSquare.mean.u,thdRMS.rootMeanSquare.mean.x,thdRMS.rootMeanSquare.mean.x0,thdRMS.rootMeanSquare.mean.y,thdRMS.rootMeanSquare.mean.yGreaterOrEqualZero,thdRMS.rootMeanSquare.product.nu,thdRMS.rootMeanSquare.product.significantDigits,thdRMS.rootMeanSquare.product.u[1],thdRMS.rootMeanSquare.product.u[2],thdRMS.rootMeanSquare.product.y,thdRMS.rootMeanSquare.sqrt1.u,thdRMS.rootMeanSquare.sqrt1.y,thdRMS.rootMeanSquare.u,thdRMS.rootMeanSquare.x0,thdRMS.rootMeanSquare.y,thdRMS.switch1.u1,thdRMS.switch1.u2,thdRMS.switch1.u3,thdRMS.switch1.y,thdRMS.u,thdRMS.useFirstHarmonic,thdRMS.valid,thdRMS.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v