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.001066/0.001066, allocations: 115.5 kB / 20.44 MB, free: 4.586 MB / 13.93 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.001274/0.001274, allocations: 221.3 kB / 23.74 MB, free: 2.133 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 0.9841/0.9841, allocations: 231.1 MB / 258 MB, free: 8.941 MB / 202.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",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 380.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 53.55 MB / 433.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.003369/0.2647, allocations: 2.113 MB / 435.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2658, allocations: 0.7091 MB / 436.6 MB, free: 284 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2659, allocations: 7.906 kB / 436.6 MB, free: 280 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2661, allocations: 50.42 kB / 436.6 MB, free: 232 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2663, allocations: 46.52 kB / 436.7 MB, free: 192 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2666, allocations: 115.2 kB / 436.8 MB, free: 100 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.2668, allocations: 226.9 kB / 437 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.267, allocations: 77.02 kB / 437.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2672, allocations: 102.3 kB / 437.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2673, allocations: 98.53 kB / 437.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2674, allocations: 17.41 kB / 437.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.526e-05/0.2675, allocations: 41.62 kB / 437.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.292e-05/0.2675, allocations: 53.03 kB / 437.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.2676, allocations: 88.14 kB / 437.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2679, allocations: 250.9 kB / 437.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.2679, allocations: 4 kB / 437.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2679, allocations: 0 / 437.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.268, allocations: 0 / 437.7 MB, free: 15.49 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006915/0.2686, allocations: 494.5 kB / 438.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2687, allocations: 8.906 kB / 438.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.2687, allocations: 54.61 kB / 438.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2688, allocations: 35.64 kB / 438.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2691, allocations: 192.2 kB / 438.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2691, allocations: 17.78 kB / 438.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.2692, allocations: 25.25 kB / 438.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.2695, allocations: 258.9 kB / 438.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2695, allocations: 0 / 438.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2695, allocations: 10.23 kB / 438.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.2696, allocations: 19.55 kB / 438.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2698, allocations: 181.9 kB / 439 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.2706, allocations: 0.7582 MB / 439.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2709, allocations: 172.1 kB / 439.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.271, allocations: 94.52 kB / 440 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.2711, allocations: 10.06 kB / 440 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2711, allocations: 44.53 kB / 440.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.2711, allocations: 0 / 440.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001002/0.2721, allocations: 0.6536 MB / 440.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2722, allocations: 53.66 kB / 440.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2723, allocations: 215.9 kB / 441 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2723, allocations: 27.08 kB / 441 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.2724, allocations: 159.4 kB / 441.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.2725, allocations: 80.77 kB / 441.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.2725, allocations: 55.92 kB / 441.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.2726, allocations: 329.3 kB / 441.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2727, allocations: 84.56 kB / 441.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2729, allocations: 132.8 kB / 441.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.2731, allocations: 221.7 kB / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2731, allocations: 0 / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003168/0.2734, allocations: 284 kB / 442.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2735, allocations: 6.438 kB / 442.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2735, allocations: 0 / 442.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2735, allocations: 2.062 kB / 442.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.2736, allocations: 56.02 kB / 442.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2737, allocations: 10.06 kB / 442.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.2737, allocations: 15.92 kB / 442.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.2737, allocations: 11.41 kB / 442.4 MB, free: 11.99 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 9.908e-05/0.2738, allocations: 146.9 kB / 442.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2739, allocations: 22.14 kB / 442.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.2742, allocations: 293 kB / 442.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2742, allocations: 3.094 kB / 442.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2742, allocations: 5.281 kB / 442.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2743, allocations: 7.984 kB / 442.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.2749, allocations: 0.6244 MB / 443.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2749, allocations: 1.156 kB / 443.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.2751, allocations: 61.83 kB / 443.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2751, allocations: 1.125 kB / 443.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2751, allocations: 7.312 kB / 443.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2751, allocations: 5.031 kB / 443.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2751, allocations: 5.125 kB / 443.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.2756, allocations: 485.8 kB / 444.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.2757, allocations: 39.42 kB / 444.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2757, allocations: 6.906 kB / 444.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.2758, allocations: 17.77 kB / 444.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2758, allocations: 18.41 kB / 444.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.2758, allocations: 5.906 kB / 444.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.2759, allocations: 160.5 kB / 444.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2759, allocations: 0 / 444.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.2761, allocations: 50.75 kB / 444.4 MB, free: 10.66 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.00072/0.2769, allocations: 1.024 MB / 445.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2772, allocations: 224.8 kB / 445.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2772, allocations: 0 / 445.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2773, allocations: 107.9 kB / 445.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2776, allocations: 24.38 kB / 445.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.2807, allocations: 2.7 MB / 448.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2809, allocations: 151.2 kB / 448.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.281, allocations: 49.91 kB / 448.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.2811, allocations: 91.39 kB / 448.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2811, allocations: 0 / 448.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/0.3623, allocations: 5.192 MB / 453.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.344, allocations: 11.44 kB / 453.9 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 653] (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(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_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(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_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] [Calling sys.exit(0), Time elapsed: 10.801407461054623]