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.001589/0.001589, allocations: 107.1 kB / 17.74 MB, free: 5.316 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.001645/0.001645, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.661/1.661, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3593, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.00496/0.3643, allocations: 3.632 MB / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3666, allocations: 1.231 MB / 406.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.3669, allocations: 15.94 kB / 406.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3672, allocations: 82.98 kB / 406.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.3676, allocations: 134.8 kB / 406.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.3683, allocations: 410.6 kB / 406.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008816/0.3692, allocations: 0.865 MB / 407.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.3698, allocations: 381.7 kB / 408.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.3702, allocations: 326.8 kB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.3706, allocations: 358.3 kB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3707, allocations: 96 kB / 408.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3708, allocations: 96 kB / 409 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.371, allocations: 203.4 kB / 409.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.3713, allocations: 398 kB / 409.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009252/0.3723, allocations: 0.9939 MB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-05/0.3723, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3723, allocations: 0 / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3723, allocations: 4 kB / 410.6 MB, free: 15.68 MB / 334.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.002002/0.3743, allocations: 1.018 MB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3744, allocations: 12.03 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.3746, allocations: 83.94 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.3756, allocations: 0.6004 MB / 412.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.3756, allocations: 49.44 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.3758, allocations: 60 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.377, allocations: 0.6605 MB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.377, allocations: 7.891 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.3771, allocations: 23.94 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3771, allocations: 16 kB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3782, allocations: 0.497 MB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.3812, allocations: 1.882 MB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.3822, allocations: 497.1 kB / 416 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.3827, allocations: 214 kB / 416.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.3828, allocations: 16.42 kB / 416.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/0.3836, allocations: 393 kB / 416.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.3836, allocations: 0 / 416.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001627/0.3853, allocations: 0.7249 MB / 417.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.3853, allocations: 119.2 kB / 417.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.3858, allocations: 445.8 kB / 417.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.3859, allocations: 41.69 kB / 417.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.3863, allocations: 320.3 kB / 418.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.3864, allocations: 157.8 kB / 418.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3866, allocations: 126.2 kB / 418.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.3869, allocations: 366.8 kB / 418.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.3874, allocations: 215.3 kB / 419 MB, free: 6.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.388, allocations: 417 kB / 419.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3891, allocations: 0.6122 MB / 420.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3891, allocations: 4 kB / 420.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001394/0.3905, allocations: 0.675 MB / 420.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3905, allocations: 14.91 kB / 420.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3906, allocations: 8 kB / 420.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3906, allocations: 8 kB / 420.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.3911, allocations: 139.7 kB / 420.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.3912, allocations: 15.94 kB / 420.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.3916, allocations: 91.48 kB / 421 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.3916, allocations: 24 kB / 421 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005818/0.3922, allocations: 337.3 kB / 421.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006275/0.3929, allocations: 401 kB / 421.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009085/0.3938, allocations: 0.5619 MB / 422.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.3938, allocations: 0 / 422.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001107/0.3949, allocations: 0.6236 MB / 422.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3949, allocations: 8 kB / 423 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.395, allocations: 16.53 kB / 423 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.395, allocations: 12 kB / 423 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.3954, allocations: 131.8 kB / 423.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3954, allocations: 15.92 kB / 423.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3958, allocations: 63.56 kB / 423.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.3959, allocations: 28 kB / 423.2 MB, free: 2.375 MB / 334.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.0002422/0.3961, allocations: 239.1 kB / 423.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.3962, allocations: 67.27 kB / 423.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3975, allocations: 0.5866 MB / 424.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3975, allocations: 8 kB / 424.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3975, allocations: 0 / 424.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3975, allocations: 0 / 424.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007444/0.3983, allocations: 0.6342 MB / 424.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3983, allocations: 0 / 424.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.3987, allocations: 91.8 kB / 424.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3988, allocations: 7.938 kB / 424.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.3988, allocations: 19.98 kB / 424.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3988, allocations: 0 / 424.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3988, allocations: 0 / 424.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4006, allocations: 0.8671 MB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.4007, allocations: 132.2 kB / 425.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.4008, allocations: 20.19 kB / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.4011, allocations: 43.95 kB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4012, allocations: 40.52 kB / 426 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4013, allocations: 23.97 kB / 426 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.4016, allocations: 307.1 kB / 426.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4016, allocations: 0 / 426.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007721/0.4024, allocations: 243 kB / 426.5 MB, free: 14.97 MB / 350.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.0002096/0.4026, allocations: 132.8 kB / 426.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4044, allocations: 0.8276 MB / 427.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.4044, allocations: 3.906 kB / 427.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.4049, allocations: 279.4 kB / 427.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4054, allocations: 77.86 kB / 427.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.4076, allocations: 1.187 MB / 429 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.4082, allocations: 0.9074 MB / 429.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4084, allocations: 59.41 kB / 430 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4084, allocations: 0 / 430 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Templates: time 0.01217/0.4206, allocations: 7.871 MB / 437.8 MB, free: 3.586 MB / 350.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