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: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001237, allocations: 106.6 kB / 17.73 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.001284/0.001284, allocations: 195 kB / 18.67 MB, free: 4.414 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.439/1.439, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001565/0.001565, allocations: 59.91 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.006361/0.1248, allocations: 3.584 MB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1277, allocations: 1.259 MB / 379.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007061/0.1285, allocations: 15.94 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.129, allocations: 79 kB / 379.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2428/0.3718, allocations: 136.5 kB / 379.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3731, allocations: 390.7 kB / 380.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3743, allocations: 0.8494 MB / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006591/0.3749, allocations: 389.2 kB / 381.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005314/0.3755, allocations: 328 kB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.376, allocations: 343.6 kB / 382 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.3763, allocations: 97.16 kB / 382.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.3765, allocations: 96.25 kB / 382.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.3767, allocations: 201 kB / 382.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.3772, allocations: 385 kB / 382.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.3784, allocations: 0.9692 MB / 383.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3784, allocations: 1.219 kB / 383.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3784, allocations: 0 / 383.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3785, allocations: 0 / 383.7 MB, free: 8.59 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.001976/0.3804, allocations: 1.021 MB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3805, allocations: 10.66 kB / 384.7 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3806, allocations: 95.03 kB / 384.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3807, allocations: 82.05 kB / 384.9 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.3817, allocations: 0.5983 MB / 385.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.3818, allocations: 47.02 kB / 385.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/0.3819, allocations: 62.22 kB / 385.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3831, allocations: 0.6454 MB / 386.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.3832, allocations: 1.812 kB / 386.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.3832, allocations: 23.64 kB / 386.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.3833, allocations: 12.5 kB / 386.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3844, allocations: 499.7 kB / 386.8 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.3874, allocations: 1.829 MB / 388.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.3885, allocations: 0.4888 MB / 389.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.3889, allocations: 214.1 kB / 389.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.389, allocations: 10.45 kB / 389.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/0.3898, allocations: 388.7 kB / 389.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.445e-06/0.3898, allocations: 0 / 389.7 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.00176/0.3915, allocations: 0.7253 MB / 390.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3916, allocations: 117.7 kB / 390.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.3921, allocations: 456.5 kB / 391 MB, free: 4.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.3922, allocations: 43.44 kB / 391 MB, free: 4.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3924, allocations: 310.6 kB / 391.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3925, allocations: 161 kB / 391.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.3927, allocations: 125 kB / 391.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.3928, allocations: 370.8 kB / 392 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.3933, allocations: 207.2 kB / 392.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.3939, allocations: 421.4 kB / 392.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.3949, allocations: 0.6198 MB / 393.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3949, allocations: 1.25 kB / 393.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001281/0.3962, allocations: 0.6746 MB / 393.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3962, allocations: 7.156 kB / 393.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3962, allocations: 8.156 kB / 393.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.3963, allocations: 9.344 kB / 393.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.3968, allocations: 138.8 kB / 394 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.3968, allocations: 12.89 kB / 394.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.3973, allocations: 89 kB / 394.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.3973, allocations: 32.2 kB / 394.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005372/0.3979, allocations: 340.1 kB / 394.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004821/0.3984, allocations: 395.8 kB / 394.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008158/0.3992, allocations: 0.5778 MB / 395.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.678e-06/0.3992, allocations: 1.375 kB / 395.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001107/0.4003, allocations: 0.6389 MB / 396.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4003, allocations: 10.55 kB / 396.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4004, allocations: 6.156 kB / 396.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4004, allocations: 10.34 kB / 396.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4008, allocations: 128.1 kB / 396.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4008, allocations: 14.62 kB / 396.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.4012, allocations: 66.22 kB / 396.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.4013, allocations: 36.05 kB / 396.4 MB, free: 1.684 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.0002223/0.4015, allocations: 239.1 kB / 396.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.4016, allocations: 58.88 kB / 396.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.4029, allocations: 0.5845 MB / 397.3 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4029, allocations: 9.812 kB / 397.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4029, allocations: 0 / 397.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4029, allocations: 2.672 kB / 397.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.4037, allocations: 0.635 MB / 397.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4037, allocations: 0 / 397.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.4041, allocations: 91.39 kB / 398 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4041, allocations: 2.75 kB / 398 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.4042, allocations: 15.97 kB / 398 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4042, allocations: 2.75 kB / 398 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4042, allocations: 0.7031 kB / 398 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4059, allocations: 0.8707 MB / 398.9 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.406, allocations: 140 kB / 399 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.4061, allocations: 17.69 kB / 399 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.4064, allocations: 40.53 kB / 399.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4066, allocations: 41.3 kB / 399.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.4066, allocations: 19.92 kB / 399.1 MB, free: 260 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003687/0.407, allocations: 315 kB / 399.4 MB, free: 100 kB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.407, allocations: 1.094 kB / 399.4 MB, free: 100 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008119/0.4078, allocations: 238.7 kB / 399.7 MB, free: 28 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.002166/0.41, allocations: 1.446 MB / 401.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.4118, allocations: 0.819 MB / 401.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4119, allocations: 0 / 401.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.4125, allocations: 269.9 kB / 402.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.413, allocations: 88.06 kB / 402.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.4214, allocations: 5.105 MB / 407.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.422, allocations: 0.8993 MB / 408.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004397/0.4224, allocations: 109.3 kB / 408.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4228, allocations: 238.1 kB / 408.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4228, allocations: 0 / 408.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.4587, allocations: 11.98 MB / 420.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.202, allocations: 4 kB / 420.6 MB, free: 15.95 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu > 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) "" Variables in the reference: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 Variables in the result:THD1,THDrms,V1,V3,der(thd1.harmonic.mean1.x),der(thd1.harmonic.mean2.x),der(thd1.rootMeanSquare.mean.x),der(thdRMS.harmonic.mean1.x),der(thdRMS.harmonic.mean2.x),der(thdRMS.rootMeanSquare.mean.x),f1,ground.p.i,ground.p.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage3.V,sineVoltage3.freqHz,sineVoltage3.i,sineVoltage3.n.i,sineVoltage3.n.v,sineVoltage3.offset,sineVoltage3.p.i,sineVoltage3.p.v,sineVoltage3.phase,sineVoltage3.signalSource.amplitude,sineVoltage3.signalSource.freqHz,sineVoltage3.signalSource.offset,sineVoltage3.signalSource.phase,sineVoltage3.signalSource.startTime,sineVoltage3.signalSource.y,sineVoltage3.startTime,sineVoltage3.v,thd1.andValid.u1,thd1.andValid.u2,thd1.andValid.y,thd1.booleanExpression.y,thd1.division.u1,thd1.division.u2,thd1.division.y,thd1.f,thd1.greaterThreshold.threshold,thd1.greaterThreshold.u,thd1.greaterThreshold.y,thd1.harmonic.f,thd1.harmonic.gain.k,thd1.harmonic.gain.u,thd1.harmonic.gain.y,thd1.harmonic.k,thd1.harmonic.mean1.f,thd1.harmonic.mean1.u,thd1.harmonic.mean1.x,thd1.harmonic.mean1.x0,thd1.harmonic.mean1.y,thd1.harmonic.mean1.yGreaterOrEqualZero,thd1.harmonic.mean2.f,thd1.harmonic.mean2.u,thd1.harmonic.mean2.x,thd1.harmonic.mean2.x0,thd1.harmonic.mean2.y,thd1.harmonic.mean2.yGreaterOrEqualZero,thd1.harmonic.product1.nu,thd1.harmonic.product1.significantDigits,thd1.harmonic.product1.u[1],thd1.harmonic.product1.u[2],thd1.harmonic.product1.y,thd1.harmonic.product2.nu,thd1.harmonic.product2.significantDigits,thd1.harmonic.product2.u[1],thd1.harmonic.product2.u[2],thd1.harmonic.product2.y,thd1.harmonic.rectangularToPolar.u_im,thd1.harmonic.rectangularToPolar.u_re,thd1.harmonic.rectangularToPolar.y_abs,thd1.harmonic.rectangularToPolar.y_arg,thd1.harmonic.sin1.amplitude,thd1.harmonic.sin1.freqHz,thd1.harmonic.sin1.offset,thd1.harmonic.sin1.phase,thd1.harmonic.sin1.startTime,thd1.harmonic.sin1.y,thd1.harmonic.sin2.amplitude,thd1.harmonic.sin2.freqHz,thd1.harmonic.sin2.offset,thd1.harmonic.sin2.phase,thd1.harmonic.sin2.startTime,thd1.harmonic.sin2.y,thd1.harmonic.u,thd1.harmonic.useConjugateComplex,thd1.harmonic.x0Cos,thd1.harmonic.x0Sin,thd1.harmonic.y_arg,thd1.harmonic.y_rms,thd1.limiter.homotopyType,thd1.limiter.limitsAtInit,thd1.limiter.strict,thd1.limiter.u,thd1.limiter.uMax,thd1.limiter.uMin,thd1.limiter.y,thd1.pythagoras.u1,thd1.pythagoras.u1IsHypotenuse,thd1.pythagoras.u2,thd1.pythagoras.valid,thd1.pythagoras.y,thd1.rootMeanSquare.f,thd1.rootMeanSquare.mean.f,thd1.rootMeanSquare.mean.u,thd1.rootMeanSquare.mean.x,thd1.rootMeanSquare.mean.x0,thd1.rootMeanSquare.mean.y,thd1.rootMeanSquare.mean.yGreaterOrEqualZero,thd1.rootMeanSquare.product.nu,thd1.rootMeanSquare.product.significantDigits,thd1.rootMeanSquare.product.u[1],thd1.rootMeanSquare.product.u[2],thd1.rootMeanSquare.product.y,thd1.rootMeanSquare.sqrt1.u,thd1.rootMeanSquare.sqrt1.y,thd1.rootMeanSquare.u,thd1.rootMeanSquare.x0,thd1.rootMeanSquare.y,thd1.switch1.u1,thd1.switch1.u2,thd1.switch1.u3,thd1.switch1.y,thd1.u,thd1.useFirstHarmonic,thd1.valid,thd1.y,thdRMS.andValid.u1,thdRMS.andValid.u2,thdRMS.andValid.y,thdRMS.booleanExpression.y,thdRMS.division.u1,thdRMS.division.u2,thdRMS.division.y,thdRMS.f,thdRMS.greaterThreshold.threshold,thdRMS.greaterThreshold.u,thdRMS.greaterThreshold.y,thdRMS.harmonic.f,thdRMS.harmonic.gain.k,thdRMS.harmonic.gain.u,thdRMS.harmonic.gain.y,thdRMS.harmonic.k,thdRMS.harmonic.mean1.f,thdRMS.harmonic.mean1.u,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean1.x0,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean1.yGreaterOrEqualZero,thdRMS.harmonic.mean2.f,thdRMS.harmonic.mean2.u,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean2.x0,thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean2.yGreaterOrEqualZero,thdRMS.harmonic.product1.nu,thdRMS.harmonic.product1.significantDigits,thdRMS.harmonic.product1.u[1],thdRMS.harmonic.product1.u[2],thdRMS.harmonic.product1.y,thdRMS.harmonic.product2.nu,thdRMS.harmonic.product2.significantDigits,thdRMS.harmonic.product2.u[1],thdRMS.harmonic.product2.u[2],thdRMS.harmonic.product2.y,thdRMS.harmonic.rectangularToPolar.u_im,thdRMS.harmonic.rectangularToPolar.u_re,thdRMS.harmonic.rectangularToPolar.y_abs,thdRMS.harmonic.rectangularToPolar.y_arg,thdRMS.harmonic.sin1.amplitude,thdRMS.harmonic.sin1.freqHz,thdRMS.harmonic.sin1.offset,thdRMS.harmonic.sin1.phase,thdRMS.harmonic.sin1.startTime,thdRMS.harmonic.sin1.y,thdRMS.harmonic.sin2.amplitude,thdRMS.harmonic.sin2.freqHz,thdRMS.harmonic.sin2.offset,thdRMS.harmonic.sin2.phase,thdRMS.harmonic.sin2.startTime,thdRMS.harmonic.sin2.y,thdRMS.harmonic.u,thdRMS.harmonic.useConjugateComplex,thdRMS.harmonic.x0Cos,thdRMS.harmonic.x0Sin,thdRMS.harmonic.y_arg,thdRMS.harmonic.y_rms,thdRMS.limiter.homotopyType,thdRMS.limiter.limitsAtInit,thdRMS.limiter.strict,thdRMS.limiter.u,thdRMS.limiter.uMax,thdRMS.limiter.uMin,thdRMS.limiter.y,thdRMS.pythagoras.u1,thdRMS.pythagoras.u1IsHypotenuse,thdRMS.pythagoras.u2,thdRMS.pythagoras.valid,thdRMS.pythagoras.y,thdRMS.rootMeanSquare.f,thdRMS.rootMeanSquare.mean.f,thdRMS.rootMeanSquare.mean.u,thdRMS.rootMeanSquare.mean.x,thdRMS.rootMeanSquare.mean.x0,thdRMS.rootMeanSquare.mean.y,thdRMS.rootMeanSquare.mean.yGreaterOrEqualZero,thdRMS.rootMeanSquare.product.nu,thdRMS.rootMeanSquare.product.significantDigits,thdRMS.rootMeanSquare.product.u[1],thdRMS.rootMeanSquare.product.u[2],thdRMS.rootMeanSquare.product.y,thdRMS.rootMeanSquare.sqrt1.u,thdRMS.rootMeanSquare.sqrt1.y,thdRMS.rootMeanSquare.u,thdRMS.rootMeanSquare.x0,thdRMS.rootMeanSquare.y,thdRMS.switch1.u1,thdRMS.switch1.u2,thdRMS.switch1.u3,thdRMS.switch1.y,thdRMS.u,thdRMS.useFirstHarmonic,thdRMS.valid,thdRMS.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v