Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9253/0.9253, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 326.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.396e-05, allocations: 6.219 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.002729/0.002753, allocations: 2.114 MB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.00376, allocations: 0.7087 MB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.003929, allocations: 11.88 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.004128, allocations: 47.53 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.004347, allocations: 55.52 kB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.00465, allocations: 103.4 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.004894, allocations: 239.7 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.005065, allocations: 84.73 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.005271, allocations: 135.7 kB / 329.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.005382, allocations: 83.7 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.005408, allocations: 16 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.005481, allocations: 35.98 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.005539, allocations: 59.75 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.005592, allocations: 63.83 kB / 329.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.005848, allocations: 259 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.005852, allocations: 0 / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.005854, allocations: 3.938 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.005859, allocations: 0 / 330.1 MB, free: 11.09 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.0006128/0.006472, allocations: 484.7 kB / 330.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.00651, allocations: 8.031 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.006561, allocations: 66.73 kB / 330.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.006658, allocations: 32.78 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.006896, allocations: 205.3 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.006919, allocations: 12.88 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.006954, allocations: 28.36 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.00728, allocations: 248.2 kB / 331.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.007296, allocations: 4.188 kB / 331.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.007315, allocations: 16.11 kB / 331.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.007342, allocations: 12.5 kB / 331.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.007616, allocations: 197.8 kB / 331.4 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.008405, allocations: 0.7362 MB / 332.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.00866, allocations: 174.4 kB / 332.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.008794, allocations: 104.8 kB / 332.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.495e-05/0.008858, allocations: 8 kB / 332.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.008875, allocations: 34.56 kB / 332.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.008877, allocations: 0 / 332.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.000962/0.009839, allocations: 0.6547 MB / 333.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.009871, allocations: 63.41 kB / 333.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01002, allocations: 221.6 kB / 333.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01004, allocations: 29.7 kB / 333.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.01011, allocations: 148.6 kB / 333.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.01015, allocations: 87.22 kB / 333.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.01022, allocations: 53.64 kB / 333.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.01029, allocations: 330.8 kB / 334 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.01041, allocations: 83.94 kB / 334.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01056, allocations: 123.4 kB / 334.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.01082, allocations: 226.3 kB / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01082, allocations: 0 / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003128/0.01113, allocations: 273.3 kB / 334.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01115, allocations: 4 kB / 334.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01116, allocations: 4 kB / 334.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01117, allocations: 4.062 kB / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.01135, allocations: 63.89 kB / 334.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01136, allocations: 4 kB / 334.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.01142, allocations: 19.97 kB / 334.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01144, allocations: 8.062 kB / 334.8 MB, free: 6.129 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.000106/0.01154, allocations: 145.7 kB / 335 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.01157, allocations: 23.84 kB / 335 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.01202, allocations: 292.2 kB / 335.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01202, allocations: 4 kB / 335.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01203, allocations: 0 / 335.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01203, allocations: 0 / 335.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.01267, allocations: 0.6355 MB / 335.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01267, allocations: 0 / 335.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01283, allocations: 55.97 kB / 336 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01283, allocations: 4.031 kB / 336 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01285, allocations: 15.97 kB / 336 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.01285, allocations: 3.938 kB / 336 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01285, allocations: 0 / 336 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.01332, allocations: 486.4 kB / 336.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.01338, allocations: 43.83 kB / 336.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.0134, allocations: 8 kB / 336.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.01347, allocations: 15.94 kB / 336.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.01353, allocations: 23.89 kB / 336.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01354, allocations: 8 kB / 336.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.01363, allocations: 161.2 kB / 336.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01363, allocations: 0 / 336.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01384, allocations: 44 kB / 336.8 MB, free: 4.098 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.0007469/0.01459, allocations: 1.019 MB / 337.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.01488, allocations: 212.1 kB / 338 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01488, allocations: 7.938 kB / 338 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.01501, allocations: 111.8 kB / 338.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01525, allocations: 28.42 kB / 338.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.01767, allocations: 2.618 MB / 340.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01777, allocations: 163.1 kB / 340.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.148e-05/0.01786, allocations: 49.89 kB / 341 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.01796, allocations: 88.47 kB / 341 MB, free: 15.65 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01796, allocations: 0 / 341 MB, free: 15.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.081/0.09896, allocations: 5.327 MB / 346.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.274, allocations: 14.06 kB / 346.4 MB, free: 10.45 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder_fmu --startTime=0 --stopTime=1 --stepSize=5e-05 --mode=me --timeout=240 --tolerance=1e-05 ../Modelica_4_1_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder.diff.ref.mat", vars={"der1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Blocks_Examples_SinCosEncoder_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Blocks_Examples_SinCosEncoder.fmu) > Modelica_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.SinCosEncoder_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.644534605555236]