Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.0007557/0.0007557, allocations: 76.47 kB / 9.889 MB, free: 0.8047 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001759, allocations: 441.7 kB / 10.32 MB, free: 384 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006565/0.0006565, allocations: 136.9 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009035/0.00156, allocations: 463.6 kB / 11.65 MB, free: 2.527 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.042/1.042, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08944/1.131, allocations: 52.5 MB / 238.2 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 239.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.244e-05, allocations: 2.312 kB / 239.5 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005891/0.005904, allocations: 7.328 MB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.009702, allocations: 3.343 MB / 250.1 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.01005, allocations: 43.81 kB / 250.2 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.01118, allocations: 1.047 MB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.01275, allocations: 1.404 MB / 252.6 MB, free: 6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.01335, allocations: 0.5453 MB / 253.2 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.01609, allocations: 2.811 MB / 256 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.01729, allocations: 1.315 MB / 257.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.01866, allocations: 1.381 MB / 258.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.01987, allocations: 1.251 MB / 259.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.02007, allocations: 148 kB / 260.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.02122, allocations: 0.8578 MB / 260.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.02187, allocations: 1.036 MB / 262 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.02234, allocations: 0.5606 MB / 262.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.02446, allocations: 2.661 MB / 265.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.02447, allocations: 0 / 265.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02448, allocations: 0 / 265.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.02451, allocations: 0 / 265.2 MB, free: 9.379 MB / 266.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.003123/0.02763, allocations: 3.34 MB / 268.5 MB, free: 5.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.02767, allocations: 8.031 kB / 268.6 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003938/0.02806, allocations: 441.9 kB / 269 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.03003, allocations: 0.7655 MB / 269.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.03116, allocations: 1.063 MB / 270.8 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.646e-05/0.03123, allocations: 127.1 kB / 270.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.03142, allocations: 159.8 kB / 271.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1177/0.1492, allocations: 3.126 MB / 274.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/0.1493, allocations: 23.84 kB / 274.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.1495, allocations: 83.8 kB / 274.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/0.151, allocations: 1.241 MB / 275.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.1548, allocations: 1.625 MB / 277.2 MB, free: 21.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.1693, allocations: 20.72 MB / 297.9 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.1716, allocations: 0.9258 MB / 298.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1719, allocations: 201.8 kB / 299 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003395/0.1753, allocations: 2.198 MB / 301.2 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1754, allocations: 43.53 kB / 301.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.805e-06/0.1754, allocations: 0 / 301.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=80): time 0.004639/0.18, allocations: 1.919 MB / 303.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.18, allocations: 139 kB / 303.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.1816, allocations: 2.397 MB / 305.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1817, allocations: 33.67 kB / 305.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/0.1823, allocations: 2.033 MB / 307.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1825, allocations: 358.7 kB / 308.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004919/0.183, allocations: 0.7721 MB / 308.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.83e-05/0.183, allocations: 301.1 kB / 309.2 MB, free: 448 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.1836, allocations: 485.8 kB / 309.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.1856, allocations: 3.112 MB / 312.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.1888, allocations: 3.947 MB / 316.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.508e-05/0.1889, allocations: 28 kB / 316.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.003323/0.1922, allocations: 2.841 MB / 319.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.1922, allocations: 48 kB / 319.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.531e-05/0.1923, allocations: 100 kB / 319.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.1926, allocations: 163.6 kB / 319.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.1942, allocations: 1.018 MB / 320.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1954, allocations: 1.469 MB / 322.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.1967, allocations: 191.7 kB / 322.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.1969, allocations: 228 kB / 322.8 MB, free: 88 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 21 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (507): * Single equations (assignments): 503 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006568/0.1976, allocations: 480.1 kB / 323.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.1978, allocations: 132.7 kB / 323.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.1983, allocations: 394.2 kB / 323.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.1983, allocations: 12 kB / 323.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1983, allocations: 3.938 kB / 323.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1983, allocations: 3.984 kB / 323.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.2008, allocations: 1.888 MB / 325.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2008, allocations: 0 / 325.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.2011, allocations: 107.8 kB / 325.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.2013, allocations: 210.3 kB / 326 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.2015, allocations: 47.67 kB / 326.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.2015, allocations: 11.98 kB / 326.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000979/0.2025, allocations: 1.415 MB / 327.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2025, allocations: 0 / 327.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.2034, allocations: 1.054 MB / 328.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.2035, allocations: 12.06 kB / 328.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.2039, allocations: 16 kB / 328.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.204, allocations: 43.8 kB / 328.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.204, allocations: 23.98 kB / 328.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007271/0.2047, allocations: 0.8681 MB / 329.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2047, allocations: 0 / 329.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001773/0.2065, allocations: 0.6637 MB / 330.2 MB, free: 8.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (54): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001386/0.2079, allocations: 1.632 MB / 331.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.2095, allocations: 1.635 MB / 333.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.183e-05/0.2096, allocations: 59.94 kB / 333.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.2099, allocations: 302.2 kB / 333.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.2109, allocations: 0.5295 MB / 334.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.227, allocations: 14.05 MB / 348.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000821/0.2278, allocations: 0.7345 MB / 349.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007136/0.2285, allocations: 334.9 kB / 349.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.2296, allocations: 1.313 MB / 350.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2296, allocations: 0 / 350.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of FMU documentation: time 0.2443/0.4739, allocations: 48.16 MB / 398.9 MB, free: 1.938 MB / 362.7 MB Notification: FMU-only work: backend 0.001007, simCode 0.01012, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.5815, allocations: 1.335 MB / 400.2 MB, free: 0.5625 MB / 362.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.811/4.393, allocations: 19.59 kB / 400.2 MB, free: 0.5469 MB / 362.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=me --timeout=240 --tolerance=1e-08 ../Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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],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.frame_a.R.w[3]),der(body.w_a[3]),der(damper.flange_b.phi),der(damper.phi_rel),der(damper.w_rel),der(rev.angle),der(rev.axis.phi),der(rev.frame_b.R.w[3]),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.mu,world.n[1],world.n[2],world.n[3],world.nominalLength filterSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode_res.csv --output-variables rev.phi rev.w --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-08 --interface-type CoSimulation --output-interval 0.0019992 ../Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 7.6121934950351715]