Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 113.9 kB / 20.43 MB, free: 4.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 217.5 kB / 23.73 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.091/1.091, allocations: 230.6 MB / 257.5 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.DemoSignalCharacteristic,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.DemoSignalCharacteristic,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 379.3 MB, free: 484 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 53.36 MB / 432.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemoSignalCharacteristic): time 0.002944/0.3322, allocations: 2.151 MB / 434.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3337, allocations: 0.8988 MB / 435.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3339, allocations: 8.062 kB / 435.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.334, allocations: 31.55 kB / 435.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.3344, allocations: 123.7 kB / 435.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.3348, allocations: 164.6 kB / 436 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.3352, allocations: 427.5 kB / 436.4 MB, free: 328 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.3354, allocations: 82.7 kB / 436.5 MB, free: 272 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.3358, allocations: 185.9 kB / 436.7 MB, free: 152 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.336, allocations: 172 kB / 436.9 MB, free: 28 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.3361, allocations: 37.75 kB / 436.9 MB, free: 28 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3362, allocations: 56.69 kB / 437 MB, free: 16 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3363, allocations: 102.4 kB / 437.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3364, allocations: 148.3 kB / 437.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.3369, allocations: 418.8 kB / 437.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3369, allocations: 0 / 437.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3369, allocations: 0 / 437.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3369, allocations: 0 / 437.6 MB, free: 15.52 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.001263/0.3382, allocations: 0.7736 MB / 438.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3382, allocations: 9.656 kB / 438.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.3383, allocations: 58.34 kB / 438.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.3385, allocations: 71.34 kB / 438.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.3389, allocations: 320.5 kB / 438.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3389, allocations: 23.77 kB / 438.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.339, allocations: 30.92 kB / 438.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3394, allocations: 261 kB / 439.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3394, allocations: 0 / 439.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.3394, allocations: 15.52 kB / 439.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3394, allocations: 4.562 kB / 439.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.3398, allocations: 184.4 kB / 439.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3408, allocations: 0.6647 MB / 440 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3411, allocations: 173.4 kB / 440.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3413, allocations: 81.8 kB / 440.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3413, allocations: 6.906 kB / 440.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003726/0.3417, allocations: 252.3 kB / 440.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.3417, allocations: 0 / 440.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007049/0.3424, allocations: 378.2 kB / 440.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3424, allocations: 64.17 kB / 440.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.3428, allocations: 323.9 kB / 441.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3428, allocations: 42.34 kB / 441.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3429, allocations: 181.7 kB / 441.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.343, allocations: 94.36 kB / 441.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3431, allocations: 70.84 kB / 441.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3432, allocations: 347.6 kB / 442 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3435, allocations: 133.4 kB / 442.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3437, allocations: 260.3 kB / 442.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3442, allocations: 377.7 kB / 442.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.3442, allocations: 9.906 kB / 442.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000645/0.3448, allocations: 468.2 kB / 443.2 MB, free: 11.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.3449, allocations: 34.11 kB / 443.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3449, allocations: 4.062 kB / 443.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3449, allocations: 6.844 kB / 443.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3451, allocations: 73.89 kB / 443.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3451, allocations: 6.656 kB / 443.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3453, allocations: 40.98 kB / 443.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.3453, allocations: 22.7 kB / 443.4 MB, free: 11.23 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.000156/0.3454, allocations: 170.6 kB / 443.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.3455, allocations: 38.94 kB / 443.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.346, allocations: 305.4 kB / 443.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.346, allocations: 6.203 kB / 443.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.346, allocations: 4.875 kB / 443.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.346, allocations: 0 / 443.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3463, allocations: 298.6 kB / 444.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3463, allocations: 0 / 444.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3465, allocations: 40.19 kB / 444.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3465, allocations: 1.094 kB / 444.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.3465, allocations: 11.17 kB / 444.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3465, allocations: 1.062 kB / 444.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3465, allocations: 1.094 kB / 444.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.3472, allocations: 469.2 kB / 444.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.3473, allocations: 33.73 kB / 444.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3473, allocations: 10.56 kB / 444.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3474, allocations: 18.75 kB / 444.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.3475, allocations: 28.61 kB / 444.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3476, allocations: 16.55 kB / 444.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.3478, allocations: 231.9 kB / 445 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 445 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.3481, allocations: 73.08 kB / 445.1 MB, free: 10.09 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.0009051/0.349, allocations: 0.9993 MB / 446.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.3495, allocations: 348.8 kB / 446.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3495, allocations: 1.062 kB / 446.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3496, allocations: 116.3 kB / 446.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.3499, allocations: 67.73 kB / 446.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.3533, allocations: 3.605 MB / 450.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3534, allocations: 185.5 kB / 450.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.3535, allocations: 50.95 kB / 450.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3536, allocations: 119.4 kB / 450.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3536, allocations: 0 / 450.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.4541, allocations: 7.894 MB / 458.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/10, allocations: 9.922 kB / 458.5 MB, free: 12.62 MB / 362.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic.diff.ref.mat", vars={"harmonic.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0005 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_DemoSignalCharacteristic.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.DemoSignalCharacteristic_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.080340540036559]