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.001015/0.001015, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002375, allocations: 449.6 kB / 10.32 MB, free: 392 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.0008344/0.0008344, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001924, allocations: 475.5 kB / 11.66 MB, free: 2.516 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.9985/0.9985, allocations: 177.1 MB / 189.5 MB, free: 5.152 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1305/1.129, allocations: 53.75 MB / 243.3 MB, free: 15.34 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.633e-06/1.633e-06, allocations: 0 / 244.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.839e-05, allocations: 6.312 kB / 244.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002359/0.002377, allocations: 2.23 MB / 246.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.003328, allocations: 0.7397 MB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.003451, allocations: 11.88 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.003567, allocations: 55.44 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003672, allocations: 39.59 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.003886, allocations: 103.7 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.004122, allocations: 231.7 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.004317, allocations: 94.48 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.004548, allocations: 147.7 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004667, allocations: 79.7 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.004698, allocations: 20 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.004793, allocations: 35.98 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.004848, allocations: 35.88 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.004899, allocations: 55.81 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.005131, allocations: 175.2 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.005145, allocations: 0 / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005145, allocations: 0 / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.00516, allocations: 0 / 248.5 MB, free: 10.07 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.000595/0.005755, allocations: 447.7 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.005793, allocations: 8.031 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.005835, allocations: 58.7 kB / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.005995, allocations: 118 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006186, allocations: 181.3 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.006213, allocations: 16.88 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.006252, allocations: 20.38 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.006501, allocations: 203.7 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.006513, allocations: 4.188 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.006529, allocations: 16.06 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.006554, allocations: 16.48 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.006652, allocations: 65.39 kB / 249.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.007595, allocations: 0.6125 MB / 250.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.007743, allocations: 93.34 kB / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.007797, allocations: 36.84 kB / 250.4 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.007903, allocations: 23.98 kB / 250.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.007925, allocations: 30.56 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.007927, allocations: 0 / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005929/0.00852, allocations: 372.9 kB / 250.8 MB, free: 7.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.008551, allocations: 55.41 kB / 250.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.008668, allocations: 208.9 kB / 251.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.008684, allocations: 37.7 kB / 251.1 MB, free: 7.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.008745, allocations: 133 kB / 251.3 MB, free: 7.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.008789, allocations: 91.19 kB / 251.3 MB, free: 7.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.008844, allocations: 49.69 kB / 251.4 MB, free: 6.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.008934, allocations: 338.8 kB / 251.7 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.008972, allocations: 23.98 kB / 251.7 MB, free: 6.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.009027, allocations: 59.39 kB / 251.8 MB, free: 6.551 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.009133, allocations: 102.1 kB / 251.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009135, allocations: 0 / 251.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001579/0.009292, allocations: 146.6 kB / 252 MB, free: 6.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.009307, allocations: 4 kB / 252.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009313, allocations: 0 / 252.1 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.009327, allocations: 11.92 kB / 252.1 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.00949, allocations: 55.97 kB / 252.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.009493, allocations: 0 / 252.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.009542, allocations: 11.98 kB / 252.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.009555, allocations: 15.88 kB / 252.1 MB, free: 6.191 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.92e-05/0.009634, allocations: 120.7 kB / 252.3 MB, free: 6.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.009671, allocations: 24.05 kB / 252.3 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.00986, allocations: 154.6 kB / 252.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009863, allocations: 4 kB / 252.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009865, allocations: 0 / 252.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.00987, allocations: 0 / 252.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.0103, allocations: 439 kB / 252.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01031, allocations: 0 / 252.9 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01046, allocations: 55.91 kB / 252.9 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01047, allocations: 3.938 kB / 252.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01048, allocations: 16.02 kB / 252.9 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01049, allocations: 3.938 kB / 252.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01049, allocations: 0 / 252.9 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.01073, allocations: 289.1 kB / 253.2 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.01078, allocations: 31.78 kB / 253.3 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.0108, allocations: 4 kB / 253.3 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.01086, allocations: 15.92 kB / 253.3 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.0109, allocations: 15.97 kB / 253.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.01091, allocations: 4.125 kB / 253.3 MB, free: 4.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.01096, allocations: 70.78 kB / 253.4 MB, free: 4.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 4 kB / 253.4 MB, free: 4.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01114, allocations: 44 kB / 253.4 MB, free: 4.84 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.0004222/0.01156, allocations: 0.743 MB / 254.2 MB, free: 4.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01171, allocations: 119.6 kB / 254.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.01172, allocations: 0 / 254.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.01178, allocations: 64.75 kB / 254.3 MB, free: 3.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01197, allocations: 31.77 kB / 254.4 MB, free: 3.855 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.01341, allocations: 1.532 MB / 255.9 MB, free: 2.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.01347, allocations: 100.6 kB / 256 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.857e-05/0.01353, allocations: 21.94 kB / 256 MB, free: 2.105 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.01366, allocations: 147.3 kB / 256.2 MB, free: 1.961 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01366, allocations: 4 kB / 256.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.0268/0.04046, allocations: 6.668 MB / 262.8 MB, free: 11.5 MB / 266.7 MB Notification: FMU-only work: backend 0.0002998, simCode 0.0006497, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/0.1192, allocations: 1.366 MB / 264.2 MB, free: 10.07 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 3.041/3.161, allocations: 11.94 kB / 264.2 MB, free: 10.06 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(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] (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 --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] "Error: Could not read variable integrator.y in file Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable integrator.y from file Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable der1.y in file Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable der1.y from file Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv failed! " [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,der1.u,sinA.phi,sinAminus.phi filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.diff.mat", vars={"der1.y", "integrator.y"}, removeDescription=false) [Timeout 660] "Error: Could not read variable der1.y in file Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder_fmpy-fmi3-cs-cvode.diff.mat: "" 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-fmi3-cs-cvode.diff.ref.mat", vars={"der1.y", "integrator.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 7.424026002176106]