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.001158/0.001158, allocations: 76.47 kB / 9.89 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002784, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 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.0009698/0.0009698, allocations: 136.9 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003549/0.004518, allocations: 459.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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 1.176/1.176, allocations: 173.4 MB / 185.7 MB, free: 9.016 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09137/1.267, allocations: 52.5 MB / 238.2 MB, free: 4.457 MB / 234.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+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 239.5 MB, free: 3.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.594e-06/8.896e-06, allocations: 2.312 kB / 239.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002202/0.002211, allocations: 2.204 MB / 241.7 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.003184, allocations: 0.7086 MB / 242.4 MB, free: 328 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.003299, allocations: 11.88 kB / 242.4 MB, free: 316 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.00341, allocations: 47.52 kB / 242.4 MB, free: 268 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.003519, allocations: 55.47 kB / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.0037, allocations: 95.69 kB / 242.6 MB, free: 116 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.003923, allocations: 235.7 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.00407, allocations: 78.64 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.004236, allocations: 151.6 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004346, allocations: 83.7 kB / 243.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.004373, allocations: 16 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.004454, allocations: 39.92 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.004508, allocations: 43.81 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.004559, allocations: 47.88 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004747, allocations: 171.2 kB / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.004759, allocations: 0 / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004759, allocations: 0 / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.004769, allocations: 0 / 243.4 MB, free: 15.26 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.0005655/0.005334, allocations: 487.7 kB / 243.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.005367, allocations: 16.03 kB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.005409, allocations: 50.7 kB / 244 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.005457, allocations: 40.91 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.00566, allocations: 181.3 kB / 244.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.005685, allocations: 16.81 kB / 244.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.005713, allocations: 24.31 kB / 244.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.005953, allocations: 211 kB / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005964, allocations: 0 / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.006021, allocations: 12 kB / 244.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.006044, allocations: 16.48 kB / 244.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.006144, allocations: 69.39 kB / 244.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.006759, allocations: 0.6009 MB / 245.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.006883, allocations: 92.11 kB / 245.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.006926, allocations: 44.83 kB / 245.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/0.007008, allocations: 15.98 kB / 245.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.083e-05/0.007098, allocations: 38.94 kB / 245.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.0071, allocations: 0 / 245.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005148/0.007615, allocations: 372.4 kB / 245.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.007642, allocations: 55.41 kB / 245.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007745, allocations: 201 kB / 245.9 MB, free: 12.56 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007758, allocations: 29.7 kB / 246 MB, free: 12.53 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.007808, allocations: 132.9 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.007851, allocations: 95.2 kB / 246.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.007898, allocations: 49.67 kB / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.007974, allocations: 334.8 kB / 246.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.008006, allocations: 23.98 kB / 246.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.008056, allocations: 67.33 kB / 246.6 MB, free: 11.81 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.008157, allocations: 113.3 kB / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008159, allocations: 0 / 246.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001324/0.008291, allocations: 129.5 kB / 246.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008303, allocations: 16.05 kB / 246.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008308, allocations: 0 / 246.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.008317, allocations: 4 kB / 246.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.008483, allocations: 63.84 kB / 247 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008487, allocations: 4 kB / 247 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.008535, allocations: 11.98 kB / 247 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.008544, allocations: 4 kB / 247 MB, free: 11.45 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 0.0002317/0.008776, allocations: 124.6 kB / 247.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.008804, allocations: 19.98 kB / 247.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.008985, allocations: 158.7 kB / 247.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.008989, allocations: 7.938 kB / 247.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.008991, allocations: 3.938 kB / 247.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.008997, allocations: 3.984 kB / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.009411, allocations: 430.8 kB / 247.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009413, allocations: 0 / 247.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.009559, allocations: 55.97 kB / 247.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.009601, allocations: 39.7 kB / 247.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.009605, allocations: 4 kB / 247.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.009617, allocations: 8.031 kB / 247.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.009619, allocations: 7.938 kB / 247.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.00962, allocations: 0 / 247.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.009846, allocations: 289 kB / 248.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.009864, allocations: 8.125 kB / 248.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.009925, allocations: 15.98 kB / 248.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.009964, allocations: 15.97 kB / 248.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.009972, allocations: 4 kB / 248.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.01001, allocations: 66.78 kB / 248.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01002, allocations: 4 kB / 248.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000158/0.01017, allocations: 48 kB / 248.3 MB, free: 10.08 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.000386/0.01056, allocations: 0.7424 MB / 249 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.0107, allocations: 111.7 kB / 249.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.0107, allocations: 0 / 249.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.01077, allocations: 73.14 kB / 249.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01097, allocations: 40.48 kB / 249.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.01269, allocations: 1.552 MB / 250.8 MB, free: 7.461 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.274e-05/0.01274, allocations: 96.64 kB / 250.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.0128, allocations: 29.92 kB / 250.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.01293, allocations: 143.3 kB / 251 MB, free: 7.172 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01293, allocations: 0 / 251 MB, free: 7.172 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.03065/0.04357, allocations: 6.818 MB / 257.9 MB, free: 0.6172 MB / 250.7 MB Notification: FMU-only work: backend 0.0002825, simCode 0.0009747, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/0.1264, allocations: 1.329 MB / 259.2 MB, free: 15.25 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.899/3.026, allocations: 15.89 kB / 259.2 MB, free: 15.24 MB / 266.7 MB " [Timeout remaining time 657] (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(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_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(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_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] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_SinCosEncoder_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_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] Reference file matches [Calling sys.exit(0), Time elapsed: 7.052236723713577]