Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 80.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9223/0.9223, allocations: 173.4 MB / 200.5 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 320 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.256e-05, allocations: 5.516 kB / 320 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003206/0.003229, allocations: 2.088 MB / 322.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004448, allocations: 0.662 MB / 322.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.004598, allocations: 7.938 kB / 322.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.004776, allocations: 51.45 kB / 322.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.004984, allocations: 43.59 kB / 322.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.005296, allocations: 103.7 kB / 322.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.005589, allocations: 247.5 kB / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.005804, allocations: 76 kB / 323.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.006039, allocations: 139.6 kB / 323.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.006185, allocations: 79.77 kB / 323.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.006223, allocations: 16 kB / 323.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.00632, allocations: 28 kB / 323.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.006403, allocations: 59.73 kB / 323.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.006482, allocations: 71.77 kB / 323.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.006818, allocations: 243.1 kB / 323.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.006825, allocations: 7.984 kB / 323.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.006826, allocations: 0 / 323.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.006838, allocations: 4 kB / 323.9 MB, free: 1.559 MB / 282.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.0006478/0.007485, allocations: 476.8 kB / 324.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.00753, allocations: 12.92 kB / 324.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.007578, allocations: 58.66 kB / 324.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.007623, allocations: 32.75 kB / 324.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.00787, allocations: 193.9 kB / 324.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.007894, allocations: 12.88 kB / 324.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.00793, allocations: 28.38 kB / 324.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.008272, allocations: 259.5 kB / 324.9 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.008287, allocations: 3.938 kB / 324.9 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008306, allocations: 8 kB / 325 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.00833, allocations: 12.5 kB / 325 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.008601, allocations: 189.9 kB / 325.2 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.009406, allocations: 0.7556 MB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.00965, allocations: 169.7 kB / 326.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.009824, allocations: 104.8 kB / 326.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.009895, allocations: 8.375 kB / 326.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.00992, allocations: 38.5 kB / 326.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.009922, allocations: 0 / 326.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001013/0.01094, allocations: 0.653 MB / 326.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.01097, allocations: 55.41 kB / 326.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01113, allocations: 217.8 kB / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.01115, allocations: 25.7 kB / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.01124, allocations: 152.5 kB / 327.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.01129, allocations: 91.2 kB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.01135, allocations: 49.7 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01145, allocations: 334.8 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.01158, allocations: 91.94 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.01171, allocations: 119.3 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.01196, allocations: 222.2 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01196, allocations: 3.938 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003129/0.01227, allocations: 273.3 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.01229, allocations: 8 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01229, allocations: 0 / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.01231, allocations: 4 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.01255, allocations: 59.89 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01256, allocations: 0 / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.01262, allocations: 19.97 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01264, allocations: 16.06 kB / 328.6 MB, free: 12.61 MB / 298.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.0001079/0.01274, allocations: 141.7 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.01279, allocations: 27.81 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.01317, allocations: 291.2 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01318, allocations: 4 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01318, allocations: 0 / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01319, allocations: 0 / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.01384, allocations: 0.6356 MB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01384, allocations: 7.938 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.014, allocations: 51.91 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.014, allocations: 64 / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01402, allocations: 15.98 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01402, allocations: 3.938 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01402, allocations: 4 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.01451, allocations: 486.5 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.01457, allocations: 43.8 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.0146, allocations: 7.984 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.01467, allocations: 15.94 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.01473, allocations: 19.89 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01474, allocations: 12 kB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.01483, allocations: 157.2 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01483, allocations: 0 / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.01505, allocations: 52 kB / 330.5 MB, free: 10.57 MB / 298.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.0007036/0.01575, allocations: 1.011 MB / 331.5 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01606, allocations: 219.2 kB / 331.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01606, allocations: 0 / 331.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.01619, allocations: 115.9 kB / 331.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.01644, allocations: 28.47 kB / 331.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.01892, allocations: 2.622 MB / 334.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01902, allocations: 159.2 kB / 334.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.01911, allocations: 45.91 kB / 334.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.0192, allocations: 80.47 kB / 334.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01921, allocations: 4 kB / 334.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/0.09867, allocations: 5.41 MB / 340.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.978, allocations: 21.8 kB / 340.2 MB, free: 0.8555 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=me --timeout=240 --tolerance=1e-05 ../Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.503066969104111]