Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.000984/0.000984, allocations: 115.2 kB / 21.18 MB, free: 4.371 MB / 13.93 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.0009422/0.0009422, allocations: 221.5 kB / 24.48 MB, free: 1.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 207.7 MB / 235.3 MB, free: 4.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 55.92 kB / 348.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2221, allocations: 49.16 MB / 397.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006579/0.2287, allocations: 6.836 MB / 404.7 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.2333, allocations: 3.1 MB / 407.8 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005274/0.2339, allocations: 43.81 kB / 407.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2352, allocations: 1.008 MB / 408.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2371, allocations: 1.382 MB / 410.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.2379, allocations: 0.5379 MB / 410.8 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.24, allocations: 2.598 MB / 413.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2412, allocations: 1.236 MB / 414.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/0.242, allocations: 0.8563 MB / 415.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.2432, allocations: 1.226 MB / 416.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.2434, allocations: 144 kB / 416.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.2444, allocations: 0.7916 MB / 417.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.245, allocations: 1.094 MB / 418.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.2456, allocations: 0.9119 MB / 419.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.2485, allocations: 4.157 MB / 423.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2485, allocations: 4 kB / 423.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2485, allocations: 0 / 423.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.2485, allocations: 0 / 423.8 MB, free: 3.496 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.003126/0.2517, allocations: 3.028 MB / 426.9 MB, free: 432 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.2517, allocations: 15.92 kB / 426.9 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003559/0.2521, allocations: 462.5 kB / 427.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.2549, allocations: 1.602 MB / 428.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.2569, allocations: 1.821 MB / 430.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.257, allocations: 127 kB / 430.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.2572, allocations: 155.9 kB / 431 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005508/0.2627, allocations: 6.53 MB / 437.6 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.2628, allocations: 27.77 kB / 437.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.2629, allocations: 83.89 kB / 437.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001387/0.2643, allocations: 1.476 MB / 439.1 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006256/0.2706, allocations: 5.81 MB / 445 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.2882, allocations: 24.76 MB / 469.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.2913, allocations: 2.019 MB / 471.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009604/0.2923, allocations: 1.133 MB / 472.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004645/0.2969, allocations: 4.287 MB / 477.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2969, allocations: 42.56 kB / 477.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 2.756e-06/0.2969, allocations: 0 / 477.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.01413/0.3111, allocations: 9.817 MB / 487 MB, free: 2.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.3111, allocations: 137 kB / 487.1 MB, free: 2.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.3138, allocations: 2.894 MB / 490 MB, free: 15.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.3139, allocations: 41.69 kB / 490.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009332/0.3148, allocations: 2.14 MB / 492.2 MB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.315, allocations: 448.6 kB / 492.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/0.3157, allocations: 0.8377 MB / 493.5 MB, free: 12.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.3158, allocations: 305.1 kB / 493.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3172, allocations: 1.441 MB / 495.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.32, allocations: 4.057 MB / 499.3 MB, free: 5.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.3244, allocations: 5.949 MB / 0.4934 GB, free: 13.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/0.3245, allocations: 28 kB / 0.4934 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006255/0.3307, allocations: 6.018 MB / 0.4993 GB, free: 7.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.3308, allocations: 44 kB / 0.4993 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-05/0.3308, allocations: 92 kB / 0.4994 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3321, allocations: 0.8169 MB / 0.5002 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3336, allocations: 0.9435 MB / 0.5011 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.3378, allocations: 4.529 MB / 0.5056 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.3394, allocations: 239.6 kB / 0.5058 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.3397, allocations: 260 kB / 0.506 GB, free: 0.7578 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001444/0.3411, allocations: 1.368 MB / 0.5074 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.3413, allocations: 242.3 kB / 0.5076 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.3438, allocations: 2.13 MB / 0.5097 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3438, allocations: 12 kB / 0.5097 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3438, allocations: 4 kB / 0.5097 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3438, allocations: 3.984 kB / 0.5097 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.3494, allocations: 4.786 MB / 0.5144 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3494, allocations: 0 / 0.5144 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.35, allocations: 155.8 kB / 0.5145 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.3511, allocations: 0.6912 MB / 0.5152 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.3512, allocations: 16 kB / 0.5152 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003412/0.3546, allocations: 4.021 MB / 0.5192 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3546, allocations: 0 / 0.5192 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2337/0.5883, allocations: 4.062 MB / 0.5231 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.5896, allocations: 382.3 kB / 0.5235 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/0.59, allocations: 16.38 kB / 0.5235 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.5908, allocations: 81.73 kB / 0.5236 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.591, allocations: 54.3 kB / 0.5236 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.5911, allocations: 32.45 kB / 0.5237 GB, free: 120.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002714/0.5938, allocations: 1.709 MB / 0.5253 GB, free: 120.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5938, allocations: 0 / 0.5253 GB, free: 120.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002809/0.5966, allocations: 0.6706 MB / 0.526 GB, free: 120.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004364/0.6009, allocations: 4.735 MB / 0.5306 GB, free: 118.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004084/0.605, allocations: 3.353 MB / 0.5339 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.605, allocations: 0 / 0.5339 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.606, allocations: 0.9729 MB / 0.5348 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6075, allocations: 253.9 kB / 0.5351 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03334/0.6409, allocations: 30.05 MB / 0.5644 GB, free: 84.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.6423, allocations: 1.676 MB / 0.5661 GB, free: 83.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001892/0.6442, allocations: 1.31 MB / 0.5673 GB, free: 81.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.6453, allocations: 1.101 MB / 0.5684 GB, free: 80.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6453, allocations: 4 kB / 0.5684 GB, free: 80.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/0.8358, allocations: 45.39 MB / 0.6127 GB, free: 35.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/9.339, allocations: 8.047 kB / 0.6127 GB, free: 35.3 MB / 442.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=me --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=cs --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=cs --timeout=240 --tolerance=1e-08 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,rev.phi,rev.w Variables in the result:body.I[1,1],body.I[1,2],body.I[1,3],body.I[2,1],body.I[2,2],body.I[2,3],body.I[3,1],body.I[3,2],body.I[3,3],body.I_11,body.I_21,body.I_22,body.I_31,body.I_32,body.I_33,body.R_start.T[1,1],body.R_start.T[1,2],body.R_start.T[1,3],body.R_start.T[2,1],body.R_start.T[2,2],body.R_start.T[2,3],body.R_start.T[3,1],body.R_start.T[3,2],body.R_start.T[3,3],body.R_start.w[1],body.R_start.w[2],body.R_start.w[3],body.a_0[1],body.a_0[2],body.a_0[3],body.angles_fixed,body.angles_start[1],body.angles_start[2],body.angles_start[3],body.animation,body.cylinderColor[1],body.cylinderColor[2],body.cylinderColor[3],body.cylinderDiameter,body.enforceStates,body.frame_a.R.T[1,1],body.frame_a.R.T[1,2],body.frame_a.R.T[1,3],body.frame_a.R.T[2,1],body.frame_a.R.T[2,2],body.frame_a.R.T[2,3],body.frame_a.R.T[3,1],body.frame_a.R.T[3,2],body.frame_a.R.T[3,3],body.frame_a.R.w[1],body.frame_a.R.w[2],body.frame_a.R.w[3],body.frame_a.f[1],body.frame_a.f[2],body.frame_a.f[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.frame_a.t[1],body.frame_a.t[2],body.frame_a.t[3],body.g_0[1],body.g_0[2],body.g_0[3],body.m,body.r_0[1],body.r_0[2],body.r_0[3],body.r_CM[1],body.r_CM[2],body.r_CM[3],body.sequence_angleStates[1],body.sequence_angleStates[2],body.sequence_angleStates[3],body.sequence_start[1],body.sequence_start[2],body.sequence_start[3],body.specularCoefficient,body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],body.sphereDiameter,body.useQuaternions,body.v_0[1],body.v_0[2],body.v_0[3],body.w_0_fixed,body.w_0_start[1],body.w_0_start[2],body.w_0_start[3],body.w_a[1],body.w_a[2],body.w_a[3],body.z_0_fixed,body.z_0_start[1],body.z_0_start[2],body.z_0_start[3],body.z_a[1],body.z_a[2],body.z_a[3],body.z_a_start[1],body.z_a_start[2],body.z_a_start[3],damper.a_rel,damper.d,damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,der(body.w_a[1]),der(body.w_a[2]),der(body.w_a[3]),der(damper.phi_rel),der(damper.w_rel),der(rev.phi),der(rev.w),fixedTranslation.animation,fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3],fixedTranslation.extra,fixedTranslation.frame_a.R.T[1,1],fixedTranslation.frame_a.R.T[1,2],fixedTranslation.frame_a.R.T[1,3],fixedTranslation.frame_a.R.T[2,1],fixedTranslation.frame_a.R.T[2,2],fixedTranslation.frame_a.R.T[2,3],fixedTranslation.frame_a.R.T[3,1],fixedTranslation.frame_a.R.T[3,2],fixedTranslation.frame_a.R.T[3,3],fixedTranslation.frame_a.R.w[1],fixedTranslation.frame_a.R.w[2],fixedTranslation.frame_a.R.w[3],fixedTranslation.frame_a.f[1],fixedTranslation.frame_a.f[2],fixedTranslation.frame_a.f[3],fixedTranslation.frame_a.r_0[1],fixedTranslation.frame_a.r_0[2],fixedTranslation.frame_a.r_0[3],fixedTranslation.frame_a.t[1],fixedTranslation.frame_a.t[2],fixedTranslation.frame_a.t[3],fixedTranslation.frame_b.R.T[1,1],fixedTranslation.frame_b.R.T[1,2],fixedTranslation.frame_b.R.T[1,3],fixedTranslation.frame_b.R.T[2,1],fixedTranslation.frame_b.R.T[2,2],fixedTranslation.frame_b.R.T[2,3],fixedTranslation.frame_b.R.T[3,1],fixedTranslation.frame_b.R.T[3,2],fixedTranslation.frame_b.R.T[3,3],fixedTranslation.frame_b.R.w[1],fixedTranslation.frame_b.R.w[2],fixedTranslation.frame_b.R.w[3],fixedTranslation.frame_b.f[1],fixedTranslation.frame_b.f[2],fixedTranslation.frame_b.f[3],fixedTranslation.frame_b.r_0[1],fixedTranslation.frame_b.r_0[2],fixedTranslation.frame_b.r_0[3],fixedTranslation.frame_b.t[1],fixedTranslation.frame_b.t[2],fixedTranslation.frame_b.t[3],fixedTranslation.height,fixedTranslation.length,fixedTranslation.lengthDirection[1],fixedTranslation.lengthDirection[2],fixedTranslation.lengthDirection[3],fixedTranslation.r[1],fixedTranslation.r[2],fixedTranslation.r[3],fixedTranslation.r_shape[1],fixedTranslation.r_shape[2],fixedTranslation.r_shape[3],fixedTranslation.specularCoefficient,fixedTranslation.width,fixedTranslation.widthDirection[1],fixedTranslation.widthDirection[2],fixedTranslation.widthDirection[3],geodeticLatitude,gravity[1],gravity[2],gravity[3],height,rev.a,rev.angle,rev.animation,rev.axis.phi,rev.axis.tau,rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],rev.cylinderDiameter,rev.cylinderLength,rev.frame_a.R.T[1,1],rev.frame_a.R.T[1,2],rev.frame_a.R.T[1,3],rev.frame_a.R.T[2,1],rev.frame_a.R.T[2,2],rev.frame_a.R.T[2,3],rev.frame_a.R.T[3,1],rev.frame_a.R.T[3,2],rev.frame_a.R.T[3,3],rev.frame_a.R.w[1],rev.frame_a.R.w[2],rev.frame_a.R.w[3],rev.frame_a.f[1],rev.frame_a.f[2],rev.frame_a.f[3],rev.frame_a.r_0[1],rev.frame_a.r_0[2],rev.frame_a.r_0[3],rev.frame_a.t[1],rev.frame_a.t[2],rev.frame_a.t[3],rev.frame_b.R.T[1,1],rev.frame_b.R.T[1,2],rev.frame_b.R.T[1,3],rev.frame_b.R.T[2,1],rev.frame_b.R.T[2,2],rev.frame_b.R.T[2,3],rev.frame_b.R.T[3,1],rev.frame_b.R.T[3,2],rev.frame_b.R.T[3,3],rev.frame_b.R.w[1],rev.frame_b.R.w[2],rev.frame_b.R.w[3],rev.frame_b.f[1],rev.frame_b.f[2],rev.frame_b.f[3],rev.frame_b.r_0[1],rev.frame_b.r_0[2],rev.frame_b.r_0[3],rev.frame_b.t[1],rev.frame_b.t[2],rev.frame_b.t[3],rev.n[1],rev.n[2],rev.n[3],rev.phi,rev.specularCoefficient,rev.stateSelect,rev.support.phi,rev.support.tau,rev.tau,rev.useAxisFlange,rev.w,time,world.animateGravity,world.animateGround,world.animateWorld,world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.axisColor_y[1],world.axisColor_y[2],world.axisColor_y[3],world.axisColor_z[1],world.axisColor_z[2],world.axisColor_z[3],world.axisDiameter,world.axisLength,world.axisShowLabels,world.defaultArrowDiameter,world.defaultAxisLength,world.defaultBodyDiameter,world.defaultForceLength,world.defaultForceWidth,world.defaultFrameDiameterFraction,world.defaultJointLength,world.defaultJointWidth,world.defaultN_to_m,world.defaultNm_to_m,world.defaultSpecularCoefficient,world.defaultWidthFraction,world.driveTrainMechanics3D,world.enableAnimation,world.frame_b.R.T[1,1],world.frame_b.R.T[1,2],world.frame_b.R.T[1,3],world.frame_b.R.T[2,1],world.frame_b.R.T[2,2],world.frame_b.R.T[2,3],world.frame_b.R.T[3,1],world.frame_b.R.T[3,2],world.frame_b.R.T[3,3],world.frame_b.R.w[1],world.frame_b.R.w[2],world.frame_b.R.w[3],world.frame_b.f[1],world.frame_b.f[2],world.frame_b.f[3],world.frame_b.r_0[1],world.frame_b.r_0[2],world.frame_b.r_0[3],world.frame_b.t[1],world.frame_b.t[2],world.frame_b.t[3],world.g,world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravityArrowDiameter,world.gravityArrowLength,world.gravityArrowTail[1],world.gravityArrowTail[2],world.gravityArrowTail[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.gravitySphereDiameter,world.gravityType,world.groundAxis_u[1],world.groundAxis_u[2],world.groundAxis_u[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.groundLength_u,world.groundLength_v,world.mue,world.n[1],world.n[2],world.n[3],world.nominalLength filterSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.diff.mat", vars={"rev.w", "rev.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.diff.ref.mat", vars={"rev.w", "rev.phi"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv --output-variables rev.phi rev.w --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 ../Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.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: 12.349668280221522]