Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2251, allocations: 50.55 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004947/0.23, allocations: 3.735 MB / 413.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2323, allocations: 1.391 MB / 415.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.2326, allocations: 19.88 kB / 415.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2328, allocations: 90.92 kB / 415.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.2332, allocations: 150.6 kB / 415.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.234, allocations: 463.2 kB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000917/0.2349, allocations: 0.9001 MB / 416.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.2354, allocations: 281.9 kB / 417.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.2358, allocations: 350.7 kB / 417.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.2363, allocations: 370.2 kB / 417.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.2364, allocations: 100 kB / 418 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2366, allocations: 112 kB / 418.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.2368, allocations: 207.4 kB / 418.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.2373, allocations: 413.9 kB / 418.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2386, allocations: 1.055 MB / 419.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2386, allocations: 0 / 419.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2386, allocations: 0 / 419.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.2386, allocations: 3.938 kB / 419.8 MB, free: 7.789 MB / 334.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.00239/0.241, allocations: 1.095 MB / 420.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.241, allocations: 8.031 kB / 420.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.2418, allocations: 152.3 kB / 421 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2429, allocations: 0.6691 MB / 421.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.243, allocations: 53.67 kB / 421.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2431, allocations: 60.38 kB / 421.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2444, allocations: 0.6606 MB / 422.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.2444, allocations: 3.953 kB / 422.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.2445, allocations: 28 kB / 422.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.2445, allocations: 12 kB / 422.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2457, allocations: 0.497 MB / 423 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.249, allocations: 1.89 MB / 424.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.25, allocations: 461.2 kB / 425.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.2505, allocations: 198 kB / 425.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.2505, allocations: 12.42 kB / 425.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.2513, allocations: 397.1 kB / 426 MB, free: 1.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.2513, allocations: 0 / 426 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.001767/0.2531, allocations: 0.7328 MB / 426.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.2532, allocations: 127.1 kB / 426.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.2538, allocations: 490.8 kB / 427.3 MB, free: 40 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.2539, allocations: 41.73 kB / 427.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.2542, allocations: 348.9 kB / 427.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.2544, allocations: 170.6 kB / 427.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.2546, allocations: 126.3 kB / 428 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.2548, allocations: 374.8 kB / 428.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.2553, allocations: 203.4 kB / 428.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.256, allocations: 421 kB / 428.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2571, allocations: 0.6154 MB / 429.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.2571, allocations: 0 / 429.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001457/0.2586, allocations: 0.6871 MB / 430.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2586, allocations: 8 kB / 430.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2586, allocations: 4 kB / 430.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.2587, allocations: 15.94 kB / 430.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.2592, allocations: 140.1 kB / 430.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.2592, allocations: 15.94 kB / 430.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.2596, allocations: 79.58 kB / 430.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.2597, allocations: 24 kB / 430.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006018/0.2603, allocations: 349.3 kB / 430.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005543/0.2608, allocations: 401 kB / 431.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009236/0.2618, allocations: 0.5766 MB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.2618, allocations: 3.938 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001175/0.2629, allocations: 0.6405 MB / 432.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.263, allocations: 8 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.263, allocations: 4 kB / 432.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.263, allocations: 12 kB / 432.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.2634, allocations: 131.7 kB / 432.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/0.2635, allocations: 15.92 kB / 432.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.2638, allocations: 67.8 kB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.2639, allocations: 36 kB / 432.7 MB, free: 10.19 MB / 350.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.0002153/0.2641, allocations: 234.6 kB / 433 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2642, allocations: 67.56 kB / 433 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.2655, allocations: 0.5873 MB / 433.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2655, allocations: 7.938 kB / 433.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2655, allocations: 0 / 433.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2655, allocations: 7.922 kB / 433.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.2662, allocations: 0.6459 MB / 434.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2662, allocations: 7.984 kB / 434.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.2667, allocations: 87.88 kB / 434.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2667, allocations: 0 / 434.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.2667, allocations: 15.98 kB / 434.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.2667, allocations: 11.92 kB / 434.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2667, allocations: 0 / 434.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2685, allocations: 0.875 MB / 435.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2686, allocations: 140.7 kB / 435.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.2687, allocations: 16 kB / 435.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.269, allocations: 43.89 kB / 435.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2692, allocations: 48.44 kB / 435.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.2692, allocations: 19.98 kB / 435.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.2696, allocations: 334.9 kB / 435.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2696, allocations: 0 / 435.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007235/0.2703, allocations: 255.3 kB / 436.1 MB, free: 6.707 MB / 350.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.0001768/0.2705, allocations: 132.9 kB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.2721, allocations: 0.7812 MB / 437 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2721, allocations: 0 / 437 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.2727, allocations: 255 kB / 437.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2731, allocations: 101.2 kB / 437.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2752, allocations: 1.2 MB / 438.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.2757, allocations: 0.9116 MB / 439.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.2761, allocations: 116.8 kB / 439.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.2763, allocations: 55.42 kB / 439.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2763, allocations: 0 / 439.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Templates: time 0.01249/0.2887, allocations: 6.304 MB / 446 MB, free: 12.83 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.TotalHarmonicDistortion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches