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.001021/0.001021, allocations: 110.7 kB / 20.43 MB, free: 4.605 MB / 13.93 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.0009496/0.0009496, allocations: 193.3 kB / 23.71 MB, free: 2.156 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 0.934/0.934, allocations: 225.7 MB / 252.5 MB, free: 14.44 MB / 202.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",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 372 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2367, allocations: 52.17 MB / 424.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002727/0.2395, allocations: 2.117 MB / 426.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2406, allocations: 0.6438 MB / 426.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2407, allocations: 7.062 kB / 426.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2409, allocations: 49.52 kB / 426.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.2411, allocations: 51.38 kB / 427 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.2413, allocations: 99.44 kB / 427.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.2415, allocations: 239.7 kB / 427.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2417, allocations: 75.67 kB / 427.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2418, allocations: 99.41 kB / 427.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.242, allocations: 98.48 kB / 427.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.242, allocations: 17.88 kB / 427.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.2421, allocations: 24.02 kB / 427.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.2421, allocations: 59.5 kB / 427.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.2422, allocations: 91.83 kB / 427.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2425, allocations: 252.8 kB / 428 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2425, allocations: 0 / 428 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2425, allocations: 0 / 428 MB, free: 5.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2425, allocations: 0.8438 kB / 428 MB, free: 5.266 MB / 330.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.0005707/0.2431, allocations: 484.7 kB / 428.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2431, allocations: 9.438 kB / 428.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.2432, allocations: 59.47 kB / 428.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.2432, allocations: 34.31 kB / 428.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2434, allocations: 190.9 kB / 428.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2434, allocations: 16.5 kB / 428.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.2435, allocations: 26.58 kB / 428.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.2439, allocations: 255.4 kB / 429.1 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2439, allocations: 2.219 kB / 429.1 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.2439, allocations: 9.406 kB / 429.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.244, allocations: 11.45 kB / 429.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2442, allocations: 197.7 kB / 429.3 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.245, allocations: 0.7407 MB / 430 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.2453, allocations: 176.1 kB / 430.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.2454, allocations: 110.8 kB / 430.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.506e-05/0.2455, allocations: 6.734 kB / 430.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2455, allocations: 33.45 kB / 430.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.2455, allocations: 0 / 430.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009189/0.2464, allocations: 0.6552 MB / 431 MB, free: 3.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.2464, allocations: 54.22 kB / 431.1 MB, free: 3.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2466, allocations: 222.9 kB / 431.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2466, allocations: 30.83 kB / 431.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.2466, allocations: 144.9 kB / 431.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2467, allocations: 92.61 kB / 431.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.2467, allocations: 47.95 kB / 431.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.2467, allocations: 336.4 kB / 431.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2469, allocations: 85.5 kB / 432 MB, free: 2.473 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.247, allocations: 124.3 kB / 432.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.2472, allocations: 218.2 kB / 432.3 MB, free: 2.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2472, allocations: 0 / 432.3 MB, free: 2.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004006/0.2476, allocations: 272.5 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2477, allocations: 5.125 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2477, allocations: 1.906 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2477, allocations: 1.438 kB / 432.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2479, allocations: 68.64 kB / 432.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2479, allocations: 2.438 kB / 432.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.2479, allocations: 18.73 kB / 432.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2479, allocations: 10.64 kB / 432.7 MB, free: 2.086 MB / 330.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 8.326e-05/0.248, allocations: 144.7 kB / 432.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.2481, allocations: 22.89 kB / 432.9 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.2484, allocations: 300.1 kB / 433.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2484, allocations: 2.938 kB / 433.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2484, allocations: 0 / 433.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2484, allocations: 4.719 kB / 433.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.249, allocations: 0.6323 MB / 433.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.249, allocations: 5.344 kB / 433.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2492, allocations: 57.44 kB / 433.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2492, allocations: 10.19 kB / 433.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2492, allocations: 10.48 kB / 433.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2492, allocations: 1.094 kB / 433.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2492, allocations: 1.219 kB / 433.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.2497, allocations: 489.2 kB / 434.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.2497, allocations: 36.41 kB / 434.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.2498, allocations: 10.05 kB / 434.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2499, allocations: 13.44 kB / 434.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2499, allocations: 27.33 kB / 434.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2499, allocations: 9.375 kB / 434.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.042e-05/0.25, allocations: 156.8 kB / 434.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.25, allocations: 0 / 434.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.2502, allocations: 50.39 kB / 434.7 MB, free: 0.7461 MB / 330.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.0006478/0.2509, allocations: 1.033 MB / 435.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.2512, allocations: 211.8 kB / 435.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2512, allocations: 1.312 kB / 435.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2513, allocations: 113.1 kB / 436 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2516, allocations: 24.52 kB / 436 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.2544, allocations: 2.703 MB / 438.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.2546, allocations: 163.9 kB / 438.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.2547, allocations: 49.2 kB / 439 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2548, allocations: 85.81 kB / 439 MB, free: 13.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2548, allocations: 1.062 kB / 439 MB, free: 13.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/0.3825, allocations: 5.273 MB / 444.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.394, allocations: 4.062 kB / 444.3 MB, free: 10.11 MB / 346.7 MB " [Timeout remaining time 652] (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(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_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(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_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] [Calling sys.exit(0), Time elapsed: 10.607496683485806]