Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.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.0008847/0.0008847, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.00218, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 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.0008242/0.0008242, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001903, allocations: 467.5 kB / 11.66 MB, free: 2.504 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 0.9929/0.9929, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08336/1.076, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.866e-06/1.051e-05, allocations: 6.25 kB / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002521/0.002532, allocations: 2.223 MB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000829/0.003361, allocations: 0.7358 MB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003468, allocations: 11.88 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.003575, allocations: 47.47 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.764e-05/0.003673, allocations: 51.56 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.003861, allocations: 99.7 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.004107, allocations: 235.6 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.004277, allocations: 90.55 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.004474, allocations: 147.7 kB / 248.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.004583, allocations: 83.75 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.00461, allocations: 19.94 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.004695, allocations: 32 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.004739, allocations: 43.8 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.004788, allocations: 55.81 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004996, allocations: 167.2 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.00501, allocations: 0 / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005011, allocations: 0 / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.005022, allocations: 4 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005829/0.005605, allocations: 491.8 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.005645, allocations: 8.031 kB / 249 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.005688, allocations: 62.64 kB / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.005832, allocations: 118 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006005, allocations: 181.3 kB / 249.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.006028, allocations: 16.88 kB / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.006059, allocations: 24.38 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.006308, allocations: 207.6 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.006319, allocations: 192 / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.006334, allocations: 16.12 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.00636, allocations: 12.48 kB / 249.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.006458, allocations: 65.45 kB / 249.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.007092, allocations: 0.6125 MB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.007219, allocations: 95.8 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.007262, allocations: 44.83 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-05/0.007343, allocations: 23.92 kB / 250.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.007362, allocations: 30.56 kB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.007363, allocations: 0 / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005191/0.007882, allocations: 376.8 kB / 250.8 MB, free: 7.793 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.007909, allocations: 55.41 kB / 250.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.008028, allocations: 212.9 kB / 251.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.008044, allocations: 33.7 kB / 251.1 MB, free: 7.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.008096, allocations: 133 kB / 251.2 MB, free: 7.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.008136, allocations: 87.2 kB / 251.3 MB, free: 7.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.008188, allocations: 53.67 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.008269, allocations: 334.8 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.008303, allocations: 27.98 kB / 251.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.008482, allocations: 59.39 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.713e-05/0.00858, allocations: 101.1 kB / 251.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008581, allocations: 4 kB / 251.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001342/0.008715, allocations: 141.4 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008727, allocations: 8 kB / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.008731, allocations: 0 / 252 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.008741, allocations: 4 kB / 252 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.008911, allocations: 51.97 kB / 252.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.008917, allocations: 7.938 kB / 252.1 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.008965, allocations: 11.98 kB / 252.1 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.008976, allocations: 11.94 kB / 252.1 MB, free: 6.406 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.009053, allocations: 120.7 kB / 252.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.009083, allocations: 23.92 kB / 252.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.009273, allocations: 158.6 kB / 252.4 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009276, allocations: 4 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009278, allocations: 0 / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.009282, allocations: 0 / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.009696, allocations: 431 kB / 252.8 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009698, allocations: 0 / 252.8 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.009865, allocations: 68 kB / 252.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.009908, allocations: 35.77 kB / 252.9 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.009912, allocations: 4 kB / 252.9 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.009925, allocations: 7.938 kB / 253 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.00993, allocations: 4 kB / 253 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.009932, allocations: 7.922 kB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01017, allocations: 285.1 kB / 253.2 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01019, allocations: 8 kB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.01025, allocations: 7.922 kB / 253.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01029, allocations: 19.97 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.0103, allocations: 12 kB / 253.3 MB, free: 5.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.176e-05/0.01034, allocations: 62.78 kB / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01034, allocations: 0 / 253.4 MB, free: 5.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.0105, allocations: 48 kB / 253.4 MB, free: 5.043 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003668/0.01087, allocations: 0.7327 MB / 254.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.01101, allocations: 124.5 kB / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01101, allocations: 0 / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.01107, allocations: 64.75 kB / 254.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.01125, allocations: 48.67 kB / 254.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01256, allocations: 1.544 MB / 255.9 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.01261, allocations: 88.64 kB / 256 MB, free: 2.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.01267, allocations: 25.94 kB / 256 MB, free: 2.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.01281, allocations: 143.3 kB / 256.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01281, allocations: 0 / 256.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.02636/0.03917, allocations: 6.707 MB / 262.9 MB, free: 11.71 MB / 266.7 MB Notification: FMU-only work: backend 0.0002631, simCode 0.0005971, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/0.1063, allocations: 1.336 MB / 264.2 MB, free: 10.35 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.014, allocations: 11 kB / 264.2 MB, free: 10.34 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=me --timeout=240 --tolerance=1e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,integrator.y,der1.y,cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi Variables in the result:cosB.constantAmplitude,cosB.constantFrequency,cosB.f,cosB.offset,cosB.phi,cosB.useConstantAmplitude,cosB.useConstantFrequency,cosB.y,cosBminus.constantAmplitude,cosBminus.constantFrequency,cosBminus.f,cosBminus.offset,cosBminus.phi,cosBminus.useConstantAmplitude,cosBminus.useConstantFrequency,cosBminus.y,der(cosB.phi),der(cosBminus.phi),der(der1.u),der(integrator.y),der(rotator.angle),der(sinA.phi),der(sinAminus.phi),der(wrapAngle.u),der1.u,der1.y,feedbackCos.u1,feedbackCos.u2,feedbackCos.y,feedbackSin.u1,feedbackSin.u2,feedbackSin.y,integrator.initType,integrator.k,integrator.u,integrator.use_reset,integrator.use_set,integrator.y,integrator.y_start,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,rotator.angle,rotator.n,rotator.u[1],rotator.u[2],rotator.y[1],rotator.y[2],sinA.constantAmplitude,sinA.constantFrequency,sinA.f,sinA.offset,sinA.phi,sinA.useConstantAmplitude,sinA.useConstantFrequency,sinA.y,sinAminus.constantAmplitude,sinAminus.constantFrequency,sinAminus.f,sinAminus.offset,sinAminus.phi,sinAminus.useConstantAmplitude,sinAminus.useConstantFrequency,sinAminus.y,time,toPolar.n,toPolar.u[1],toPolar.u[2],toPolar.y[1],toPolar.y[2],w,wrapAngle.positiveRange,wrapAngle.u,wrapAngle.y filterSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.diff.mat", vars={"der1.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/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_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.SinCosEncoder_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=cs --timeout=240 --tolerance=1e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_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.SinCosEncoder_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=cs --timeout=240 --tolerance=1e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,integrator.y,der1.y,cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi Variables in the result:cosB.constantAmplitude,cosB.constantFrequency,cosB.f,cosB.offset,cosB.phi,cosB.useConstantAmplitude,cosB.useConstantFrequency,cosB.y,cosBminus.constantAmplitude,cosBminus.constantFrequency,cosBminus.f,cosBminus.offset,cosBminus.phi,cosBminus.useConstantAmplitude,cosBminus.useConstantFrequency,cosBminus.y,der(cosB.phi),der(cosBminus.phi),der(der1.u),der(integrator.y),der(rotator.angle),der(sinA.phi),der(sinAminus.phi),der(wrapAngle.u),der1.u,der1.y,feedbackCos.u1,feedbackCos.u2,feedbackCos.y,feedbackSin.u1,feedbackSin.u2,feedbackSin.y,integrator.initType,integrator.k,integrator.u,integrator.use_reset,integrator.use_set,integrator.y,integrator.y_start,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,rotator.angle,rotator.n,rotator.u[1],rotator.u[2],rotator.y[1],rotator.y[2],sinA.constantAmplitude,sinA.constantFrequency,sinA.f,sinA.offset,sinA.phi,sinA.useConstantAmplitude,sinA.useConstantFrequency,sinA.y,sinAminus.constantAmplitude,sinAminus.constantFrequency,sinAminus.f,sinAminus.offset,sinAminus.phi,sinAminus.useConstantAmplitude,sinAminus.useConstantFrequency,sinAminus.y,time,toPolar.n,toPolar.u[1],toPolar.u[2],toPolar.y[1],toPolar.y[2],w,wrapAngle.positiveRange,wrapAngle.u,wrapAngle.y filterSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.diff.mat", vars={"der1.y", "integrator.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/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.diff.ref.mat", vars={"der1.y", "integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv --output-variables integrator.y der1.y cosB.phi cosBminus.phi sinA.phi sinAminus.phi --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 5e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,integrator.y,der1.y,cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi Variables in the result:time,cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.y,integrator.y filterSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.diff.mat", vars={"der1.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/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv --output-variables integrator.y der1.y cosB.phi cosBminus.phi sinA.phi sinAminus.phi --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-05 --interface-type CoSimulation --output-interval 5e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.544366721063852]