Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001906/0.003187, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.003015, allocations: 475.5 kB / 11.67 MB, free: 2.496 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 177.4 MB / 189.8 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1151/1.342, allocations: 53.87 MB / 243.7 MB, free: 14.93 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.856e-05, allocations: 6.25 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.005318/0.005336, allocations: 2.226 MB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.006341, allocations: 0.7435 MB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00647, allocations: 15.88 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.006585, allocations: 43.53 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.006706, allocations: 51.52 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.006909, allocations: 103.7 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.007135, allocations: 235.7 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.007308, allocations: 86.48 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.007523, allocations: 143.7 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.007646, allocations: 91.75 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.007674, allocations: 16 kB / 248.7 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.007766, allocations: 31.98 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.007816, allocations: 43.81 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.007868, allocations: 55.81 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.008075, allocations: 167.2 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.008091, allocations: 3.984 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008091, allocations: 0 / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.008101, allocations: 0 / 249 MB, free: 9.652 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.0006172/0.008719, allocations: 499.7 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.008756, allocations: 8.625 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.008797, allocations: 54.7 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.008946, allocations: 114 kB / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.009132, allocations: 185.3 kB / 249.8 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.009186, allocations: 12.88 kB / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.009215, allocations: 20.38 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.009446, allocations: 207.7 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009456, allocations: 4.188 kB / 250 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.009472, allocations: 20.06 kB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.009494, allocations: 8.5 kB / 250.1 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.009595, allocations: 69.44 kB / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.01026, allocations: 0.6086 MB / 250.7 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.01039, allocations: 85.36 kB / 250.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.01044, allocations: 52.81 kB / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.01052, allocations: 8 kB / 250.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.01055, allocations: 42.56 kB / 250.9 MB, free: 7.527 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.01055, allocations: 0 / 250.9 MB, free: 7.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005175/0.01107, allocations: 386.4 kB / 251.3 MB, free: 7.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.01109, allocations: 55.41 kB / 251.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.0112, allocations: 205 kB / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.01121, allocations: 33.69 kB / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.01127, allocations: 137 kB / 251.7 MB, free: 6.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.01131, allocations: 91.2 kB / 251.8 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.01136, allocations: 49.67 kB / 251.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.01144, allocations: 338.8 kB / 252.2 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.01147, allocations: 24 kB / 252.2 MB, free: 6.156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.01153, allocations: 59.38 kB / 252.3 MB, free: 6.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.01163, allocations: 106.1 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01163, allocations: 0 / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002739/0.01191, allocations: 130.7 kB / 252.5 MB, free: 5.836 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01192, allocations: 12 kB / 252.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01192, allocations: 0 / 252.5 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.01193, allocations: 7.938 kB / 252.5 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01209, allocations: 55.97 kB / 252.6 MB, free: 5.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.0121, allocations: 7.984 kB / 252.6 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.01214, allocations: 8 kB / 252.6 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.01216, allocations: 11.88 kB / 252.6 MB, free: 5.734 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.184e-05/0.01223, allocations: 120.7 kB / 252.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.01226, allocations: 23.97 kB / 252.8 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.01244, allocations: 154.6 kB / 252.9 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01244, allocations: 4 kB / 252.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01244, allocations: 0 / 252.9 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01245, allocations: 3.984 kB / 252.9 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.01284, allocations: 431 kB / 253.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01285, allocations: 0 / 253.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.013, allocations: 59.97 kB / 253.4 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.01304, allocations: 39.73 kB / 253.4 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01304, allocations: 8.031 kB / 253.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.01306, allocations: 11.92 kB / 253.4 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01306, allocations: 4 kB / 253.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01306, allocations: 0 / 253.5 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.0133, allocations: 282 kB / 253.7 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.01332, allocations: 7.984 kB / 253.7 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.01339, allocations: 15.88 kB / 253.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.01344, allocations: 19.97 kB / 253.8 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01345, allocations: 7.984 kB / 253.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.225e-05/0.01349, allocations: 58.81 kB / 253.8 MB, free: 4.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01349, allocations: 4 kB / 253.8 MB, free: 4.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.01366, allocations: 48 kB / 253.9 MB, free: 4.375 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.0003991/0.01406, allocations: 0.7352 MB / 254.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01419, allocations: 119.6 kB / 254.7 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.0142, allocations: 4 kB / 254.7 MB, free: 3.488 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.01426, allocations: 60.77 kB / 254.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01446, allocations: 39.58 kB / 254.8 MB, free: 3.391 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.01603, allocations: 1.548 MB / 256.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.01608, allocations: 100.6 kB / 256.5 MB, free: 1.645 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.01614, allocations: 29.92 kB / 256.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01627, allocations: 135.3 kB / 256.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01627, allocations: 0 / 256.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.02999/0.04626, allocations: 6.694 MB / 263.3 MB, free: 11 MB / 266.7 MB Notification: FMU-only work: backend 0.0002816, simCode 0.0007857, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/0.1179, allocations: 1.329 MB / 264.7 MB, free: 9.637 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.786/2.904, allocations: 19.91 kB / 264.7 MB, free: 9.613 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=me --timeout=240 --tolerance=1e-05 ../Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=cs --timeout=240 --tolerance=1e-05 ../Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=cs --timeout=240 --tolerance=1e-05 ../Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Blocks_Examples_SinCosEncoder_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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.986208991147578]