Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002522, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008892/0.0008892, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002028, allocations: 475.5 kB / 11.66 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9726/0.9726, allocations: 177.1 MB / 189.5 MB, free: 3.605 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1998/1.172, allocations: 53.74 MB / 243.3 MB, free: 2.082 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.TotalHarmonicDistortion,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 244.5 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.639e-05, allocations: 3.719 kB / 244.5 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.003894/0.00392, allocations: 3.595 MB / 248.1 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.005957, allocations: 1.412 MB / 249.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.006219, allocations: 22.62 kB / 249.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.006386, allocations: 86.92 kB / 249.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.00669, allocations: 175.8 kB / 249.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.007416, allocations: 461.4 kB / 250.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008096/0.008226, allocations: 0.9076 MB / 251.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.008603, allocations: 270.9 kB / 251.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.009422, allocations: 0.5875 MB / 252 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.00975, allocations: 263.1 kB / 252.3 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.694e-05/0.009847, allocations: 92 kB / 252.3 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.01, allocations: 104.7 kB / 252.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.01011, allocations: 151.6 kB / 252.6 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01028, allocations: 204 kB / 252.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.01085, allocations: 0.5637 MB / 253.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.01087, allocations: 0 / 253.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01087, allocations: 0 / 253.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.01089, allocations: 0 / 253.4 MB, free: 7.984 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.001219/0.01211, allocations: 0.9637 MB / 254.3 MB, free: 6.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.01215, allocations: 9.438 kB / 254.3 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.459e-05/0.01223, allocations: 102.6 kB / 254.4 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.01264, allocations: 234.6 kB / 254.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.01313, allocations: 443.9 kB / 255.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.01318, allocations: 57.67 kB / 255.1 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.01325, allocations: 64.38 kB / 255.2 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.01376, allocations: 0.4931 MB / 255.7 MB, free: 5.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.01379, allocations: 8.109 kB / 255.7 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.01382, allocations: 28.11 kB / 255.7 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01383, allocations: 16 kB / 255.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.01403, allocations: 137.1 kB / 255.9 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01558, allocations: 1.328 MB / 257.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.01595, allocations: 227.4 kB / 257.4 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.01604, allocations: 66.33 kB / 257.5 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.01608, allocations: 16.48 kB / 257.5 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.01636, allocations: 238.2 kB / 257.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=53): time 2.195e-06/0.01637, allocations: 3.938 kB / 257.8 MB, free: 3.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.0004021/0.01677, allocations: 278 kB / 258 MB, free: 3.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.01684, allocations: 119.3 kB / 258.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.01713, allocations: 443.1 kB / 258.6 MB, free: 2.535 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.01716, allocations: 37.7 kB / 258.6 MB, free: 2.492 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.01731, allocations: 282.1 kB / 258.9 MB, free: 2.215 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.01741, allocations: 166.6 kB / 259.1 MB, free: 2.051 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01753, allocations: 126.2 kB / 259.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.01767, allocations: 382.6 kB / 259.5 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.01776, allocations: 67.39 kB / 259.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.01797, allocations: 320.5 kB / 259.9 MB, free: 1.055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.01831, allocations: 407.4 kB / 260.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.01831, allocations: 0 / 260.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003871/0.0187, allocations: 359.8 kB / 260.7 MB, free: 220 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01872, allocations: 4 kB / 260.7 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.01873, allocations: 11.98 kB / 260.7 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.01875, allocations: 12 kB / 260.7 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.01907, allocations: 155.7 kB / 260.9 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.01908, allocations: 8.5 kB / 260.9 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.01926, allocations: 83.53 kB / 260.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.01929, allocations: 20 kB / 261 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001528/0.01944, allocations: 152.2 kB / 261.1 MB, free: 15.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001999/0.01964, allocations: 324.4 kB / 261.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002941/0.01993, allocations: 389.1 kB / 261.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.01994, allocations: 4 kB / 261.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.0003409/0.02028, allocations: 355.7 kB / 262.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.02029, allocations: 15.25 kB / 262.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.02029, allocations: 8 kB / 262.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.0203, allocations: 8 kB / 262.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.02056, allocations: 147.7 kB / 262.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.02057, allocations: 15.98 kB / 262.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.02072, allocations: 67.61 kB / 262.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.02074, allocations: 20 kB / 262.4 MB, free: 14.25 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.0001367/0.02088, allocations: 246.6 kB / 262.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.02093, allocations: 47.95 kB / 262.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.02125, allocations: 257 kB / 263 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02125, allocations: 11.94 kB / 263 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.02126, allocations: 3.984 kB / 263 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02126, allocations: 0 / 263 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.0216, allocations: 415.8 kB / 263.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0216, allocations: 4 kB / 263.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.02182, allocations: 99.86 kB / 263.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.02183, allocations: 0 / 263.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.02185, allocations: 11.98 kB / 263.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02185, allocations: 0 / 263.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02185, allocations: 0 / 263.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.02225, allocations: 346.1 kB / 263.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.02231, allocations: 67.44 kB / 263.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.02236, allocations: 16 kB / 263.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.02247, allocations: 39.91 kB / 264 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.02254, allocations: 40.42 kB / 264 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.02256, allocations: 11.98 kB / 264 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.02268, allocations: 188.4 kB / 264.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02268, allocations: 0 / 264.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.02306, allocations: 255.3 kB / 264.5 MB, free: 12.18 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.0003275/0.02339, allocations: 0.5791 MB / 265 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.02384, allocations: 460.5 kB / 265.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.02384, allocations: 8.062 kB / 265.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.02398, allocations: 132.6 kB / 265.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.02422, allocations: 93.17 kB / 265.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.02704, allocations: 2.981 MB / 268.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.29e-05/0.02713, allocations: 148 kB / 268.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.02736, allocations: 100.8 kB / 268.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.02772, allocations: 359.2 kB / 269.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of SimCode: time 1.293e-06/0.02772, allocations: 0 / 269.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03552/0.06324, allocations: 16.88 MB / 286.2 MB, free: 6.309 MB / 282.7 MB Notification: FMU-only work: backend 0.0002179, simCode 0.001374, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07058/0.1338, allocations: 1.374 MB / 287.5 MB, free: 4.875 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.118/3.252, allocations: 15.88 kB / 287.6 MB, free: 4.863 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu) > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion.fmu) > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0001 ../Modelica_trunk_Modelica_Blocks_Examples_TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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] "Error: Could not read variable thdRMS.rootMeanSquare.mean.x in file Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable thdRMS.rootMeanSquare.mean.x from file Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" 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:time,thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.diff.mat", vars={"thdRMS.rootMeanSquare.mean.x"}, removeDescription=false) [Timeout 660] "Error: Could not read variable thdRMS.rootMeanSquare.mean.x in file Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/TotalHarmonicDistortion/TotalHarmonicDistortion.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.TotalHarmonicDistortion_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"thdRMS.rootMeanSquare.mean.x"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.97796799428761]