Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007149/0.0007149, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001747, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 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.001612/0.001612, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.003285, allocations: 467.5 kB / 11.66 MB, free: 2.504 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9469/0.9469, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07402/1.021, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_1_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_1_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.393e-06/1.393e-06, allocations: 0 / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.664e-06/9.057e-06, allocations: 5.125 kB / 244.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00555/0.005559, allocations: 7.311 MB / 251.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.009694, allocations: 3.371 MB / 255.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.01007, allocations: 39.81 kB / 255.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01117, allocations: 1.054 MB / 256.2 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.01274, allocations: 1.361 MB / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.01332, allocations: 0.5376 MB / 258.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.01516, allocations: 2.902 MB / 261 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.01611, allocations: 1.315 MB / 262.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009999/0.01711, allocations: 1.381 MB / 263.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009784/0.01809, allocations: 1.243 MB / 265 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.01824, allocations: 148 kB / 265.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.01912, allocations: 0.8423 MB / 265.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005734/0.0197, allocations: 1.017 MB / 267 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.02012, allocations: 0.5489 MB / 267.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.02203, allocations: 2.63 MB / 270.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.02204, allocations: 0 / 270.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02204, allocations: 0 / 270.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.02207, allocations: 0 / 270.1 MB, free: 4.535 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.002822/0.02489, allocations: 3.321 MB / 273.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.02493, allocations: 8.031 kB / 273.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003006/0.02523, allocations: 449.8 kB / 273.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1006/0.1258, allocations: 0.7557 MB / 274.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1274, allocations: 1.046 MB / 275.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.1274, allocations: 122.1 kB / 275.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.1277, allocations: 163 kB / 276 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.1311, allocations: 3.135 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.1311, allocations: 29.52 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.1313, allocations: 80.44 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.1325, allocations: 1.248 MB / 280.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.1356, allocations: 1.627 MB / 282.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.1468, allocations: 20.72 MB / 302.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.1485, allocations: 0.9243 MB / 303.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1487, allocations: 205 kB / 303.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002441/0.1512, allocations: 2.202 MB / 306.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1512, allocations: 40.59 kB / 306.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.324e-06/0.1512, allocations: 0 / 306.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=80): time 0.003812/0.155, allocations: 1.919 MB / 308.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.155, allocations: 139.1 kB / 308.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.1566, allocations: 2.393 MB / 310.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1566, allocations: 37.7 kB / 310.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007864/0.1574, allocations: 2.034 MB / 312.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.1576, allocations: 347.8 kB / 313 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/0.1581, allocations: 0.777 MB / 313.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.1582, allocations: 306.4 kB / 314.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/0.1588, allocations: 493.8 kB / 314.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.1605, allocations: 3.104 MB / 317.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.163, allocations: 3.962 MB / 321.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/0.163, allocations: 28.77 kB / 321.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.002693/0.1657, allocations: 2.822 MB / 324.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1657, allocations: 48.19 kB / 324.6 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.939e-05/0.1658, allocations: 100 kB / 324.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.166, allocations: 170.2 kB / 324.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.1675, allocations: 1.022 MB / 325.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009268/0.1685, allocations: 1.478 MB / 327.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.1697, allocations: 188.9 kB / 327.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.1699, allocations: 228 kB / 327.7 MB, free: 4.832 MB / 298.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.0004934/0.1703, allocations: 460.3 kB / 328.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.1705, allocations: 139.9 kB / 328.3 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.171, allocations: 398.1 kB / 328.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.171, allocations: 8 kB / 328.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.171, allocations: 4 kB / 328.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.171, allocations: 7.922 kB / 328.7 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.1731, allocations: 1.883 MB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1731, allocations: 4 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.1734, allocations: 105 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1736, allocations: 210.3 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.1738, allocations: 43.58 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.1738, allocations: 15.98 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.1747, allocations: 1.42 MB / 332.4 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1747, allocations: 4 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.1755, allocations: 1.06 MB / 333.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.1756, allocations: 12 kB / 333.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.176, allocations: 12.06 kB / 333.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.176, allocations: 40.58 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.1761, allocations: 19.05 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006643/0.1767, allocations: 0.8676 MB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1767, allocations: 0 / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001609/0.1783, allocations: 0.6442 MB / 335.1 MB, free: 13.65 MB / 314.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.001153/0.1795, allocations: 1.626 MB / 336.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.1809, allocations: 1.644 MB / 338.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-05/0.181, allocations: 59.94 kB / 338.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.1813, allocations: 284.9 kB / 338.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.1823, allocations: 0.5353 MB / 339.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.1935, allocations: 14.02 MB / 353.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.1941, allocations: 0.7265 MB / 354 MB, free: 9.477 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.1948, allocations: 347 kB / 354.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.1958, allocations: 1.306 MB / 355.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1958, allocations: 0 / 355.6 MB, free: 7.828 MB / 330.7 MB Notification: Performance of FMU documentation: time 0.06123/0.2571, allocations: 48.07 MB / 403.7 MB, free: 7.902 MB / 378.7 MB Notification: FMU-only work: backend 0.0008522, simCode 0.006309, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06209/0.3192, allocations: 1.336 MB / 405 MB, free: 6.523 MB / 378.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.5/3.819, allocations: 23.77 kB / 405 MB, free: 6.496 MB / 378.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --mode=me --timeout=240 --tolerance=1e-08 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.1.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: 6.546282677911222]