Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008304/0.0008304, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008271/0.0008274, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002247, allocations: 11.98 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08526, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.003845/0.08914, allocations: 3.335 MB / 362.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.09153, allocations: 1.34 MB / 364 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.09204, allocations: 11.94 kB / 364 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.09235, allocations: 59.42 kB / 364.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.09292, allocations: 123 kB / 364.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.09394, allocations: 411.2 kB / 364.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.09496, allocations: 0.8296 MB / 365.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.09556, allocations: 369.9 kB / 365.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.096, allocations: 250.6 kB / 366.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.0964, allocations: 286.3 kB / 366.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.09651, allocations: 24 kB / 366.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.09666, allocations: 36 kB / 366.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.0968, allocations: 115.4 kB / 366.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.09714, allocations: 347.6 kB / 366.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.09797, allocations: 0.9305 MB / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09799, allocations: 0 / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09799, allocations: 0 / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.959e-05/0.09803, allocations: 0 / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001936/0.09997, allocations: 0.9358 MB / 368.7 MB, free: 3.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1, allocations: 15.97 kB / 368.7 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.1002, allocations: 102.7 kB / 368.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.1009, allocations: 163.8 kB / 369 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1021, allocations: 0.6608 MB / 369.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.1022, allocations: 49.67 kB / 369.7 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1023, allocations: 60.38 kB / 369.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1036, allocations: 0.6838 MB / 370.4 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.1036, allocations: 8 kB / 370.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.1037, allocations: 20 kB / 370.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1037, allocations: 12 kB / 370.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1049, allocations: 0.5477 MB / 371 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1377/0.2426, allocations: 1.933 MB / 373 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.2436, allocations: 0.528 MB / 373.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.2441, allocations: 234.7 kB / 373.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.2442, allocations: 13.3 kB / 373.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.2449, allocations: 405.5 kB / 374.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.2449, allocations: 0 / 374.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001688/0.2466, allocations: 0.7991 MB / 374.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2467, allocations: 112.3 kB / 375 MB, free: 17.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.2472, allocations: 493.3 kB / 375.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.2472, allocations: 42.38 kB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.2474, allocations: 344.4 kB / 375.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.2475, allocations: 158.1 kB / 376.1 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.2476, allocations: 67.77 kB / 376.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2477, allocations: 378.9 kB / 376.5 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.2481, allocations: 220.7 kB / 376.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.2487, allocations: 441.1 kB / 377.1 MB, free: 16.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.2496, allocations: 0.6585 MB / 377.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2496, allocations: 6.75 kB / 377.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001203/0.2508, allocations: 0.7186 MB / 378.5 MB, free: 16.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.2509, allocations: 276 kB / 378.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2509, allocations: 6.25 kB / 378.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.251, allocations: 10.41 kB / 378.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.2514, allocations: 149.6 kB / 379 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.2515, allocations: 20.86 kB / 379 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2519, allocations: 97.41 kB / 379.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.2519, allocations: 30.75 kB / 379.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.2519, allocations: 3.562 kB / 379.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009055/0.2528, allocations: 0.5779 MB / 379.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2528, allocations: 6.281 kB / 379.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.2529, allocations: 10.78 kB / 379.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.2533, allocations: 133.7 kB / 379.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2533, allocations: 20.11 kB / 379.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2536, allocations: 72.16 kB / 379.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2536, allocations: 28.94 kB / 379.9 MB, free: 15.33 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_last,$PRE.thdRMS.rootMeanSquare.mean.y_last,thdRMS.harmonic.mean2.y_last,$PRE.thdRMS.harmonic.mean2.y_last,thdRMS.harmonic.mean1.y_last,$PRE.thdRMS.harmonic.mean1.y_last,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y_last,$PRE.thd1.rootMeanSquare.mean.y_last,thd1.harmonic.mean2.y_last,$PRE.thd1.harmonic.mean2.y_last,thd1.harmonic.mean1.y_last,$PRE.thd1.harmonic.mean1.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.2539, allocations: 332 kB / 380.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.254, allocations: 63.64 kB / 380.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.2551, allocations: 0.6315 MB / 381 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2551, allocations: 5.344 kB / 381 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2551, allocations: 0 / 381 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2551, allocations: 2.625 kB / 381 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.2557, allocations: 0.6504 MB / 381.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2557, allocations: 0.6562 kB / 381.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.2562, allocations: 99.58 kB / 381.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2562, allocations: 1.875 kB / 381.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.2562, allocations: 16.72 kB / 381.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2562, allocations: 3.328 kB / 381.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2562, allocations: 0 / 381.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.2578, allocations: 0.9482 MB / 382.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.2579, allocations: 139.4 kB / 382.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.258, allocations: 17.88 kB / 382.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2583, allocations: 47.89 kB / 382.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2584, allocations: 47.7 kB / 382.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.2585, allocations: 20.98 kB / 383 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003227/0.2588, allocations: 336.5 kB / 383.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2588, allocations: 0 / 383.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000655/0.2594, allocations: 248.3 kB / 383.5 MB, free: 13.6 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_last,thd1.harmonic.mean2.y_last,thd1.rootMeanSquare.mean.y_last,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y_last,thdRMS.harmonic.mean2.y_last,thdRMS.rootMeanSquare.mean.y_last,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid) * Number of discrete states: 6 (thdRMS.rootMeanSquare.mean.x,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean1.x,thd1.rootMeanSquare.mean.x,thd1.harmonic.mean2.x,thd1.harmonic.mean1.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.2613, allocations: 1.514 MB / 385 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.2628, allocations: 0.8769 MB / 385.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2628, allocations: 0 / 385.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.2633, allocations: 293.9 kB / 386.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2638, allocations: 82.95 kB / 386.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.2706, allocations: 5.877 MB / 392.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2709, allocations: 0.9117 MB / 393.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.2714, allocations: 115.5 kB / 393.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.2717, allocations: 258.4 kB / 393.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2717, allocations: 0 / 393.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.291, allocations: 11.42 MB / 404.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.2913, allocations: 198.7 kB / 405.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.268, allocations: 0 / 405.1 MB, free: 14.83 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.f,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.continuous,sineVoltage1.signalSource.f,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.f,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.continuous,sineVoltage3.signalSource.f,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.y0,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.y0,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.continuous,thd1.harmonic.sin1.f,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.continuous,thd1.harmonic.sin2.f,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.y0Cos,thd1.harmonic.y0Sin,thd1.harmonic.y_arg,thd1.harmonic.y_rms,thd1.limiter.homotopyType,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.y0,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.rootMeanSquare.y0,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.y0,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.y0,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.continuous,thdRMS.harmonic.sin1.f,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.continuous,thdRMS.harmonic.sin2.f,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.y0Cos,thdRMS.harmonic.y0Sin,thdRMS.harmonic.y_arg,thdRMS.harmonic.y_rms,thdRMS.limiter.homotopyType,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.y0,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.rootMeanSquare.y0,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