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.00112/0.00112, allocations: 114.4 kB / 17.74 MB, free: 5.348 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.0009467/0.0009468, allocations: 187.1 kB / 18.66 MB, free: 4.43 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.412/1.412, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001197/0.001197, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1115, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.006119/0.1176, allocations: 3.569 MB / 378.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2504/0.3681, allocations: 1.26 MB / 380 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.3688, allocations: 13.31 kB / 380 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3692, allocations: 83.31 kB / 380.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.3696, allocations: 143.2 kB / 380.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008079/0.3704, allocations: 393 kB / 380.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.3713, allocations: 0.8509 MB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.3718, allocations: 387.8 kB / 381.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.3722, allocations: 327.2 kB / 382.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.3726, allocations: 355 kB / 382.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.3728, allocations: 94.31 kB / 382.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.373, allocations: 92.81 kB / 382.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.3732, allocations: 199.6 kB / 382.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.3736, allocations: 384.6 kB / 383.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3747, allocations: 0.9743 MB / 384.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3747, allocations: 0 / 384.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3748, allocations: 1 kB / 384.2 MB, free: 8.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.3748, allocations: 0 / 384.2 MB, free: 8.707 MB / 318.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.001907/0.3767, allocations: 1.017 MB / 385.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3767, allocations: 9.031 kB / 385.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3769, allocations: 82.19 kB / 385.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.3778, allocations: 0.5946 MB / 385.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.3779, allocations: 46.59 kB / 386 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.378, allocations: 64.89 kB / 386 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3792, allocations: 0.6432 MB / 386.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.3792, allocations: 7.594 kB / 386.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.3793, allocations: 23.62 kB / 386.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3793, allocations: 12.44 kB / 386.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3804, allocations: 493.4 kB / 387.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.3834, allocations: 1.836 MB / 389 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.3843, allocations: 489.7 kB / 389.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.3848, allocations: 213.5 kB / 389.7 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.3849, allocations: 13.23 kB / 389.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000738/0.3856, allocations: 392.4 kB / 390.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.3856, allocations: 1.125 kB / 390.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.001721/0.3874, allocations: 0.7216 MB / 390.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3874, allocations: 112 kB / 390.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.388, allocations: 465.8 kB / 391.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.3881, allocations: 43.5 kB / 391.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.3883, allocations: 311.9 kB / 391.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3884, allocations: 161.8 kB / 391.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3886, allocations: 126.3 kB / 392 MB, free: 4.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3887, allocations: 369.8 kB / 392.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.3892, allocations: 208.2 kB / 392.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.3899, allocations: 426.1 kB / 393 MB, free: 3.719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3909, allocations: 0.6185 MB / 393.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3909, allocations: 2.625 kB / 393.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001311/0.3922, allocations: 0.6715 MB / 394.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3922, allocations: 9.297 kB / 394.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3923, allocations: 6.406 kB / 394.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.3923, allocations: 9.938 kB / 394.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.3929, allocations: 131.7 kB / 394.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.3929, allocations: 15.2 kB / 394.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3933, allocations: 85.97 kB / 394.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.3933, allocations: 41.89 kB / 394.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005203/0.3939, allocations: 337.5 kB / 394.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005251/0.3944, allocations: 398.2 kB / 395.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008566/0.3953, allocations: 0.5723 MB / 395.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.3953, allocations: 6.594 kB / 395.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00111/0.3964, allocations: 0.6306 MB / 396.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3964, allocations: 8.797 kB / 396.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3964, allocations: 6.812 kB / 396.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3965, allocations: 9.781 kB / 396.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.397, allocations: 128.2 kB / 396.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.397, allocations: 16.73 kB / 396.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3973, allocations: 66.48 kB / 396.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.3974, allocations: 26.25 kB / 396.8 MB, free: 1.68 MB / 318.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.0001728/0.3976, allocations: 246 kB / 397 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.3976, allocations: 55.81 kB / 397.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.3989, allocations: 0.5896 MB / 397.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3989, allocations: 5.5 kB / 397.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3989, allocations: 0 / 397.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.399, allocations: 4.047 kB / 397.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/0.3997, allocations: 0.6336 MB / 398.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3997, allocations: 4.812 kB / 398.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4002, allocations: 91.8 kB / 398.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4002, allocations: 1.375 kB / 398.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.4002, allocations: 17.2 kB / 398.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4002, allocations: 6.125 kB / 398.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4002, allocations: 2.5 kB / 398.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.402, allocations: 0.8674 MB / 399.3 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.4021, allocations: 134.3 kB / 399.4 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.4022, allocations: 19.62 kB / 399.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.4025, allocations: 37.14 kB / 399.5 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4026, allocations: 47.39 kB / 399.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.4027, allocations: 21.08 kB / 399.5 MB, free: 248 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.403, allocations: 313.4 kB / 399.9 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.403, allocations: 0 / 399.9 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007879/0.4038, allocations: 245.1 kB / 400.1 MB, free: 12 kB / 318.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.0002034/0.404, allocations: 125.3 kB / 400.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.4059, allocations: 0.8183 MB / 401 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4059, allocations: 2.781 kB / 401 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.4065, allocations: 272.4 kB / 401.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.407, allocations: 87.92 kB / 401.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.4092, allocations: 1.128 MB / 402.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.4099, allocations: 0.8955 MB / 403.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.4103, allocations: 115.8 kB / 403.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.4105, allocations: 57.16 kB / 403.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4105, allocations: 0 / 403.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of Templates: time 0.01259/0.4231, allocations: 6.101 MB / 409.7 MB, free: 11.17 MB / 334.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