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.001182/0.001182, allocations: 114.7 kB / 16.63 MB, free: 6.812 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.001078/0.001078, allocations: 186 kB / 17.55 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009332/0.0009333, allocations: 44.64 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09754, allocations: 49.45 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004383/0.102, allocations: 3.638 MB / 353.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1037, allocations: 1.196 MB / 354.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.1039, allocations: 15.94 kB / 354.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1041, allocations: 59.36 kB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.1045, allocations: 111.2 kB / 354.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.1052, allocations: 359.6 kB / 354.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.1059, allocations: 0.8573 MB / 355.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.1064, allocations: 381.7 kB / 356.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.1068, allocations: 330.7 kB / 356.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.1072, allocations: 354.3 kB / 356.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1073, allocations: 96 kB / 356.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1074, allocations: 104 kB / 357 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1076, allocations: 199.4 kB / 357.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.1079, allocations: 398 kB / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.1086, allocations: 0.9661 MB / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1086, allocations: 0 / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1086, allocations: 0 / 358.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1086, allocations: 0 / 358.6 MB, free: 11.71 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.001815/0.1104, allocations: 1.032 MB / 359.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1105, allocations: 8.031 kB / 359.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1106, allocations: 80 kB / 359.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.1115, allocations: 0.5886 MB / 360.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.1116, allocations: 49.67 kB / 360.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.1117, allocations: 67.94 kB / 360.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.1129, allocations: 0.6643 MB / 361.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1129, allocations: 0 / 361.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.113, allocations: 24 kB / 361.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.113, allocations: 12 kB / 361.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1141, allocations: 0.5009 MB / 361.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1169, allocations: 1.901 MB / 363.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.1179, allocations: 0.4932 MB / 364 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.1183, allocations: 210.1 kB / 364.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.1184, allocations: 12.42 kB / 364.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.1191, allocations: 388.2 kB / 364.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.1192, allocations: 4 kB / 364.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001575/0.1207, allocations: 0.7247 MB / 365.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.1208, allocations: 119.2 kB / 365.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.1213, allocations: 445.8 kB / 365.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.1214, allocations: 41.7 kB / 365.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1216, allocations: 320.3 kB / 366.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1217, allocations: 165.6 kB / 366.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.1219, allocations: 118.3 kB / 366.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1221, allocations: 370.8 kB / 366.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.1226, allocations: 211.4 kB / 367.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.1232, allocations: 424.9 kB / 367.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1242, allocations: 0.6126 MB / 368.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1242, allocations: 0 / 368.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001278/0.1255, allocations: 0.6789 MB / 368.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.1255, allocations: 11.94 kB / 368.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1255, allocations: 4 kB / 368.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1256, allocations: 16 kB / 368.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.1261, allocations: 131.8 kB / 368.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.1261, allocations: 15.94 kB / 369 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.1265, allocations: 83.73 kB / 369 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.1266, allocations: 28 kB / 369.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005335/0.1271, allocations: 337.3 kB / 369.4 MB, free: 440 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1839/0.3111, allocations: 400.5 kB / 369.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/0.3122, allocations: 0.5721 MB / 370.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.3122, allocations: 2.438 kB / 370.4 MB, free: 24.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00152/0.3138, allocations: 0.6286 MB / 371 MB, free: 24.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3138, allocations: 12.84 kB / 371 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3138, allocations: 7.344 kB / 371 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3139, allocations: 13.97 kB / 371 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.3144, allocations: 127 kB / 371.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.3144, allocations: 14.8 kB / 371.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.3148, allocations: 67.78 kB / 371.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3149, allocations: 33.72 kB / 371.3 MB, free: 24.45 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.0002562/0.3152, allocations: 228.9 kB / 371.5 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3153, allocations: 59.27 kB / 371.5 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.3166, allocations: 0.5826 MB / 372.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3166, allocations: 7.078 kB / 372.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3166, allocations: 3.938 kB / 372.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3166, allocations: 3.078 kB / 372.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.3174, allocations: 0.6368 MB / 372.8 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3175, allocations: 0 / 372.8 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.3179, allocations: 86.59 kB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3179, allocations: 2.344 kB / 372.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.318, allocations: 20.8 kB / 372.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.318, allocations: 2.312 kB / 372.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.318, allocations: 0 / 372.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3197, allocations: 0.8806 MB / 373.8 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.3198, allocations: 135.3 kB / 373.9 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.3199, allocations: 14.67 kB / 373.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.3202, allocations: 44.14 kB / 374 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3204, allocations: 46.03 kB / 374 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.3204, allocations: 20.55 kB / 374 MB, free: 23.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.3208, allocations: 307.3 kB / 374.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3208, allocations: 1.375 kB / 374.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007793/0.3216, allocations: 246.1 kB / 374.6 MB, free: 23.25 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.0001816/0.3218, allocations: 134.2 kB / 374.7 MB, free: 23.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.3237, allocations: 0.8582 MB / 375.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3237, allocations: 1.469 kB / 375.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.3242, allocations: 268.4 kB / 375.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3247, allocations: 83.48 kB / 375.9 MB, free: 22.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3269, allocations: 1.398 MB / 377.3 MB, free: 21.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3273, allocations: 0.9019 MB / 378.2 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004228/0.3277, allocations: 109 kB / 378.3 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3279, allocations: 52.84 kB / 378.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3279, allocations: 1.219 kB / 378.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of Templates: time 0.01192/0.3398, allocations: 5.791 MB / 384.1 MB, free: 19.95 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