Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 104 kB / 17.59 MB, free: 5.586 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.001517/0.001517, allocations: 187.6 kB / 18.51 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.2 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 43 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09726, allocations: 49.45 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005466/0.1028, allocations: 3.62 MB / 354.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1051, allocations: 1.231 MB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.1055, allocations: 12 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1057, allocations: 86.92 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.1062, allocations: 134.8 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.107, allocations: 398.7 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.1079, allocations: 0.8612 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.1085, allocations: 385.7 kB / 357.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.1089, allocations: 326.7 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.1093, allocations: 358.3 kB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.1095, allocations: 100 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1096, allocations: 96 kB / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1098, allocations: 203.4 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.1101, allocations: 394.1 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.1109, allocations: 0.9622 MB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1109, allocations: 0 / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1109, allocations: 0 / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.111, allocations: 0 / 359.8 MB, free: 11.27 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.001865/0.1128, allocations: 1.025 MB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1129, allocations: 8.031 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.113, allocations: 88 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.1139, allocations: 0.5886 MB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.114, allocations: 49.69 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.1141, allocations: 63.94 kB / 361.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1152, allocations: 0.6643 MB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1153, allocations: 8 kB / 362.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/0.1153, allocations: 23.98 kB / 362.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1153, allocations: 12 kB / 362.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1164, allocations: 0.497 MB / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.1194, allocations: 1.909 MB / 364.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.1204, allocations: 497 kB / 365.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.1208, allocations: 218.1 kB / 365.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.1209, allocations: 12.42 kB / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000758/0.1217, allocations: 400.4 kB / 365.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.336e-06/0.1217, allocations: 0 / 365.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001693/0.1234, allocations: 0.7287 MB / 366.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.1235, allocations: 107.2 kB / 366.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.124, allocations: 453.7 kB / 367.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.124, allocations: 41.7 kB / 367.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1243, allocations: 320.3 kB / 367.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1244, allocations: 165.6 kB / 367.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1246, allocations: 126.3 kB / 367.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1248, allocations: 370.7 kB / 368.1 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.1252, allocations: 203.4 kB / 368.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.1258, allocations: 425 kB / 368.8 MB, free: 1.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1269, allocations: 0.6121 MB / 369.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.1269, allocations: 4 kB / 369.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001318/0.1282, allocations: 0.6757 MB / 370.1 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1283, allocations: 14.75 kB / 370.1 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1283, allocations: 8 kB / 370.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1283, allocations: 8 kB / 370.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.1289, allocations: 136 kB / 370.2 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.1289, allocations: 15.94 kB / 370.2 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.1293, allocations: 71.5 kB / 370.3 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.1294, allocations: 35.98 kB / 370.3 MB, free: 320 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1592/0.2885, allocations: 333.4 kB / 370.7 MB, free: 24.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008277/0.2894, allocations: 391.8 kB / 371 MB, free: 24.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/0.2904, allocations: 0.5724 MB / 371.6 MB, free: 24.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.782e-06/0.2905, allocations: 2.438 kB / 371.6 MB, free: 24.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001274/0.2917, allocations: 0.6336 MB / 372.3 MB, free: 24.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2918, allocations: 7.5 kB / 372.3 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2918, allocations: 7.891 kB / 372.3 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2918, allocations: 17.22 kB / 372.3 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2923, allocations: 121.6 kB / 372.4 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.2923, allocations: 15.84 kB / 372.4 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.2927, allocations: 66.45 kB / 372.5 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.2928, allocations: 29.16 kB / 372.5 MB, free: 24.41 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.0002189/0.293, allocations: 239.2 kB / 372.7 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.2931, allocations: 57.88 kB / 372.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.2944, allocations: 0.5811 MB / 373.4 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.2944, allocations: 5.438 kB / 373.4 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2945, allocations: 0.5938 kB / 373.4 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2945, allocations: 5.75 kB / 373.4 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.2952, allocations: 0.6384 MB / 374 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2953, allocations: 0 / 374 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.2957, allocations: 90.45 kB / 374.1 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2957, allocations: 2.781 kB / 374.1 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.2958, allocations: 17.53 kB / 374.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2958, allocations: 9 kB / 374.1 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2958, allocations: 1.5 kB / 374.2 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2975, allocations: 0.8717 MB / 375 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.2976, allocations: 143.2 kB / 375.2 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.2977, allocations: 13.94 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.298, allocations: 41.75 kB / 375.2 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2981, allocations: 44.05 kB / 375.3 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.2982, allocations: 20.2 kB / 375.3 MB, free: 23.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000369/0.2986, allocations: 305.2 kB / 375.6 MB, free: 23.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.2986, allocations: 1.5 kB / 375.6 MB, free: 23.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008014/0.2994, allocations: 242 kB / 375.8 MB, free: 23.14 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.0001793/0.2996, allocations: 133.6 kB / 375.9 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.3015, allocations: 0.8658 MB / 376.8 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3015, allocations: 0 / 376.8 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.3021, allocations: 280.5 kB / 377.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3026, allocations: 84.56 kB / 377.2 MB, free: 22.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.3046, allocations: 1.203 MB / 378.4 MB, free: 21.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.305, allocations: 0.8984 MB / 379.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3052, allocations: 58.31 kB / 379.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3052, allocations: 0 / 379.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01394/0.3191, allocations: 7.79 MB / 387.1 MB, free: 18.76 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches