Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001221/0.001221, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001413/0.001412, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 51.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09657, allocations: 46.63 MB / 328.7 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004674/0.1013, allocations: 3.576 MB / 332.3 MB, free: 188 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1033, allocations: 1.267 MB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.1036, allocations: 23.81 kB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1039, allocations: 82.98 kB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1043, allocations: 138.8 kB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.105, allocations: 379.5 kB / 334.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.1057, allocations: 0.8572 MB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.1063, allocations: 381.7 kB / 335.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.1067, allocations: 326.7 kB / 335.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.1071, allocations: 342.4 kB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1072, allocations: 96 kB / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.1073, allocations: 92 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1075, allocations: 199.4 kB / 336.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.1078, allocations: 390.1 kB / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.1085, allocations: 0.9694 MB / 337.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1085, allocations: 4 kB / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1086, allocations: 0 / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1086, allocations: 3.984 kB / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001815/0.1104, allocations: 1.005 MB / 338.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1104, allocations: 15.97 kB / 338.8 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1106, allocations: 83.98 kB / 338.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009347/0.1115, allocations: 0.5887 MB / 339.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.1116, allocations: 45.69 kB / 339.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.1117, allocations: 64.31 kB / 339.6 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1128, allocations: 0.6444 MB / 340.2 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1128, allocations: 8 kB / 340.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.1129, allocations: 20 kB / 340.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1129, allocations: 12 kB / 340.3 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1139, allocations: 495.6 kB / 340.8 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.1167, allocations: 1.841 MB / 342.6 MB, free: 5.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.1177, allocations: 0.4932 MB / 343.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.1181, allocations: 206.1 kB / 343.3 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.1182, allocations: 20.34 kB / 343.3 MB, free: 4.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000738/0.1189, allocations: 389.2 kB / 343.7 MB, free: 4.539 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 5.109e-06/0.1189, allocations: 0 / 343.7 MB, free: 4.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001593/0.1205, allocations: 0.7325 MB / 344.4 MB, free: 3.801 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.1206, allocations: 119.2 kB / 344.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.1211, allocations: 453.9 kB / 345 MB, free: 3.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.1212, allocations: 37.7 kB / 345 MB, free: 3.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.1214, allocations: 316.4 kB / 345.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1216, allocations: 157.8 kB / 345.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.1218, allocations: 130.2 kB / 345.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1219, allocations: 374.7 kB / 346 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.1224, allocations: 207.3 kB / 346.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.123, allocations: 421 kB / 346.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/0.1239, allocations: 0.6206 MB / 347.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1239, allocations: 0 / 347.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001243/0.1252, allocations: 0.6755 MB / 347.9 MB, free: 84 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1252, allocations: 8 kB / 347.9 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1252, allocations: 4 kB / 347.9 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.1253, allocations: 12 kB / 347.9 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.1258, allocations: 140.2 kB / 348.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1259, allocations: 15.94 kB / 348.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.1263, allocations: 79.39 kB / 348.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1263, allocations: 31.94 kB / 348.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005266/0.1268, allocations: 337.3 kB / 348.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000485/0.1273, allocations: 397 kB / 348.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008355/0.1282, allocations: 0.5737 MB / 349.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.1282, allocations: 4 kB / 349.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001062/0.1293, allocations: 0.6258 MB / 350.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1293, allocations: 11.98 kB / 350.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1293, allocations: 4 kB / 350.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1293, allocations: 12 kB / 350.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.1297, allocations: 123.8 kB / 350.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1298, allocations: 15.98 kB / 350.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.1301, allocations: 63.72 kB / 350.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.1302, allocations: 32 kB / 350.4 MB, free: 13.43 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,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean1.y,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.harmonic.mean2.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean1.y) * 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.0001949/0.1304, allocations: 250.1 kB / 350.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1305, allocations: 55.34 kB / 350.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.1316, allocations: 0.5829 MB / 351.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1316, allocations: 4 kB / 351.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1316, allocations: 7.828 kB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1317, allocations: 7.922 kB / 351.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.1323, allocations: 0.6263 MB / 351.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1323, allocations: 4 kB / 351.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.1327, allocations: 91.86 kB / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1327, allocations: 0 / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.1328, allocations: 15.98 kB / 352 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1328, allocations: 0 / 352 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1328, allocations: 0 / 352 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.1343, allocations: 0.8785 MB / 352.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.1344, allocations: 124.4 kB / 353 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.1345, allocations: 28.05 kB / 353 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.1348, allocations: 35.95 kB / 353.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.135, allocations: 44.45 kB / 353.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.135, allocations: 23.92 kB / 353.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.1353, allocations: 318.8 kB / 353.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1354, allocations: 0 / 353.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000685/0.136, allocations: 239.1 kB / 353.7 MB, free: 10.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,thd1.harmonic.mean2.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean2.y,thdRMS.rootMeanSquare.mean.y,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.0001391/0.1362, allocations: 132.9 kB / 353.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.1377, allocations: 0.8295 MB / 354.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1377, allocations: 4 kB / 354.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.1383, allocations: 271 kB / 354.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1387, allocations: 82.06 kB / 355 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.1404, allocations: 1.124 MB / 356.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.1409, allocations: 0.8958 MB / 357 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.1412, allocations: 108.6 kB / 357.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1414, allocations: 51.42 kB / 357.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1414, allocations: 4 kB / 357.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of Templates: time 0.01023/0.1516, allocations: 5.996 MB / 363.1 MB, free: 480 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches