Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.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.0009855/0.0009855, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009998/0.0009998, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9095/0.9095, allocations: 177.4 MB / 204.5 MB, free: 5.289 MB / 186.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.DemoSignalCharacteristic,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.DemoSignalCharacteristic,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 326.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.208e-05, allocations: 2.281 kB / 326.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002617/0.002639, allocations: 2.159 MB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003908, allocations: 0.9151 MB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.004044, allocations: 7.938 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.004165, allocations: 35.48 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.004456, allocations: 119.1 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.004748, allocations: 179.5 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.005123, allocations: 426.8 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.005303, allocations: 79.78 kB / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.005641, allocations: 255.4 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.005828, allocations: 147.5 kB / 331.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.005909, allocations: 36 kB / 331.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.005985, allocations: 52 kB / 331.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.006054, allocations: 99.58 kB / 331.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.006151, allocations: 115.7 kB / 331.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.006491, allocations: 438.6 kB / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006493, allocations: 0 / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006494, allocations: 0 / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.0065, allocations: 3.938 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001045/0.007545, allocations: 0.7708 MB / 332.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.007588, allocations: 15.98 kB / 332.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.007637, allocations: 54.73 kB / 332.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.007827, allocations: 64.62 kB / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.008232, allocations: 330.1 kB / 333.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.008254, allocations: 20.88 kB / 333.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.008294, allocations: 32.27 kB / 333.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.008646, allocations: 256.5 kB / 333.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.008659, allocations: 192 / 333.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.008681, allocations: 12.12 kB / 333.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.008688, allocations: 8 kB / 333.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.00898, allocations: 189.8 kB / 333.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.009827, allocations: 0.6615 MB / 334.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.01014, allocations: 186.6 kB / 334.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.01027, allocations: 80.81 kB / 334.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01029, allocations: 7.984 kB / 334.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.0106, allocations: 248.9 kB / 334.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.0106, allocations: 0 / 334.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005892/0.01119, allocations: 392 kB / 335.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.01122, allocations: 55.41 kB / 335.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.01147, allocations: 324.5 kB / 335.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.0115, allocations: 37.7 kB / 335.5 MB, free: 5.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.01159, allocations: 184.7 kB / 335.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.01164, allocations: 87.31 kB / 335.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.01172, allocations: 74.06 kB / 335.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.01181, allocations: 342.8 kB / 336.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.01198, allocations: 130.4 kB / 336.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.01221, allocations: 271.1 kB / 336.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.01258, allocations: 370.5 kB / 337 MB, free: 3.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01258, allocations: 4 kB / 337 MB, free: 3.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005027/0.01309, allocations: 471 kB / 337.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.01312, allocations: 37.64 kB / 337.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01312, allocations: 4 kB / 337.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01314, allocations: 4 kB / 337.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.0133, allocations: 71.89 kB / 337.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.01331, allocations: 11.94 kB / 337.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.01345, allocations: 43.75 kB / 337.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.01347, allocations: 20 kB / 337.6 MB, free: 3.012 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 20 (rectifiedMean.mean.y_last,$PRE.rectifiedMean.mean.y_last,mean.y_last,$PRE.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean2.y_last,$PRE.harmonic.mean2.y_last,pulse.T_start,$PRE.pulse.T_start,pulse.count,$PRE.pulse.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * 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.0001237/0.01359, allocations: 167.7 kB / 337.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.01363, allocations: 39.7 kB / 337.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.01406, allocations: 317.2 kB / 338.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01406, allocations: 4 kB / 338.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01406, allocations: 0 / 338.1 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01407, allocations: 4 kB / 338.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.01427, allocations: 296.5 kB / 338.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01427, allocations: 0 / 338.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01439, allocations: 39.97 kB / 338.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.0144, allocations: 7.938 kB / 338.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01441, allocations: 11.92 kB / 338.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01442, allocations: 0 / 338.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01442, allocations: 0 / 338.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.01499, allocations: 457.8 kB / 338.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.01503, allocations: 27.8 kB / 339 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.01506, allocations: 12 kB / 339 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01516, allocations: 23.97 kB / 339 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.01522, allocations: 27.95 kB / 339 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01524, allocations: 15.92 kB / 339 MB, free: 1.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.0154, allocations: 227.1 kB / 339.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.0154, allocations: 4 kB / 339.3 MB, free: 1.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.01563, allocations: 79.88 kB / 339.4 MB, free: 1.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Number of discrete variables: 13 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,harmonic.mean2.y_last,harmonic.mean1.y_last,rootMeanSquare.mean.y_last,rectifiedMean.mean.y_last,mean.y_last,pulse.count,pulse.T_start) * Number of discrete states: 6 (pulse.count,mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0007346/0.01636, allocations: 0.9926 MB / 340.3 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.01678, allocations: 345.2 kB / 340.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01678, allocations: 0 / 340.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01694, allocations: 112.9 kB / 340.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01718, allocations: 61.36 kB / 340.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.02038, allocations: 3.593 MB / 344.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.0205, allocations: 185.3 kB / 344.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.02061, allocations: 50.95 kB / 344.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02075, allocations: 124.4 kB / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02075, allocations: 0 / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/0.09864, allocations: 8.029 MB / 352.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.193, allocations: 7.922 kB / 352.8 MB, free: 3.559 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic.fmu) > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,mean.y,rectifiedMean.y,rootMeanSquare.y,harmonic.mean1.y,harmonic.mean2.y Variables in the result:app,der(harmonic.mean1.x),der(harmonic.mean2.x),der(mean.x),der(rectifiedMean.mean.x),der(rootMeanSquare.mean.x),dutyCycle,f,harmonic.f,harmonic.gain.k,harmonic.gain.u,harmonic.gain.y,harmonic.k,harmonic.mean1.f,harmonic.mean1.u,harmonic.mean1.x,harmonic.mean1.x0,harmonic.mean1.y,harmonic.mean1.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.u,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.y,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.nu,harmonic.product1.significantDigits,harmonic.product1.u[1],harmonic.product1.u[2],harmonic.product1.y,harmonic.product2.nu,harmonic.product2.significantDigits,harmonic.product2.u[1],harmonic.product2.u[2],harmonic.product2.y,harmonic.rectangularToPolar.u_im,harmonic.rectangularToPolar.u_re,harmonic.rectangularToPolar.y_abs,harmonic.rectangularToPolar.y_arg,harmonic.sin1.amplitude,harmonic.sin1.continuous,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin1.y,harmonic.sin2.amplitude,harmonic.sin2.continuous,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.sin2.y,harmonic.u,harmonic.useConjugateComplex,harmonic.x0Cos,harmonic.x0Sin,harmonic.y0Cos,harmonic.y0Sin,harmonic.y_arg,harmonic.y_rms,mean.f,mean.u,mean.x,mean.x0,mean.y,mean.y0,mean.yGreaterOrEqualZero,offset,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,pulse.y,rectifiedMean.abs1.generateEvent,rectifiedMean.abs1.u,rectifiedMean.abs1.y,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.u,rectifiedMean.mean.x,rectifiedMean.mean.x0,rectifiedMean.mean.y,rectifiedMean.mean.y0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.u,rectifiedMean.x0,rectifiedMean.y,rectifiedMean.y0,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.u,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.y0,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.nu,rootMeanSquare.product.significantDigits,rootMeanSquare.product.u[1],rootMeanSquare.product.u[2],rootMeanSquare.product.y,rootMeanSquare.sqrt1.u,rootMeanSquare.sqrt1.y,rootMeanSquare.u,rootMeanSquare.x0,rootMeanSquare.y,rootMeanSquare.y0,time,y,y1_arg,y1_cos,y1_rms,y1_sin,y_mean,y_rect,y_rms filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.diff.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic.diff.ref.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,mean.y,rectifiedMean.y,rootMeanSquare.y,harmonic.mean1.y,harmonic.mean2.y Variables in the result:app,der(harmonic.mean1.x),der(harmonic.mean2.x),der(mean.x),der(rectifiedMean.mean.x),der(rootMeanSquare.mean.x),dutyCycle,f,harmonic.f,harmonic.gain.k,harmonic.gain.u,harmonic.gain.y,harmonic.k,harmonic.mean1.f,harmonic.mean1.u,harmonic.mean1.x,harmonic.mean1.x0,harmonic.mean1.y,harmonic.mean1.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.u,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.y,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.nu,harmonic.product1.significantDigits,harmonic.product1.u[1],harmonic.product1.u[2],harmonic.product1.y,harmonic.product2.nu,harmonic.product2.significantDigits,harmonic.product2.u[1],harmonic.product2.u[2],harmonic.product2.y,harmonic.rectangularToPolar.u_im,harmonic.rectangularToPolar.u_re,harmonic.rectangularToPolar.y_abs,harmonic.rectangularToPolar.y_arg,harmonic.sin1.amplitude,harmonic.sin1.continuous,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin1.y,harmonic.sin2.amplitude,harmonic.sin2.continuous,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.sin2.y,harmonic.u,harmonic.useConjugateComplex,harmonic.x0Cos,harmonic.x0Sin,harmonic.y0Cos,harmonic.y0Sin,harmonic.y_arg,harmonic.y_rms,mean.f,mean.u,mean.x,mean.x0,mean.y,mean.y0,mean.yGreaterOrEqualZero,offset,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,pulse.y,rectifiedMean.abs1.generateEvent,rectifiedMean.abs1.u,rectifiedMean.abs1.y,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.u,rectifiedMean.mean.x,rectifiedMean.mean.x0,rectifiedMean.mean.y,rectifiedMean.mean.y0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.u,rectifiedMean.x0,rectifiedMean.y,rectifiedMean.y0,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.u,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.y0,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.nu,rootMeanSquare.product.significantDigits,rootMeanSquare.product.u[1],rootMeanSquare.product.u[2],rootMeanSquare.product.y,rootMeanSquare.sqrt1.u,rootMeanSquare.sqrt1.y,rootMeanSquare.u,rootMeanSquare.x0,rootMeanSquare.y,rootMeanSquare.y0,time,y,y1_arg,y1_cos,y1_rms,y1_sin,y_mean,y_rect,y_rms filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.diff.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.diff.ref.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,mean.y,rectifiedMean.y,rootMeanSquare.y,harmonic.mean1.y,harmonic.mean2.y Variables in the result:app,der(harmonic.mean1.x),der(harmonic.mean2.x),der(mean.x),der(rectifiedMean.mean.x),der(rootMeanSquare.mean.x),dutyCycle,f,harmonic.f,harmonic.gain.k,harmonic.gain.u,harmonic.gain.y,harmonic.k,harmonic.mean1.f,harmonic.mean1.u,harmonic.mean1.x,harmonic.mean1.x0,harmonic.mean1.y,harmonic.mean1.y0,harmonic.mean1.yGreaterOrEqualZero,harmonic.mean2.f,harmonic.mean2.u,harmonic.mean2.x,harmonic.mean2.x0,harmonic.mean2.y,harmonic.mean2.y0,harmonic.mean2.yGreaterOrEqualZero,harmonic.product1.nu,harmonic.product1.significantDigits,harmonic.product1.u[1],harmonic.product1.u[2],harmonic.product1.y,harmonic.product2.nu,harmonic.product2.significantDigits,harmonic.product2.u[1],harmonic.product2.u[2],harmonic.product2.y,harmonic.rectangularToPolar.u_im,harmonic.rectangularToPolar.u_re,harmonic.rectangularToPolar.y_abs,harmonic.rectangularToPolar.y_arg,harmonic.sin1.amplitude,harmonic.sin1.continuous,harmonic.sin1.f,harmonic.sin1.offset,harmonic.sin1.phase,harmonic.sin1.startTime,harmonic.sin1.y,harmonic.sin2.amplitude,harmonic.sin2.continuous,harmonic.sin2.f,harmonic.sin2.offset,harmonic.sin2.phase,harmonic.sin2.startTime,harmonic.sin2.y,harmonic.u,harmonic.useConjugateComplex,harmonic.x0Cos,harmonic.x0Sin,harmonic.y0Cos,harmonic.y0Sin,harmonic.y_arg,harmonic.y_rms,mean.f,mean.u,mean.x,mean.x0,mean.y,mean.y0,mean.yGreaterOrEqualZero,offset,pulse.amplitude,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,pulse.y,rectifiedMean.abs1.generateEvent,rectifiedMean.abs1.u,rectifiedMean.abs1.y,rectifiedMean.f,rectifiedMean.mean.f,rectifiedMean.mean.u,rectifiedMean.mean.x,rectifiedMean.mean.x0,rectifiedMean.mean.y,rectifiedMean.mean.y0,rectifiedMean.mean.yGreaterOrEqualZero,rectifiedMean.u,rectifiedMean.x0,rectifiedMean.y,rectifiedMean.y0,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.u,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.y0,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.product.nu,rootMeanSquare.product.significantDigits,rootMeanSquare.product.u[1],rootMeanSquare.product.u[2],rootMeanSquare.product.y,rootMeanSquare.sqrt1.u,rootMeanSquare.sqrt1.y,rootMeanSquare.u,rootMeanSquare.x0,rootMeanSquare.y,rootMeanSquare.y0,time,y,y1_arg,y1_cos,y1_rms,y1_sin,y_mean,y_rect,y_rms filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.diff.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/DemoSignalCharacteristic/DemoSignalCharacteristic.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.diff.ref.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy_res.csv --output-variables mean.y rectifiedMean.y rootMeanSquare.y harmonic.mean1.y harmonic.mean2.y --start-time 0 --stop-time 0.5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 ../Modelica_trunk_Modelica_Blocks_Examples_DemoSignalCharacteristic.fmu) > Modelica_trunk_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.705465354956686]