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.001145/0.001146, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.001249/0.001249, allocations: 191 kB / 18 MB, free: 5.102 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.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 47.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3967, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.006572/0.4033, allocations: 3.632 MB / 404.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.4066, allocations: 1.235 MB / 405.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008593/0.4075, allocations: 15.94 kB / 405.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.408, allocations: 82.98 kB / 405.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.4089, allocations: 134.8 kB / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.4101, allocations: 405.6 kB / 406.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.4114, allocations: 0.8689 MB / 407.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.4122, allocations: 377.7 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.4128, allocations: 326.8 kB / 407.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.4135, allocations: 358.3 kB / 408.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.4137, allocations: 96 kB / 408.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.414, allocations: 96 kB / 408.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.4142, allocations: 207.4 kB / 408.5 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005356/0.4147, allocations: 386.1 kB / 408.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.416, allocations: 1.004 MB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.416, allocations: 0 / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.416, allocations: 0 / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.486e-05/0.4161, allocations: 0 / 409.9 MB, free: 15.7 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.002658/0.4188, allocations: 1.052 MB / 410.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4188, allocations: 11.89 kB / 410.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.4191, allocations: 88.42 kB / 411 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4203, allocations: 0.5969 MB / 411.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.4204, allocations: 57.44 kB / 411.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4205, allocations: 63.95 kB / 411.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4217, allocations: 0.6488 MB / 412.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.4218, allocations: 11.98 kB / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.4219, allocations: 24 kB / 412.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4219, allocations: 15.94 kB / 412.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.423, allocations: 0.4892 MB / 412.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.4259, allocations: 1.898 MB / 414.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.4269, allocations: 485.2 kB / 415.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.4273, allocations: 218.1 kB / 415.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.4274, allocations: 12.41 kB / 415.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007291/0.4281, allocations: 393 kB / 415.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.4281, allocations: 0 / 415.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001626/0.4298, allocations: 0.7251 MB / 416.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.4299, allocations: 119.2 kB / 416.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.4304, allocations: 453.8 kB / 417.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.4304, allocations: 45.69 kB / 417.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.4307, allocations: 321 kB / 417.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4308, allocations: 170.5 kB / 417.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.431, allocations: 126.3 kB / 417.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4312, allocations: 366.8 kB / 418.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.4317, allocations: 215.2 kB / 418.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.4324, allocations: 417 kB / 418.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4335, allocations: 0.612 MB / 419.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4335, allocations: 0 / 419.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001411/0.435, allocations: 0.6786 MB / 420.1 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.435, allocations: 15.97 kB / 420.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.435, allocations: 8 kB / 420.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.435, allocations: 8 kB / 420.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.4356, allocations: 143.7 kB / 420.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.4356, allocations: 11.94 kB / 420.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.4361, allocations: 79.58 kB / 420.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.4361, allocations: 39.98 kB / 420.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005838/0.4367, allocations: 341.3 kB / 420.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005383/0.4373, allocations: 393 kB / 421.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009372/0.4382, allocations: 0.5697 MB / 421.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-06/0.4382, allocations: 4 kB / 421.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001201/0.4394, allocations: 0.6302 MB / 422.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4395, allocations: 8 kB / 422.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4395, allocations: 11.94 kB / 422.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4395, allocations: 8 kB / 422.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.44, allocations: 128.3 kB / 422.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.44, allocations: 19.92 kB / 422.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.4404, allocations: 71.64 kB / 422.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.4405, allocations: 24 kB / 422.6 MB, free: 2.324 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.0002322/0.4407, allocations: 235.2 kB / 422.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.4408, allocations: 63.55 kB / 422.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.4421, allocations: 0.5829 MB / 423.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4421, allocations: 8 kB / 423.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4421, allocations: 0 / 423.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4421, allocations: 4 kB / 423.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.4428, allocations: 0.6342 MB / 424.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4429, allocations: 0 / 424.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.4433, allocations: 95.8 kB / 424.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4433, allocations: 7.875 kB / 424.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.4434, allocations: 15.98 kB / 424.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4434, allocations: 4 kB / 424.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4434, allocations: 7.938 kB / 424.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.4451, allocations: 0.8672 MB / 425.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.4453, allocations: 144.6 kB / 425.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.4454, allocations: 12 kB / 425.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4457, allocations: 39.95 kB / 425.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4459, allocations: 40.52 kB / 425.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.4459, allocations: 27.97 kB / 425.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003413/0.4463, allocations: 303.1 kB / 425.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4463, allocations: 0 / 425.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007964/0.4471, allocations: 247.3 kB / 425.9 MB, free: 14.92 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.0001688/0.4472, allocations: 132.8 kB / 426 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.449, allocations: 0.8239 MB / 426.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.449, allocations: 1.438 kB / 426.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.4496, allocations: 271.1 kB / 427.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.45, allocations: 81.94 kB / 427.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.4522, allocations: 1.168 MB / 428.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.4527, allocations: 0.9113 MB / 429.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.4531, allocations: 108.6 kB / 429.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.4533, allocations: 51.42 kB / 429.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4533, allocations: 0 / 429.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Templates: time 0.01228/0.4656, allocations: 6.102 MB / 435.6 MB, free: 5.238 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/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