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.001131/0.001131, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001416, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 65.48 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004679/0.1154, allocations: 3.721 MB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1176, allocations: 1.399 MB / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1178, allocations: 15.88 kB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1181, allocations: 90.92 kB / 364.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1185, allocations: 138.7 kB / 364.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.1192, allocations: 458.7 kB / 364.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.12, allocations: 0.9155 MB / 365.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.1205, allocations: 393.8 kB / 366 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.1209, allocations: 346.6 kB / 366.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.1213, allocations: 362.2 kB / 366.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1214, allocations: 104 kB / 366.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1216, allocations: 112 kB / 366.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1218, allocations: 211.3 kB / 367.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.1221, allocations: 409.9 kB / 367.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.123, allocations: 1.055 MB / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.123, allocations: 0 / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.123, allocations: 0 / 368.6 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.123, allocations: 0 / 368.6 MB, free: 3.633 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.001833/0.1248, allocations: 1.072 MB / 369.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1249, allocations: 8.031 kB / 369.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006374/0.1255, allocations: 147.8 kB / 369.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.1265, allocations: 0.6725 MB / 370.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.1266, allocations: 45.69 kB / 370.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.1267, allocations: 68.31 kB / 370.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.1279, allocations: 0.6606 MB / 371.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1279, allocations: 3.938 kB / 371.2 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.128, allocations: 27.98 kB / 371.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.128, allocations: 12 kB / 371.3 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.129, allocations: 0.497 MB / 371.8 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2238/0.3528, allocations: 1.89 MB / 373.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3539, allocations: 492.9 kB / 374.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.3544, allocations: 213 kB / 374.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.3545, allocations: 13.92 kB / 374.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/0.3553, allocations: 386.9 kB / 374.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 4.077e-06/0.3554, allocations: 0 / 374.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001965/0.3573, allocations: 0.7272 MB / 375.5 MB, free: 19.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.3574, allocations: 117.1 kB / 375.6 MB, free: 19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.3581, allocations: 494.4 kB / 376.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.3582, allocations: 42.8 kB / 376.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3584, allocations: 337.2 kB / 376.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.3586, allocations: 162.6 kB / 376.6 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.3588, allocations: 126.6 kB / 376.7 MB, free: 18.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3589, allocations: 376.5 kB / 377.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.3594, allocations: 208.2 kB / 377.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.36, allocations: 421.2 kB / 377.7 MB, free: 17.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.361, allocations: 0.6181 MB / 378.3 MB, free: 17.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.361, allocations: 1.469 kB / 378.3 MB, free: 17.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001391/0.3624, allocations: 0.685 MB / 379 MB, free: 16.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3625, allocations: 8.688 kB / 379 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3625, allocations: 7.219 kB / 379 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/0.3625, allocations: 10.16 kB / 379 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.3631, allocations: 137.3 kB / 379.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.3631, allocations: 15.28 kB / 379.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.3636, allocations: 81.14 kB / 379.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.3637, allocations: 28.06 kB / 379.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005992/0.3643, allocations: 350.4 kB / 379.6 MB, free: 16.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004947/0.3648, allocations: 396 kB / 380 MB, free: 16.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008356/0.3656, allocations: 0.5743 MB / 380.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.3656, allocations: 1.625 kB / 380.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001136/0.3668, allocations: 0.6328 MB / 381.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3668, allocations: 9.484 kB / 381.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3668, allocations: 5.75 kB / 381.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3668, allocations: 10.06 kB / 381.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.3673, allocations: 127.1 kB / 381.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3673, allocations: 19.52 kB / 381.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.3677, allocations: 67.41 kB / 381.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.3677, allocations: 28.86 kB / 381.5 MB, free: 15.57 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.0002221/0.368, allocations: 249.7 kB / 381.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.3681, allocations: 58.72 kB / 381.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3693, allocations: 0.5877 MB / 382.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3693, allocations: 5.781 kB / 382.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3693, allocations: 4.312 kB / 382.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3694, allocations: 2.719 kB / 382.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.3702, allocations: 0.6495 MB / 383 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3702, allocations: 0 / 383 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.3706, allocations: 91.7 kB / 383.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3706, allocations: 2.125 kB / 383.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.3707, allocations: 20.08 kB / 383.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3707, allocations: 2.797 kB / 383.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3707, allocations: 1.125 kB / 383.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3724, allocations: 0.8804 MB / 384 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3726, allocations: 139.7 kB / 384.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.3727, allocations: 13.42 kB / 384.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.373, allocations: 40.78 kB / 384.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.3731, allocations: 41.39 kB / 384.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3732, allocations: 21.53 kB / 384.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004582/0.3736, allocations: 340 kB / 384.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3736, allocations: 0 / 384.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009951/0.3746, allocations: 255.8 kB / 384.9 MB, free: 13.89 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.0002103/0.3748, allocations: 129.1 kB / 385 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.3769, allocations: 0.8328 MB / 385.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.377, allocations: 0 / 385.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.3776, allocations: 269.7 kB / 386.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.3781, allocations: 95 kB / 386.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.3806, allocations: 1.186 MB / 387.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.3811, allocations: 0.9136 MB / 388.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.3815, allocations: 114.1 kB / 388.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3817, allocations: 55.53 kB / 388.5 MB, free: 12 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3817, allocations: 0 / 388.5 MB, free: 12 MB / 302.1 MB Notification: Performance of Templates: time 0.0125/0.3942, allocations: 6.183 MB / 394.6 MB, free: 9.516 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 cvode -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