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.001112/0.001112, allocations: 109.6 kB / 16.92 MB, free: 6.145 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.001144/0.001144, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.424/1.424, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 47.38 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1374, allocations: 49.45 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.006202/0.1436, allocations: 3.613 MB / 353.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1467, allocations: 1.243 MB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.1478, allocations: 11.94 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.1485, allocations: 82.98 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009484/0.1495, allocations: 134.8 kB / 355.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.1508, allocations: 402.8 kB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008187/0.1516, allocations: 0.8612 MB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005659/0.1522, allocations: 381.7 kB / 356.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.1526, allocations: 326.8 kB / 357.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.153, allocations: 354.3 kB / 357.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1531, allocations: 100 kB / 357.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1532, allocations: 100 kB / 357.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.1534, allocations: 195.4 kB / 357.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.1537, allocations: 402 kB / 358.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1548, allocations: 0.9622 MB / 359.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1548, allocations: 4 kB / 359.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1548, allocations: 0 / 359.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1548, allocations: 0 / 359.2 MB, free: 11.25 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.00208/0.1569, allocations: 1.025 MB / 360.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1569, allocations: 12.03 kB / 360.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1571, allocations: 87.98 kB / 360.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.1581, allocations: 0.5808 MB / 360.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.1581, allocations: 53.67 kB / 360.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.1582, allocations: 63.94 kB / 361 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1594, allocations: 0.6604 MB / 361.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1594, allocations: 0 / 361.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.1595, allocations: 20 kB / 361.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1595, allocations: 16 kB / 361.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1605, allocations: 0.5009 MB / 362.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.1636, allocations: 1.905 MB / 364.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.1646, allocations: 0.5014 MB / 364.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.1651, allocations: 206.1 kB / 364.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.1651, allocations: 16.42 kB / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007527/0.1659, allocations: 385.2 kB / 365.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.034e-06/0.1659, allocations: 0 / 365.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001578/0.1675, allocations: 0.7325 MB / 365.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.1676, allocations: 115.2 kB / 366 MB, free: 4.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.1681, allocations: 445.8 kB / 366.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.1681, allocations: 37.7 kB / 366.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.1684, allocations: 324.3 kB / 366.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1685, allocations: 161.7 kB / 367 MB, free: 3.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.1687, allocations: 122.3 kB / 367.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1689, allocations: 374.8 kB / 367.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.1693, allocations: 207.4 kB / 367.7 MB, free: 2.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.1699, allocations: 417 kB / 368.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1709, allocations: 0.6084 MB / 368.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.171, allocations: 4 kB / 368.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001257/0.1722, allocations: 0.6795 MB / 369.4 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1723, allocations: 11.94 kB / 369.4 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1723, allocations: 11.98 kB / 369.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.1723, allocations: 12 kB / 369.4 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.1728, allocations: 127.8 kB / 369.5 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.1729, allocations: 24.17 kB / 369.5 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.1733, allocations: 75.5 kB / 369.6 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.1733, allocations: 27.98 kB / 369.6 MB, free: 312 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2286/0.4019, allocations: 332.6 kB / 370 MB, free: 24.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000709/0.4027, allocations: 392.4 kB / 370.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008528/0.4036, allocations: 0.5773 MB / 370.9 MB, free: 24.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.4036, allocations: 2.812 kB / 370.9 MB, free: 24.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001299/0.4049, allocations: 0.6297 MB / 371.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4049, allocations: 10.72 kB / 371.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4049, allocations: 6.062 kB / 371.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.405, allocations: 14.08 kB / 371.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.4054, allocations: 134.3 kB / 371.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.4055, allocations: 10.95 kB / 371.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.4058, allocations: 65.78 kB / 371.8 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.4059, allocations: 29.44 kB / 371.8 MB, free: 24.3 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.0002475/0.4062, allocations: 242.3 kB / 372.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.4063, allocations: 56.62 kB / 372.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.4076, allocations: 0.5786 MB / 372.7 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4076, allocations: 9.859 kB / 372.7 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4076, allocations: 0 / 372.7 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4077, allocations: 12.38 kB / 372.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.4084, allocations: 0.641 MB / 373.4 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4084, allocations: 1.25 kB / 373.4 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004274/0.4089, allocations: 90.08 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.4089, allocations: 2.312 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.4089, allocations: 13.05 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.409, allocations: 2.312 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.409, allocations: 1.062 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4106, allocations: 0.8725 MB / 374.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.4107, allocations: 134 kB / 374.5 MB, free: 23.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.4108, allocations: 19.06 kB / 374.5 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.4111, allocations: 39.7 kB / 374.5 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4113, allocations: 53.17 kB / 374.6 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4113, allocations: 20.64 kB / 374.6 MB, free: 23.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003734/0.4117, allocations: 301.6 kB / 374.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4117, allocations: 0 / 374.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008144/0.4125, allocations: 249.7 kB / 375.1 MB, free: 23.02 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.0001713/0.4127, allocations: 131.9 kB / 375.3 MB, free: 22.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.4147, allocations: 0.8574 MB / 376.1 MB, free: 22.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4147, allocations: 1.344 kB / 376.1 MB, free: 22.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.4152, allocations: 274 kB / 376.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.4157, allocations: 92.38 kB / 376.5 MB, free: 22.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.4177, allocations: 1.153 MB / 377.6 MB, free: 21.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4182, allocations: 0.8999 MB / 378.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.4186, allocations: 105.6 kB / 378.6 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4188, allocations: 53.89 kB / 378.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4188, allocations: 0 / 378.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01308/0.4319, allocations: 6.016 MB / 384.7 MB, free: 19.8 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