Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007369/0.0007369, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001799, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001674, allocations: 467.5 kB / 11.66 MB, free: 2.504 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9759/0.9759, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08203/1.058, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.224e-05, allocations: 2.312 kB / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004543/0.004555, allocations: 3.601 MB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.006227, allocations: 1.409 MB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.006427, allocations: 23.81 kB / 249.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.006584, allocations: 82.98 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.006842, allocations: 182.3 kB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.007394, allocations: 455.2 kB / 250.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.007994, allocations: 0.8998 MB / 251.1 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.008308, allocations: 274.2 kB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.008873, allocations: 0.5819 MB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.00912, allocations: 259.2 kB / 252.2 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.009201, allocations: 92 kB / 252.3 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.009363, allocations: 112 kB / 252.4 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.009466, allocations: 151.5 kB / 252.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.009637, allocations: 199.6 kB / 252.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.01023, allocations: 0.5681 MB / 253.3 MB, free: 5.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.01024, allocations: 4 kB / 253.3 MB, free: 5.449 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01024, allocations: 4 kB / 253.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.01026, allocations: 0 / 253.3 MB, free: 5.445 MB / 250.7 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.001102/0.01136, allocations: 1.096 MB / 254.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.01139, allocations: 12.03 kB / 254.4 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/0.01147, allocations: 106.6 kB / 254.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.01184, allocations: 229.9 kB / 254.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.01233, allocations: 461.3 kB / 255.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.01237, allocations: 45.69 kB / 255.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.01243, allocations: 64.38 kB / 255.3 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.01294, allocations: 0.5008 MB / 255.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.01296, allocations: 4.172 kB / 255.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.013, allocations: 28.12 kB / 255.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01301, allocations: 12 kB / 255.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.01321, allocations: 137.1 kB / 256 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.01464, allocations: 1.34 MB / 257.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.01497, allocations: 232 kB / 257.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.01505, allocations: 66.33 kB / 257.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.01508, allocations: 12.5 kB / 257.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.01532, allocations: 242.1 kB / 257.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.01532, allocations: 0 / 257.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.0003606/0.01569, allocations: 274 kB / 258.1 MB, free: 444 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.01574, allocations: 119.3 kB / 258.2 MB, free: 300 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.01606, allocations: 435.1 kB / 258.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.0161, allocations: 41.7 kB / 258.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01622, allocations: 286.1 kB / 259 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.0163, allocations: 166.6 kB / 259.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.01641, allocations: 126.2 kB / 259.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01651, allocations: 382.6 kB / 259.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.0166, allocations: 63.45 kB / 259.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.01677, allocations: 332.4 kB / 260 MB, free: 14.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.01705, allocations: 393 kB / 260.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01706, allocations: 4 kB / 260.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003418/0.0174, allocations: 356.8 kB / 260.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01741, allocations: 8 kB / 260.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01742, allocations: 8 kB / 260.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01743, allocations: 8 kB / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.01775, allocations: 160.4 kB / 260.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01776, allocations: 19.88 kB / 261 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01793, allocations: 79.47 kB / 261 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.01795, allocations: 24 kB / 261.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001376/0.01809, allocations: 144.2 kB / 261.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001795/0.01827, allocations: 328.4 kB / 261.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002741/0.01854, allocations: 382.1 kB / 261.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.01854, allocations: 0 / 261.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.0003287/0.01887, allocations: 368.5 kB / 262.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.01888, allocations: 8 kB / 262.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01888, allocations: 4 kB / 262.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.01889, allocations: 12 kB / 262.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.01915, allocations: 147.7 kB / 262.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01916, allocations: 15.92 kB / 262.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.01931, allocations: 55.72 kB / 262.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.01933, allocations: 31.98 kB / 262.5 MB, free: 11.57 MB / 266.7 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.0001125/0.01944, allocations: 238.7 kB / 262.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.0195, allocations: 55.94 kB / 262.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.01979, allocations: 260.9 kB / 263.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01979, allocations: 4 kB / 263.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01979, allocations: 0 / 263.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.0198, allocations: 7.984 kB / 263.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.0201, allocations: 423.9 kB / 263.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.02011, allocations: 0 / 263.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.02035, allocations: 83.88 kB / 263.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.02042, allocations: 55.5 kB / 263.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.02042, allocations: 4 kB / 263.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.02046, allocations: 15.98 kB / 263.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.02046, allocations: 0 / 263.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.02047, allocations: 0 / 263.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.02091, allocations: 358 kB / 264 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.02095, allocations: 24 kB / 264 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.02111, allocations: 23.97 kB / 264 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.02118, allocations: 44.42 kB / 264.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.0212, allocations: 15.98 kB / 264.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.02136, allocations: 180.4 kB / 264.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02136, allocations: 4 kB / 264.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.02174, allocations: 255.2 kB / 264.5 MB, free: 9.488 MB / 266.7 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: 18 ($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 (53): * Single equations (assignments): 47 * 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.0003002/0.02204, allocations: 0.5972 MB / 265.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.0227, allocations: 448.5 kB / 265.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.02271, allocations: 4 kB / 265.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.02284, allocations: 128.6 kB / 265.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.02308, allocations: 134.3 kB / 265.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.02561, allocations: 2.991 MB / 268.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.02569, allocations: 144 kB / 269 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.0259, allocations: 96.78 kB / 269 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.02625, allocations: 367.2 kB / 269.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02625, allocations: 0 / 269.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03451/0.06076, allocations: 16.88 MB / 286.3 MB, free: 3.641 MB / 282.7 MB Notification: FMU-only work: backend 0.0001998, simCode 0.001226, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08054/0.1413, allocations: 1.341 MB / 287.6 MB, free: 2.273 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.251, allocations: 19.06 kB / 287.6 MB, free: 2.258 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy_res.csv --output-variables thd1.harmonic.mean1.x thd1.harmonic.mean2.x thd1.rootMeanSquare.mean.x thdRMS.harmonic.mean1.x thdRMS.harmonic.mean2.x thdRMS.rootMeanSquare.mean.x --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv --output-variables thd1.harmonic.mean1.x thd1.harmonic.mean2.x thd1.rootMeanSquare.mean.x thdRMS.harmonic.mean1.x thdRMS.harmonic.mean2.x thdRMS.rootMeanSquare.mean.x --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0001 ../Modelica_4_1_0_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.648003683425486]