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.0009586/0.0009586, allocations: 115.8 kB / 20.43 MB, free: 4.59 MB / 13.93 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.0009578/0.0009578, allocations: 217.3 kB / 23.73 MB, free: 2.117 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.9687/0.9687, allocations: 231.1 MB / 258 MB, free: 8.941 MB / 202.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 0.001507/0.001507, allocations: 71.89 kB / 380.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 53.57 MB / 433.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002241/0.2392, allocations: 2.151 MB / 435.9 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2403, allocations: 0.8992 MB / 436.8 MB, free: 104 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2404, allocations: 15.75 kB / 436.8 MB, free: 92 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2406, allocations: 31.55 kB / 436.9 MB, free: 60 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.2409, allocations: 111.4 kB / 437 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.2412, allocations: 176.9 kB / 437.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.2415, allocations: 423.2 kB / 437.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2417, allocations: 83.55 kB / 437.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2419, allocations: 181.9 kB / 437.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.2421, allocations: 175.4 kB / 438 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.2422, allocations: 38.16 kB / 438 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.2423, allocations: 56.55 kB / 438.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.2424, allocations: 97.67 kB / 438.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2425, allocations: 145.3 kB / 438.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.2428, allocations: 421.9 kB / 438.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2428, allocations: 0 / 438.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2428, allocations: 0 / 438.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2428, allocations: 1 kB / 438.7 MB, free: 14.77 MB / 346.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.001049/0.2439, allocations: 0.7765 MB / 439.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2439, allocations: 9.719 kB / 439.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.244, allocations: 54.48 kB / 439.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.2442, allocations: 66.56 kB / 439.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.2446, allocations: 329.2 kB / 440 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2446, allocations: 24.31 kB / 440 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.2446, allocations: 31.02 kB / 440 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.245, allocations: 260 kB / 440.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.245, allocations: 0.9375 kB / 440.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.245, allocations: 10.17 kB / 440.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.245, allocations: 6.406 kB / 440.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.2453, allocations: 187 kB / 440.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.2462, allocations: 0.6578 MB / 441.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.2465, allocations: 181.4 kB / 441.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.2467, allocations: 85.52 kB / 441.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2467, allocations: 7.469 kB / 441.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.247, allocations: 259.4 kB / 441.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.247, allocations: 0 / 441.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006109/0.2476, allocations: 374.3 kB / 442 MB, free: 12.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2477, allocations: 60.81 kB / 442.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.2479, allocations: 323.8 kB / 442.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.248, allocations: 38.05 kB / 442.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.2481, allocations: 189.6 kB / 442.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.2481, allocations: 94.56 kB / 442.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.2482, allocations: 71.53 kB / 442.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.2483, allocations: 345.9 kB / 443.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2484, allocations: 129.3 kB / 443.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.2486, allocations: 265 kB / 443.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.249, allocations: 380.9 kB / 443.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.249, allocations: 1.125 kB / 443.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005058/0.2495, allocations: 454.1 kB / 444.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.2495, allocations: 41.36 kB / 444.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2496, allocations: 8.469 kB / 444.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2496, allocations: 6.75 kB / 444.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2497, allocations: 70.58 kB / 444.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2497, allocations: 6 kB / 444.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.2499, allocations: 49.41 kB / 444.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.2499, allocations: 21.47 kB / 444.5 MB, free: 10.47 MB / 346.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.0001191/0.25, allocations: 170.8 kB / 444.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.2501, allocations: 39.39 kB / 444.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.2505, allocations: 308.6 kB / 445 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2505, allocations: 2.812 kB / 445 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2505, allocations: 1.031 kB / 445 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2505, allocations: 0 / 445 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2507, allocations: 302.9 kB / 445.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2507, allocations: 0 / 445.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2508, allocations: 40.12 kB / 445.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2509, allocations: 1.25 kB / 445.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2509, allocations: 11.05 kB / 445.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2509, allocations: 1.062 kB / 445.4 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2509, allocations: 4 kB / 445.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.2514, allocations: 472.4 kB / 445.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.2515, allocations: 31.73 kB / 445.9 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2515, allocations: 8.062 kB / 445.9 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.2516, allocations: 19.97 kB / 445.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.2517, allocations: 27.95 kB / 445.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2517, allocations: 15.98 kB / 445.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.2518, allocations: 227.1 kB / 446.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2518, allocations: 0 / 446.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000227/0.2521, allocations: 71.88 kB / 446.2 MB, free: 9.027 MB / 346.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.0007534/0.2528, allocations: 1.008 MB / 447.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.2532, allocations: 344.8 kB / 447.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2532, allocations: 3.938 kB / 447.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2534, allocations: 117.4 kB / 447.7 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.2536, allocations: 49.06 kB / 447.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.2566, allocations: 3.601 MB / 451.3 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.2568, allocations: 185.4 kB / 451.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2569, allocations: 51.03 kB / 451.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.257, allocations: 123.4 kB / 451.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.257, allocations: 0 / 451.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08036/0.3374, allocations: 7.903 MB / 459.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.491, allocations: 8.062 kB / 459.6 MB, free: 11.47 MB / 362.7 MB " [Timeout remaining time 652] (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.mean2.y", "harmonic.mean1.y", "rootMeanSquare.y", "rectifiedMean.y", "mean.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.mean2.y", "harmonic.mean1.y", "rootMeanSquare.y", "rectifiedMean.y", "mean.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.mean2.y", "harmonic.mean1.y", "rootMeanSquare.y", "rectifiedMean.y", "mean.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.mean2.y", "harmonic.mean1.y", "rootMeanSquare.y", "rectifiedMean.y", "mean.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: 10.125182462856174]