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.001237/0.001237, allocations: 98.88 kB / 17.58 MB, free: 5.453 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.0013/0.0013, allocations: 191.9 kB / 18.51 MB, free: 4.527 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.356/1.356, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001539/0.001539, allocations: 51.94 kB / 280.6 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 46.63 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005186/0.1174, allocations: 3.573 MB / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1198, allocations: 1.267 MB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002835/0.1201, allocations: 15.94 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1204, allocations: 82.98 kB / 332.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1208, allocations: 134.8 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007204/0.1215, allocations: 383.4 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007853/0.1223, allocations: 0.8531 MB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.1229, allocations: 381.7 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1233, allocations: 318.8 kB / 334.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.1236, allocations: 354.3 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1237, allocations: 92 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1239, allocations: 96 kB / 334.8 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1241, allocations: 199.4 kB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.1244, allocations: 386.1 kB / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.1252, allocations: 0.9427 MB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1252, allocations: 0 / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1252, allocations: 3.938 kB / 336.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1252, allocations: 0 / 336.3 MB, free: 11.4 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.001674/0.1269, allocations: 1.017 MB / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.127, allocations: 8.031 kB / 337.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1271, allocations: 80 kB / 337.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008373/0.1279, allocations: 0.5887 MB / 338 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.128, allocations: 45.69 kB / 338 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.1281, allocations: 60.38 kB / 338.1 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1292, allocations: 0.6404 MB / 338.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.1293, allocations: 7.984 kB / 338.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.1294, allocations: 24 kB / 338.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1294, allocations: 15.98 kB / 338.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1304, allocations: 495.6 kB / 339.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.1335, allocations: 1.865 MB / 341.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1345, allocations: 496.9 kB / 341.6 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.1349, allocations: 210.1 kB / 341.8 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.135, allocations: 20.39 kB / 341.8 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.1357, allocations: 385.1 kB / 342.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.1357, allocations: 0 / 342.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001771/0.1375, allocations: 0.7287 MB / 342.9 MB, free: 4.539 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.1376, allocations: 115.2 kB / 343.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/0.1382, allocations: 449.9 kB / 343.5 MB, free: 3.949 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.1383, allocations: 45.69 kB / 343.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.1386, allocations: 312.4 kB / 343.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.1388, allocations: 161.7 kB / 344 MB, free: 3.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.139, allocations: 130.2 kB / 344.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1392, allocations: 378.6 kB / 344.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.1396, allocations: 207.4 kB / 344.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.1403, allocations: 417 kB / 345.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.1414, allocations: 0.6246 MB / 345.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1414, allocations: 0 / 345.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00132/0.1427, allocations: 0.6754 MB / 346.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1427, allocations: 8 kB / 346.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1427, allocations: 4 kB / 346.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/0.1428, allocations: 12 kB / 346.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.1433, allocations: 139.7 kB / 346.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.1434, allocations: 15.94 kB / 346.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1438, allocations: 83.58 kB / 346.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.1438, allocations: 31.94 kB / 346.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005649/0.1444, allocations: 337.3 kB / 347 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006228/0.1451, allocations: 397 kB / 347.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008862/0.1459, allocations: 0.5738 MB / 348 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.146, allocations: 4 kB / 348 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001082/0.1471, allocations: 0.6214 MB / 348.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1471, allocations: 8 kB / 348.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1471, allocations: 4.688 kB / 348.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1471, allocations: 12 kB / 348.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1475, allocations: 127.8 kB / 348.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1476, allocations: 15.92 kB / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.1479, allocations: 59.58 kB / 348.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.148, allocations: 35.98 kB / 348.9 MB, free: 14.16 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.0002165/0.1482, allocations: 246.1 kB / 349.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.1483, allocations: 59.33 kB / 349.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.1496, allocations: 0.5829 MB / 349.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1496, allocations: 4 kB / 349.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1496, allocations: 0 / 349.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1496, allocations: 0 / 349.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.1503, allocations: 0.6302 MB / 350.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1503, allocations: 0 / 350.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.1508, allocations: 95.8 kB / 350.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1508, allocations: 4 kB / 350.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.1508, allocations: 15.97 kB / 350.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1508, allocations: 7.938 kB / 350.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1508, allocations: 0 / 350.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.1526, allocations: 0.8785 MB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1527, allocations: 124.4 kB / 351.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.1528, allocations: 16.19 kB / 351.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1531, allocations: 47.95 kB / 351.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1533, allocations: 44.5 kB / 351.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1533, allocations: 19.98 kB / 351.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003348/0.1536, allocations: 318.8 kB / 351.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 351.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006712/0.1543, allocations: 235.1 kB / 352.2 MB, free: 10.76 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.0002329/0.1546, allocations: 136.8 kB / 352.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.1563, allocations: 0.861 MB / 353.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1564, allocations: 4.625 kB / 353.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.1569, allocations: 283 kB / 353.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.1574, allocations: 81.8 kB / 353.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1595, allocations: 1.143 MB / 354.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.16, allocations: 0.8997 MB / 355.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004004/0.1604, allocations: 104.6 kB / 355.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1605, allocations: 55.42 kB / 355.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1605, allocations: 0 / 355.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Templates: time 0.0112/0.1717, allocations: 5.996 MB / 361.7 MB, free: 1.145 MB / 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins/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