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.001424/0.001424, allocations: 109.7 kB / 16.51 MB, free: 6.707 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.001076/0.001076, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 40.56 kB / 299.9 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09203, allocations: 49.45 MB / 349.4 MB, free: 4.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005368/0.09744, allocations: 3.642 MB / 353 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.09976, allocations: 1.2 MB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.1003, allocations: 11.94 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.1008, allocations: 51.5 kB / 354.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.1013, allocations: 111.1 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.1022, allocations: 365.5 kB / 354.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009027/0.1031, allocations: 0.787 MB / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.1037, allocations: 361.7 kB / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.1041, allocations: 270.8 kB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.1046, allocations: 326.2 kB / 356.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.1047, allocations: 40 kB / 356.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1048, allocations: 36 kB / 356.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.105, allocations: 147.4 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.1054, allocations: 338 kB / 357 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.1062, allocations: 0.9192 MB / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1063, allocations: 0 / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1063, allocations: 0 / 358 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.1063, allocations: 0 / 358 MB, free: 11.99 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.002099/0.1084, allocations: 1.029 MB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1085, allocations: 8.031 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.1086, allocations: 84 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.1096, allocations: 0.5925 MB / 359.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.1096, allocations: 53.69 kB / 359.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.1097, allocations: 67.92 kB / 359.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.111, allocations: 0.6527 MB / 360.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.111, allocations: 0 / 360.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.1111, allocations: 28 kB / 360.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1111, allocations: 12 kB / 360.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1122, allocations: 0.497 MB / 361 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.1151, allocations: 1.901 MB / 362.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.1161, allocations: 497.1 kB / 363.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.1166, allocations: 222 kB / 363.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.1166, allocations: 16.42 kB / 363.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007114/0.1173, allocations: 381.2 kB / 364 MB, free: 5.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 3.817e-06/0.1173, allocations: 0 / 364 MB, free: 5.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001641/0.119, allocations: 0.7247 MB / 364.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.1191, allocations: 119.2 kB / 364.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.1196, allocations: 445.8 kB / 365.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.1196, allocations: 45.69 kB / 365.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1199, allocations: 316.3 kB / 365.6 MB, free: 4.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.12, allocations: 169.6 kB / 365.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.1202, allocations: 126.2 kB / 365.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1204, allocations: 370.8 kB / 366.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1209, allocations: 203.4 kB / 366.4 MB, free: 3.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.1215, allocations: 417 kB / 366.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1226, allocations: 0.6197 MB / 367.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1226, allocations: 0 / 367.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001327/0.1239, allocations: 0.6788 MB / 368.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.124, allocations: 11.94 kB / 368.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.124, allocations: 8 kB / 368.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.124, allocations: 8.469 kB / 368.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.1246, allocations: 143.7 kB / 368.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.1246, allocations: 15.92 kB / 368.3 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.125, allocations: 79.48 kB / 368.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.1251, allocations: 28 kB / 368.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005529/0.1256, allocations: 345.3 kB / 368.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004926/0.1261, allocations: 385.1 kB / 369.2 MB, free: 236 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1727/0.2989, allocations: 0.5678 MB / 369.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.37e-05/0.299, allocations: 3 kB / 369.7 MB, free: 24.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001396/0.3004, allocations: 0.635 MB / 370.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3004, allocations: 7.828 kB / 370.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3004, allocations: 11.64 kB / 370.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3004, allocations: 13.03 kB / 370.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.3009, allocations: 123.9 kB / 370.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.301, allocations: 15.64 kB / 370.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.3013, allocations: 67.33 kB / 370.6 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3014, allocations: 28.42 kB / 370.6 MB, free: 24.36 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.000232/0.3016, allocations: 243 kB / 370.9 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3017, allocations: 61.2 kB / 370.9 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.3031, allocations: 0.5761 MB / 371.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3031, allocations: 6.344 kB / 371.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3031, allocations: 1.531 kB / 371.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3031, allocations: 2.297 kB / 371.5 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.3039, allocations: 0.6418 MB / 372.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3039, allocations: 0 / 372.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.3043, allocations: 91.3 kB / 372.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3044, allocations: 2.375 kB / 372.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.3044, allocations: 18.45 kB / 372.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3044, allocations: 1.156 kB / 372.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3044, allocations: 0.75 kB / 372.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.3062, allocations: 0.8732 MB / 373.1 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.3063, allocations: 136.5 kB / 373.3 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3064, allocations: 15.16 kB / 373.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.3067, allocations: 42.75 kB / 373.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3069, allocations: 47.72 kB / 373.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.3069, allocations: 24.98 kB / 373.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003335/0.3072, allocations: 304.5 kB / 373.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3073, allocations: 0 / 373.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007892/0.308, allocations: 247 kB / 373.9 MB, free: 23.19 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.0001502/0.3082, allocations: 138.8 kB / 374.1 MB, free: 23.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3099, allocations: 0.8201 MB / 374.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3099, allocations: 0 / 374.9 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.3105, allocations: 268.7 kB / 375.1 MB, free: 22.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.311, allocations: 85.05 kB / 375.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3129, allocations: 1.407 MB / 376.6 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3133, allocations: 0.8987 MB / 377.5 MB, free: 21.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.3138, allocations: 108.6 kB / 377.6 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3139, allocations: 49.8 kB / 377.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3139, allocations: 0.9062 kB / 377.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01203/0.326, allocations: 5.55 MB / 383.2 MB, free: 20.09 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins/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