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: 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_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001674, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 63.8 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005436/0.1227, allocations: 3.725 MB / 362.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.1255, allocations: 1.391 MB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.1258, allocations: 11.94 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1262, allocations: 90.92 kB / 364.1 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.1266, allocations: 146.6 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1277, allocations: 466.6 kB / 364.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008724/0.1286, allocations: 0.9078 MB / 365.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.1291, allocations: 393.9 kB / 366 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.1296, allocations: 342.7 kB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.13, allocations: 378.1 kB / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.1301, allocations: 100 kB / 366.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1303, allocations: 108 kB / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1305, allocations: 211.3 kB / 367.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.1309, allocations: 417.8 kB / 367.5 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009526/0.1318, allocations: 1.055 MB / 368.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1318, allocations: 0 / 368.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1318, allocations: 0 / 368.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1319, allocations: 0 / 368.6 MB, free: 3.578 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.002043/0.1339, allocations: 1.072 MB / 369.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.134, allocations: 12.03 kB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006689/0.1346, allocations: 143.8 kB / 369.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1357, allocations: 0.6608 MB / 370.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.1358, allocations: 57.67 kB / 370.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.1359, allocations: 64.31 kB / 370.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1371, allocations: 0.6528 MB / 371.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1371, allocations: 8 kB / 371.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.1372, allocations: 20 kB / 371.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1372, allocations: 16 kB / 371.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1383, allocations: 0.5009 MB / 371.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2249/0.3632, allocations: 1.887 MB / 373.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3643, allocations: 492.6 kB / 374.1 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.3649, allocations: 211.1 kB / 374.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.3649, allocations: 13.97 kB / 374.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008695/0.3658, allocations: 388.2 kB / 374.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.206e-06/0.3658, allocations: 1.094 kB / 374.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001843/0.3677, allocations: 0.7298 MB / 375.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3677, allocations: 116.7 kB / 375.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/0.3684, allocations: 493 kB / 376.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.3684, allocations: 39.95 kB / 376.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3686, allocations: 342.4 kB / 376.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3687, allocations: 159.9 kB / 376.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.3689, allocations: 124.9 kB / 376.7 MB, free: 17.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3691, allocations: 378.1 kB / 377.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.3695, allocations: 211.4 kB / 377.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.3701, allocations: 419.4 kB / 377.7 MB, free: 17.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3712, allocations: 0.6231 MB / 378.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3712, allocations: 4.188 kB / 378.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001409/0.3726, allocations: 0.6772 MB / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3727, allocations: 7.25 kB / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.3727, allocations: 6.906 kB / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/0.3728, allocations: 11.47 kB / 379 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.3733, allocations: 141 kB / 379.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/0.3734, allocations: 14.47 kB / 379.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.3738, allocations: 83.62 kB / 379.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.3739, allocations: 28.05 kB / 379.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006137/0.3745, allocations: 349.5 kB / 379.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005244/0.375, allocations: 396 kB / 380 MB, free: 15.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008722/0.3759, allocations: 0.5741 MB / 380.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/0.3759, allocations: 2.594 kB / 380.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001284/0.3772, allocations: 0.631 MB / 381.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3773, allocations: 8.766 kB / 381.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3773, allocations: 10.91 kB / 381.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3773, allocations: 9.625 kB / 381.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.3778, allocations: 127.9 kB / 381.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.3778, allocations: 14.88 kB / 381.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.3782, allocations: 62.8 kB / 381.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.3783, allocations: 31.39 kB / 381.5 MB, free: 15.24 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.0002557/0.3785, allocations: 248.2 kB / 381.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.3786, allocations: 56.91 kB / 381.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.3801, allocations: 0.5924 MB / 382.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3801, allocations: 7.359 kB / 382.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3801, allocations: 5.062 kB / 382.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3801, allocations: 2.766 kB / 382.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.3811, allocations: 0.6447 MB / 383 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3811, allocations: 0 / 383 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3815, allocations: 88.2 kB / 383.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3815, allocations: 10.88 kB / 383.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.3816, allocations: 17.11 kB / 383.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3816, allocations: 1.406 kB / 383.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3816, allocations: 0 / 383.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.3835, allocations: 0.8772 MB / 384 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3836, allocations: 140.2 kB / 384.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.3837, allocations: 14.27 kB / 384.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.384, allocations: 47.16 kB / 384.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.3841, allocations: 45.38 kB / 384.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.3842, allocations: 17.34 kB / 384.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005158/0.3847, allocations: 336.2 kB / 384.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3847, allocations: 0 / 384.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009306/0.3857, allocations: 251.4 kB / 384.9 MB, free: 13.57 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.0002027/0.3859, allocations: 141 kB / 385 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3879, allocations: 0.8259 MB / 385.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3879, allocations: 1.344 kB / 385.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.3886, allocations: 272.6 kB / 386.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.3891, allocations: 83.16 kB / 386.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3915, allocations: 1.191 MB / 387.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.392, allocations: 0.9111 MB / 388.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.3925, allocations: 111.8 kB / 388.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3926, allocations: 60.39 kB / 388.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3926, allocations: 4 kB / 388.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01378/0.4064, allocations: 6.17 MB / 394.6 MB, free: 9.199 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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) Reference file matches