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.001093/0.001093, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.001069/0.001069, allocations: 192 kB / 18.62 MB, free: 4.434 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.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009887/0.0009887, allocations: 47.47 kB / 302 MB, free: 5.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1023, allocations: 49.45 MB / 351.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005005/0.1074, allocations: 3.612 MB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1095, allocations: 1.239 MB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1097, allocations: 15.94 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1099, allocations: 86.98 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1103, allocations: 138.8 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.111, allocations: 395.4 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.1119, allocations: 0.8689 MB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.1124, allocations: 381.7 kB / 358.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.1128, allocations: 326.7 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.1131, allocations: 354.3 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.1133, allocations: 100 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1134, allocations: 96 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1135, allocations: 203.4 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.1139, allocations: 394 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.1147, allocations: 0.9967 MB / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1147, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1147, allocations: 0 / 360.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1148, allocations: 4 kB / 360.6 MB, free: 10.52 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.001846/0.1166, allocations: 1.029 MB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1166, allocations: 8.031 kB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1168, allocations: 80 kB / 361.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000928/0.1177, allocations: 0.6003 MB / 362.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.1178, allocations: 49.69 kB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/0.1179, allocations: 63.94 kB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.119, allocations: 0.6682 MB / 363.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.1191, allocations: 0 / 363.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.1191, allocations: 27.98 kB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1192, allocations: 12 kB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1202, allocations: 0.497 MB / 363.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.1231, allocations: 1.878 MB / 365.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.124, allocations: 489.6 kB / 366 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.1245, allocations: 222 kB / 366.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.1245, allocations: 8.422 kB / 366.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.1253, allocations: 389.2 kB / 366.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.894e-06/0.1253, allocations: 0 / 366.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001559/0.1268, allocations: 0.7286 MB / 367.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.1269, allocations: 115.2 kB / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.1274, allocations: 445.8 kB / 367.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.1275, allocations: 45.7 kB / 368 MB, free: 2.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1277, allocations: 320.3 kB / 368.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1279, allocations: 165.6 kB / 368.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.128, allocations: 122.3 kB / 368.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1282, allocations: 366.8 kB / 368.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.1286, allocations: 207.4 kB / 369.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.1292, allocations: 425 kB / 369.5 MB, free: 1.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.1302, allocations: 0.619 MB / 370.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1303, allocations: 0 / 370.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.1524/0.2827, allocations: 0.6638 MB / 370.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.2828, allocations: 18.12 kB / 370.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.2828, allocations: 6.281 kB / 370.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.2828, allocations: 9.844 kB / 370.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.2834, allocations: 136.2 kB / 371 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.2834, allocations: 14.58 kB / 371 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.2839, allocations: 78.5 kB / 371.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.284, allocations: 29.91 kB / 371.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005472/0.2845, allocations: 344.1 kB / 371.4 MB, free: 24.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004422/0.285, allocations: 392.5 kB / 371.8 MB, free: 24.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007563/0.2857, allocations: 0.5798 MB / 372.4 MB, free: 24.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.147e-06/0.2857, allocations: 1.406 kB / 372.4 MB, free: 24.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001044/0.2868, allocations: 0.6273 MB / 373 MB, free: 24.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2868, allocations: 7.594 kB / 373 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2868, allocations: 9.875 kB / 373 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2868, allocations: 12.98 kB / 373.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.2873, allocations: 126.3 kB / 373.2 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.2873, allocations: 16.34 kB / 373.2 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.2877, allocations: 62.84 kB / 373.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.2877, allocations: 35.08 kB / 373.3 MB, free: 24.2 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.0001535/0.2879, allocations: 241.8 kB / 373.5 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.288, allocations: 55.77 kB / 373.6 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2891, allocations: 0.5812 MB / 374.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2892, allocations: 6.5 kB / 374.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2892, allocations: 0.8438 kB / 374.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2892, allocations: 9.359 kB / 374.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.2898, allocations: 0.6441 MB / 374.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2898, allocations: 0.9375 kB / 374.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.2903, allocations: 85.84 kB / 374.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2903, allocations: 3.422 kB / 374.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.2903, allocations: 16.08 kB / 374.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2904, allocations: 3 kB / 374.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2904, allocations: 0 / 374.9 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.2919, allocations: 0.8743 MB / 375.8 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.282e-05/0.292, allocations: 131.2 kB / 375.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/0.2921, allocations: 18.16 kB / 375.9 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2924, allocations: 38.47 kB / 376 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2925, allocations: 53.67 kB / 376 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.2926, allocations: 24.39 kB / 376.1 MB, free: 22.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000309/0.2929, allocations: 301.1 kB / 376.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 0 / 376.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006993/0.2936, allocations: 250.2 kB / 376.6 MB, free: 22.77 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.0001278/0.2937, allocations: 133.6 kB / 376.7 MB, free: 22.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.2953, allocations: 0.8237 MB / 377.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2953, allocations: 1.281 kB / 377.6 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.2958, allocations: 274.5 kB / 377.8 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2962, allocations: 87.8 kB / 377.9 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2979, allocations: 1.137 MB / 379 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2983, allocations: 0.8985 MB / 379.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.2987, allocations: 106.9 kB / 380 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2988, allocations: 54.03 kB / 380.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2988, allocations: 0 / 380.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of Templates: time 0.01103/0.3098, allocations: 6.016 MB / 386.1 MB, free: 19.51 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 -s gbode -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