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.001165/0.001165, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001222/0.001222, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.455/1.455, allocations: 222.9 MB / 242.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 54.73 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1097, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005145/0.1149, allocations: 3.604 MB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1173, allocations: 1.243 MB / 356.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.1176, allocations: 11.94 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1179, allocations: 86.98 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.1183, allocations: 134.8 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.1191, allocations: 401.6 kB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.1199, allocations: 0.8611 MB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.1205, allocations: 389.7 kB / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.1209, allocations: 326.8 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.1213, allocations: 358.3 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1214, allocations: 96 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.1215, allocations: 96 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.1216, allocations: 203.4 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.122, allocations: 394.1 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.1227, allocations: 0.9967 MB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1227, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1228, allocations: 0 / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1228, allocations: 4 kB / 360.6 MB, free: 10.49 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.001834/0.1246, allocations: 1.018 MB / 361.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1247, allocations: 8.031 kB / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1248, allocations: 84 kB / 361.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.1257, allocations: 0.6119 MB / 362.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.1258, allocations: 49.69 kB / 362.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.1259, allocations: 63.94 kB / 362.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.127, allocations: 0.6644 MB / 363.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.127, allocations: 0 / 363.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.1271, allocations: 23.98 kB / 363.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.1271, allocations: 16 kB / 363.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1282, allocations: 0.497 MB / 363.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.1309, allocations: 1.882 MB / 365.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.1318, allocations: 497.5 kB / 366 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.1323, allocations: 210.1 kB / 366.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1323, allocations: 8.438 kB / 366.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006859/0.133, allocations: 393.1 kB / 366.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.384e-06/0.133, allocations: 4 kB / 366.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.001538/0.1346, allocations: 0.7287 MB / 367.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1347, allocations: 111.2 kB / 367.5 MB, free: 3.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.1352, allocations: 445.8 kB / 367.9 MB, free: 2.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.149e-05/0.1352, allocations: 41.7 kB / 368 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1355, allocations: 316.3 kB / 368.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1357, allocations: 169.6 kB / 368.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.1359, allocations: 126.3 kB / 368.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.136, allocations: 366.8 kB / 368.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.1365, allocations: 203.4 kB / 369.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.1371, allocations: 425 kB / 369.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.1382, allocations: 0.6191 MB / 370.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1382, allocations: 4 kB / 370.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.1885/0.3267, allocations: 0.6623 MB / 370.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.3268, allocations: 13.73 kB / 370.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.3268, allocations: 6.406 kB / 370.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.243e-05/0.3269, allocations: 10.92 kB / 370.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.3276, allocations: 135.6 kB / 371 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.3277, allocations: 16.95 kB / 371 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.3282, allocations: 83.16 kB / 371.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.3283, allocations: 27.64 kB / 371.1 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006998/0.329, allocations: 338.5 kB / 371.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004939/0.3295, allocations: 395.6 kB / 371.8 MB, free: 24.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008449/0.3304, allocations: 0.5705 MB / 372.4 MB, free: 24.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/0.3304, allocations: 2.281 kB / 372.4 MB, free: 24.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001196/0.3316, allocations: 0.6309 MB / 373 MB, free: 24.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3316, allocations: 7.375 kB / 373 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3316, allocations: 11 kB / 373 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3316, allocations: 12.19 kB / 373 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.3321, allocations: 128.2 kB / 373.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/0.3322, allocations: 15.23 kB / 373.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3326, allocations: 69.25 kB / 373.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.3327, allocations: 27.56 kB / 373.3 MB, free: 24.18 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.0002316/0.3329, allocations: 241.7 kB / 373.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.333, allocations: 56.84 kB / 373.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3342, allocations: 0.5896 MB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.3342, allocations: 8.875 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.3342, allocations: 3.625 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3342, allocations: 3.953 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.335, allocations: 0.6348 MB / 374.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.335, allocations: 0 / 374.8 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.3354, allocations: 87.31 kB / 374.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3354, allocations: 1.438 kB / 374.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.3355, allocations: 20.25 kB / 374.9 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3355, allocations: 3.641 kB / 374.9 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3355, allocations: 0 / 374.9 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.337, allocations: 0.8726 MB / 375.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.3371, allocations: 135.1 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.3372, allocations: 13.34 kB / 375.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.3375, allocations: 47.8 kB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3377, allocations: 41.16 kB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.3377, allocations: 21.97 kB / 376.1 MB, free: 22.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.3381, allocations: 305.4 kB / 376.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 376.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008302/0.3389, allocations: 244.8 kB / 376.6 MB, free: 22.74 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.0001504/0.3391, allocations: 134.9 kB / 376.7 MB, free: 22.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3407, allocations: 0.8286 MB / 377.5 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3407, allocations: 3.438 kB / 377.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3413, allocations: 270.4 kB / 377.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3417, allocations: 96.31 kB / 377.9 MB, free: 22.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3435, allocations: 1.136 MB / 379 MB, free: 21.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3439, allocations: 0.9034 MB / 379.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.3443, allocations: 104.3 kB / 380.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3444, allocations: 54.55 kB / 380.1 MB, free: 20.9 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3444, allocations: 3.938 kB / 380.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01373/0.3582, allocations: 6.013 MB / 386.1 MB, free: 19.48 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 cvode -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