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.001055/0.001055, allocations: 84.34 kB / 20.68 MB, free: 3.891 MB / 18.57 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.001173/0.001173, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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.9484/0.9484, allocations: 177.4 MB / 204.6 MB, free: 5.266 MB / 186.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 1.553e-06/1.553e-06, allocations: 0 / 326.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.16e-05, allocations: 2.281 kB / 326.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002829/0.00285, allocations: 2.117 MB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003926, allocations: 0.7049 MB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004052, allocations: 11.88 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.004218, allocations: 47.52 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.004389, allocations: 47.52 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.004654, allocations: 107.6 kB / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.004911, allocations: 239.7 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.005095, allocations: 75.8 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.005325, allocations: 147.6 kB / 330.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.005449, allocations: 79.75 kB / 330.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.00548, allocations: 20 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.005559, allocations: 31.98 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.005625, allocations: 51.77 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.005693, allocations: 75.75 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.005981, allocations: 255 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005984, allocations: 4 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005985, allocations: 0 / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.00599, allocations: 0 / 330.8 MB, free: 10.21 MB / 298.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.0006773/0.006667, allocations: 488.7 kB / 331.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.006707, allocations: 15.98 kB / 331.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.006759, allocations: 54.73 kB / 331.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.006865, allocations: 32.75 kB / 331.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.007104, allocations: 197.5 kB / 331.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.007128, allocations: 24.75 kB / 331.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.007165, allocations: 20.38 kB / 331.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.007548, allocations: 260.2 kB / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.007563, allocations: 192 / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.007584, allocations: 16.12 kB / 331.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.007609, allocations: 12.44 kB / 331.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.007944, allocations: 193.8 kB / 332.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.008965, allocations: 0.744 MB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.009255, allocations: 174.4 kB / 333 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.009407, allocations: 92.8 kB / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.00947, allocations: 15.98 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.009488, allocations: 30.56 kB / 333.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.009489, allocations: 0 / 333.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001102/0.01059, allocations: 0.6552 MB / 333.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.01062, allocations: 51.41 kB / 333.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01079, allocations: 225.7 kB / 334.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.01081, allocations: 25.7 kB / 334.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.01089, allocations: 152.5 kB / 334.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.01094, allocations: 87.27 kB / 334.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.01101, allocations: 53.64 kB / 334.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.01111, allocations: 338.8 kB / 334.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01125, allocations: 79.95 kB / 334.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.01141, allocations: 123.3 kB / 334.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01173, allocations: 218.3 kB / 335.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01173, allocations: 0 / 335.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000397/0.01213, allocations: 285.3 kB / 335.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01215, allocations: 4 kB / 335.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01215, allocations: 0 / 335.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01217, allocations: 4 kB / 335.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.01237, allocations: 59.89 kB / 335.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01238, allocations: 0 / 335.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.01246, allocations: 15.98 kB / 335.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01248, allocations: 12 kB / 335.5 MB, free: 5.258 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.0001064/0.01258, allocations: 149.8 kB / 335.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.01262, allocations: 23.86 kB / 335.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.01307, allocations: 287.3 kB / 336 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01308, allocations: 4 kB / 336 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01308, allocations: 3.938 kB / 336 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.01309, allocations: 3.984 kB / 336 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.01386, allocations: 0.6356 MB / 336.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01387, allocations: 3.938 kB / 336.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.01406, allocations: 51.97 kB / 336.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.01407, allocations: 7.938 kB / 336.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01408, allocations: 0 / 336.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01409, allocations: 4 kB / 336.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01409, allocations: 0 / 336.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.01467, allocations: 498.1 kB / 337.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.01474, allocations: 43.83 kB / 337.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01476, allocations: 4 kB / 337.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01486, allocations: 15.98 kB / 337.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.01492, allocations: 19.91 kB / 337.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.01493, allocations: 11.98 kB / 337.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.01503, allocations: 153.2 kB / 337.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01503, allocations: 0 / 337.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01532, allocations: 48 kB / 337.4 MB, free: 3.227 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.0008197/0.01614, allocations: 1.027 MB / 338.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.01649, allocations: 212 kB / 338.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.0165, allocations: 0 / 338.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.01666, allocations: 112 kB / 338.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.01696, allocations: 28.88 kB / 338.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.01981, allocations: 2.624 MB / 341.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.01993, allocations: 163.1 kB / 341.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.02004, allocations: 45.91 kB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.02015, allocations: 88.45 kB / 341.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02015, allocations: 0 / 341.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08082/0.101, allocations: 5.332 MB / 347.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.629, allocations: 12.84 kB / 347.1 MB, free: 9.535 MB / 314.7 MB " [Timeout remaining time 652] (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: 11.06172514334321]