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.001243/0.001243, allocations: 108.1 kB / 20.43 MB, free: 4.609 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.001145/0.001145, allocations: 217.5 kB / 23.73 MB, free: 2.145 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.055/1.055, allocations: 230.6 MB / 257.5 MB, free: 9.602 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.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 55.91 kB / 379.3 MB, free: 480 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3992, allocations: 53.36 MB / 432.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003348/0.4026, allocations: 2.113 MB / 434.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4039, allocations: 0.7091 MB / 435.5 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.404, allocations: 7.688 kB / 435.5 MB, free: 1.035 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.4042, allocations: 46.27 kB / 435.5 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.4045, allocations: 46.31 kB / 435.6 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.4048, allocations: 101.5 kB / 435.7 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.4051, allocations: 237.2 kB / 435.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.4053, allocations: 72.77 kB / 436 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.4056, allocations: 98.12 kB / 436.1 MB, free: 0.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.4057, allocations: 103.1 kB / 436.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.4058, allocations: 16.5 kB / 436.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.4059, allocations: 38.42 kB / 436.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.4059, allocations: 64.67 kB / 436.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.406, allocations: 84.81 kB / 436.4 MB, free: 444 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.4064, allocations: 258.3 kB / 436.6 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4064, allocations: 0 / 436.6 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4064, allocations: 0 / 436.6 MB, free: 256 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4064, allocations: 1.438 kB / 436.6 MB, free: 256 kB / 330.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.0008092/0.4072, allocations: 485 kB / 437.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.4072, allocations: 10.22 kB / 437.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.4073, allocations: 61.14 kB / 437.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.4075, allocations: 36.89 kB / 437.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.4078, allocations: 188.5 kB / 437.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.4078, allocations: 13.06 kB / 437.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.4078, allocations: 22.34 kB / 437.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.4083, allocations: 262.5 kB / 437.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4083, allocations: 0 / 437.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4083, allocations: 10.75 kB / 437.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.4084, allocations: 10.84 kB / 437.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.4087, allocations: 198.7 kB / 437.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4098, allocations: 0.7486 MB / 438.6 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.4101, allocations: 176.7 kB / 438.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.4103, allocations: 106.5 kB / 438.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.4104, allocations: 6.438 kB / 438.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4104, allocations: 39.81 kB / 439 MB, free: 14.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.4104, allocations: 1.25 kB / 439 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001248/0.4116, allocations: 0.6507 MB / 439.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4117, allocations: 58.66 kB / 439.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.4119, allocations: 211.5 kB / 439.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4119, allocations: 30.83 kB / 439.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.412, allocations: 148.3 kB / 440 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.4121, allocations: 89.3 kB / 440.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.4121, allocations: 47.3 kB / 440.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4122, allocations: 333.3 kB / 440.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4124, allocations: 83.97 kB / 440.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4126, allocations: 121.4 kB / 440.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4129, allocations: 229.1 kB / 440.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4129, allocations: 0 / 440.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004154/0.4133, allocations: 276.4 kB / 441.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4133, allocations: 6.156 kB / 441.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4133, allocations: 3.984 kB / 441.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4133, allocations: 6.875 kB / 441.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.4135, allocations: 59.31 kB / 441.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.4135, allocations: 6.453 kB / 441.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.4136, allocations: 16.02 kB / 441.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4136, allocations: 5.844 kB / 441.3 MB, free: 12.77 MB / 346.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 0.0001255/0.4138, allocations: 154.7 kB / 441.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.4138, allocations: 23.14 kB / 441.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.4143, allocations: 301.2 kB / 441.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4143, allocations: 2.562 kB / 441.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4143, allocations: 3.938 kB / 441.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4143, allocations: 1.594 kB / 441.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.4151, allocations: 0.6243 MB / 442.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4151, allocations: 0 / 442.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4153, allocations: 62.48 kB / 442.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4153, allocations: 5.281 kB / 442.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4153, allocations: 10.44 kB / 442.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4153, allocations: 5.094 kB / 442.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4153, allocations: 1.281 kB / 442.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.4159, allocations: 485 kB / 443 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.4159, allocations: 44.94 kB / 443 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.416, allocations: 1.406 kB / 443 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.416, allocations: 21.77 kB / 443 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.4161, allocations: 19.19 kB / 443 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.4161, allocations: 6 kB / 443 MB, free: 11.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.4162, allocations: 161.6 kB / 443.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4162, allocations: 0 / 443.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.4165, allocations: 49.47 kB / 443.3 MB, free: 11.43 MB / 346.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.00086/0.4174, allocations: 1.024 MB / 444.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.4177, allocations: 214.2 kB / 444.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4177, allocations: 0 / 444.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.4179, allocations: 109.1 kB / 444.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.4182, allocations: 31.27 kB / 444.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4207, allocations: 2.691 MB / 447.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.4208, allocations: 155.2 kB / 447.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.236e-05/0.4209, allocations: 49.91 kB / 447.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.421, allocations: 91.33 kB / 447.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.421, allocations: 0 / 447.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0832/0.5042, allocations: 5.194 MB / 452.8 MB, free: 2.539 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.468, allocations: 12.91 kB / 452.8 MB, free: 2.535 MB / 346.7 MB " [Timeout remaining time 651] (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(sinA.phi),der(sinAminus.phi),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(sinA.phi),der(sinAminus.phi),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] [Calling sys.exit(0), Time elapsed: 12.047365208156407]