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.0009771/0.0009771, allocations: 111.8 kB / 20.43 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 193.3 kB / 23.71 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9596/0.9596, allocations: 225.7 MB / 252.5 MB, free: 14.42 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me_cs",version="2.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",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.91 kB / 372 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2253, allocations: 52.18 MB / 424.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005826/0.2311, allocations: 6.776 MB / 430.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.2357, allocations: 3.143 MB / 434.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.2364, allocations: 43.53 kB / 434.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2377, allocations: 1.007 MB / 435.1 MB, free: 452 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.2397, allocations: 1.379 MB / 436.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.2405, allocations: 0.5535 MB / 437 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.2426, allocations: 2.578 MB / 439.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.2437, allocations: 1.226 MB / 440.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.2445, allocations: 0.8546 MB / 441.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.2456, allocations: 1.221 MB / 442.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.2457, allocations: 148.3 kB / 443.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2468, allocations: 0.7916 MB / 443.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.2474, allocations: 1.094 MB / 445 MB, free: 9.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.248, allocations: 0.9041 MB / 445.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.2506, allocations: 4.158 MB / 450 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2506, allocations: 0 / 450 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2506, allocations: 0 / 450 MB, free: 4.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.2506, allocations: 0 / 450 MB, free: 4.652 MB / 346.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.003057/0.2537, allocations: 3.009 MB / 453 MB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2537, allocations: 8.031 kB / 453 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003422/0.2541, allocations: 458.4 kB / 453.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.257, allocations: 1.602 MB / 455.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.259, allocations: 1.669 MB / 456.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.259, allocations: 127 kB / 456.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.2592, allocations: 159.9 kB / 457 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.2649, allocations: 6.538 MB / 463.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.265, allocations: 31.77 kB / 463.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.2651, allocations: 83.89 kB / 463.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/0.2666, allocations: 1.468 MB / 465.2 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006538/0.2731, allocations: 5.822 MB / 471 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/0.2907, allocations: 24.73 MB / 495.7 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.2938, allocations: 2.019 MB / 497.7 MB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/0.2948, allocations: 1.133 MB / 498.9 MB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004526/0.2994, allocations: 4.287 MB / 0.4914 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2994, allocations: 38.56 kB / 0.4914 GB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.735e-06/0.2994, allocations: 0 / 0.4914 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=105): time 0.01407/0.3135, allocations: 9.758 MB / 0.5009 GB, free: 4.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3135, allocations: 140.9 kB / 0.5011 GB, free: 4.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.3161, allocations: 2.878 MB / 0.5039 GB, free: 1.152 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.3162, allocations: 37.7 kB / 0.5039 GB, free: 1.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009363/0.3171, allocations: 2.136 MB / 0.506 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.3174, allocations: 448.7 kB / 0.5064 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007644/0.3182, allocations: 0.8337 MB / 0.5072 GB, free: 13.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.3182, allocations: 309.1 kB / 0.5075 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.3198, allocations: 1.441 MB / 0.5089 GB, free: 11.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.3227, allocations: 4.061 MB / 0.5129 GB, free: 6.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/0.3274, allocations: 5.946 MB / 0.5187 GB, free: 15.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/0.3274, allocations: 24 kB / 0.5187 GB, free: 15.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006825/0.3342, allocations: 6.013 MB / 0.5246 GB, free: 9.242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.3343, allocations: 47.98 kB / 0.5246 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.189e-05/0.3344, allocations: 96 kB / 0.5247 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.3357, allocations: 0.8204 MB / 0.5255 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.3373, allocations: 0.9435 MB / 0.5265 GB, free: 7.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.3412, allocations: 4.509 MB / 0.5309 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.3429, allocations: 251.8 kB / 0.5311 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/0.3434, allocations: 259.9 kB / 0.5313 GB, free: 2.215 MB / 442.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.001425/0.3448, allocations: 1.378 MB / 0.5327 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.345, allocations: 238.3 kB / 0.5329 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.3476, allocations: 2.13 MB / 0.535 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.3477, allocations: 16 kB / 0.535 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3477, allocations: 4 kB / 0.535 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3477, allocations: 3.984 kB / 0.535 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005882/0.3535, allocations: 4.781 MB / 0.5397 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3536, allocations: 8.062 kB / 0.5397 GB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.3542, allocations: 155.8 kB / 0.5399 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.3554, allocations: 0.6794 MB / 0.5405 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.3554, allocations: 20 kB / 0.5405 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.3589, allocations: 4.021 MB / 0.5445 GB, free: 4.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3589, allocations: 4 kB / 0.5445 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.3633, allocations: 4.061 MB / 0.5484 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.3636, allocations: 222.3 kB / 0.5486 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3638, allocations: 15.94 kB / 0.5487 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.3643, allocations: 79.95 kB / 0.5487 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3644, allocations: 56.33 kB / 0.5488 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.883e-05/0.3645, allocations: 35.98 kB / 0.5488 GB, free: 88 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.3662, allocations: 1.69 MB / 0.5505 GB, free: 14.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 4 kB / 0.5505 GB, free: 14.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0021/0.3683, allocations: 0.6678 MB / 0.5511 GB, free: 13.71 MB / 474.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.004654/0.3729, allocations: 4.74 MB / 0.5558 GB, free: 8.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.3766, allocations: 3.344 MB / 0.559 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3766, allocations: 0 / 0.559 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3777, allocations: 0.9692 MB / 0.56 GB, free: 4.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009876/0.3787, allocations: 253.4 kB / 0.5602 GB, free: 4.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/0.4158, allocations: 29.97 MB / 0.5895 GB, free: 3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4176, allocations: 1.667 MB / 0.5911 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.1559/0.5734, allocations: 1.318 MB / 0.5924 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/0.5751, allocations: 1.096 MB / 0.5935 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/0.5751, allocations: 0.9062 kB / 0.5935 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/0.6895, allocations: 45.27 MB / 0.6377 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.809, allocations: 0 / 0.6377 GB, free: 132.2 MB / 0.4948 GB " [Timeout remaining time 651] (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.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.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 [Calling sys.exit(0), Time elapsed: 11.84831572137773]