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.0008164/0.0008164, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.002014, allocations: 449.6 kB / 10.33 MB, free: 372 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.001108/0.001108, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002563, allocations: 475.5 kB / 11.67 MB, free: 2.496 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 1.226/1.226, allocations: 177.4 MB / 189.8 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.33, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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 1.332e-06/1.332e-06, allocations: 0 / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.646e-05, allocations: 2.312 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.007803/0.007819, allocations: 3.605 MB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.01025, allocations: 1.413 MB / 249.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.01043, allocations: 19.88 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.01061, allocations: 90.86 kB / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.01088, allocations: 166.4 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.01154, allocations: 459.1 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.01237, allocations: 0.9077 MB / 251.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.01278, allocations: 270.2 kB / 251.8 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.01349, allocations: 0.5897 MB / 252.4 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.01382, allocations: 263.2 kB / 252.7 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.01393, allocations: 92 kB / 252.8 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.0141, allocations: 104 kB / 252.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01424, allocations: 155.5 kB / 253 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.01446, allocations: 199.6 kB / 253.2 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.01511, allocations: 0.5642 MB / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.01513, allocations: 0 / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01513, allocations: 0 / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.01514, allocations: 4 kB / 253.8 MB, free: 4.77 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.001214/0.01636, allocations: 1.1 MB / 254.9 MB, free: 3.645 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.0164, allocations: 12.62 kB / 254.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.01651, allocations: 102.6 kB / 255 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.01701, allocations: 237.9 kB / 255.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.01763, allocations: 453.3 kB / 255.7 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.01767, allocations: 45.69 kB / 255.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.01776, allocations: 68.36 kB / 255.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.01832, allocations: 0.497 MB / 256.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.01833, allocations: 4.188 kB / 256.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.01837, allocations: 28.11 kB / 256.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.01837, allocations: 12 kB / 256.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.01856, allocations: 137 kB / 256.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.01992, allocations: 1.324 MB / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.02024, allocations: 247.7 kB / 258 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.02032, allocations: 62.33 kB / 258.1 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.02035, allocations: 8.5 kB / 258.1 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.02059, allocations: 246 kB / 258.3 MB, free: 28 kB / 250.7 MB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.0206, allocations: 4 kB / 258.3 MB, free: 24 kB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.000358/0.02095, allocations: 278 kB / 258.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.02101, allocations: 115.3 kB / 258.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.02126, allocations: 435.1 kB / 259.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.02129, allocations: 45.7 kB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.02141, allocations: 274.1 kB / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.02149, allocations: 166.6 kB / 259.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.0216, allocations: 122.2 kB / 259.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.02171, allocations: 386.6 kB / 260.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.0218, allocations: 67.45 kB / 260.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.02197, allocations: 328.4 kB / 260.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.02226, allocations: 397.1 kB / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02227, allocations: 4 kB / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000347/0.02262, allocations: 359.9 kB / 261.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.02263, allocations: 8 kB / 261.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.02264, allocations: 11.98 kB / 261.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.02265, allocations: 8 kB / 261.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.02295, allocations: 156.3 kB / 261.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.02296, allocations: 16 kB / 261.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.02312, allocations: 75.48 kB / 261.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.02315, allocations: 27.98 kB / 261.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001407/0.02329, allocations: 144.2 kB / 261.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001755/0.02347, allocations: 332.3 kB / 262 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002612/0.02373, allocations: 377.7 kB / 262.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.02373, allocations: 0 / 262.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.0003272/0.02406, allocations: 358.1 kB / 262.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.02406, allocations: 14.97 kB / 262.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.02407, allocations: 8 kB / 262.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.02408, allocations: 8 kB / 262.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.02433, allocations: 151.7 kB / 262.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.02434, allocations: 12 kB / 262.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.02449, allocations: 59.72 kB / 263 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.02451, allocations: 23.98 kB / 263 MB, free: 10.9 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.0001147/0.02462, allocations: 242.6 kB / 263.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.02468, allocations: 59.94 kB / 263.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.02497, allocations: 253 kB / 263.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02498, allocations: 4 kB / 263.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02498, allocations: 0 / 263.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.02498, allocations: 7.984 kB / 263.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.02531, allocations: 415.9 kB / 264 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02531, allocations: 11.94 kB / 264 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.02553, allocations: 91.86 kB / 264.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.02557, allocations: 55.5 kB / 264.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.02557, allocations: 4 kB / 264.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.0256, allocations: 15.98 kB / 264.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.0256, allocations: 0 / 264.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0256, allocations: 0 / 264.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.02597, allocations: 350.1 kB / 264.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.02601, allocations: 19.98 kB / 264.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.02613, allocations: 23.98 kB / 264.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.0262, allocations: 48.42 kB / 264.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.02622, allocations: 15.92 kB / 264.6 MB, free: 9.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.02634, allocations: 192.4 kB / 264.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02634, allocations: 0 / 264.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000367/0.02671, allocations: 251.3 kB / 265 MB, free: 8.816 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.0003001/0.02701, allocations: 0.5941 MB / 265.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.02743, allocations: 449.7 kB / 266 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.02743, allocations: 4 kB / 266.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.02756, allocations: 128.6 kB / 266.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.02781, allocations: 134.3 kB / 266.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.0304, allocations: 2.992 MB / 269.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.03048, allocations: 148 kB / 269.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.0307, allocations: 100.8 kB / 269.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.03104, allocations: 363.2 kB / 269.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03104, allocations: 0 / 269.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.03492/0.06596, allocations: 16.88 MB / 286.8 MB, free: 2.871 MB / 282.7 MB Notification: FMU-only work: backend 0.0001998, simCode 0.001251, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07589/0.1418, allocations: 1.342 MB / 288.1 MB, free: 1.5 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.008/3.15, allocations: 15.78 kB / 288.1 MB, free: 1.48 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 --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_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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.973016895353794]