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.001052/0.001052, allocations: 113.4 kB / 20.43 MB, free: 4.586 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 217.5 kB / 23.73 MB, free: 2.141 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.9669/0.9669, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.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",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",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.92 kB / 379.3 MB, free: 440 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2038, allocations: 53.37 MB / 432.7 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.005548/0.2093, allocations: 6.751 MB / 439.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.2131, allocations: 3.155 MB / 442.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.2135, allocations: 48.16 kB / 442.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.2148, allocations: 1.008 MB / 443.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.2164, allocations: 1.353 MB / 445 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.2171, allocations: 0.5417 MB / 445.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.2189, allocations: 2.622 MB / 448.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.22, allocations: 1.221 MB / 449.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.2206, allocations: 0.8446 MB / 450.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/0.2215, allocations: 1.211 MB / 451.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.2217, allocations: 148 kB / 451.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.2226, allocations: 0.776 MB / 452.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.2232, allocations: 1.083 MB / 453.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005283/0.2237, allocations: 0.8963 MB / 454.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.2267, allocations: 4.104 MB / 458.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2267, allocations: 0 / 458.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2267, allocations: 0 / 458.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.2267, allocations: 0 / 458.4 MB, free: 13.16 MB / 362.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.003114/0.2298, allocations: 3.005 MB / 461.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2298, allocations: 8.031 kB / 461.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.2302, allocations: 462.4 kB / 461.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.2334, allocations: 1.598 MB / 463.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.2352, allocations: 1.551 MB / 465 MB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.2352, allocations: 123 kB / 465.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.2354, allocations: 167.8 kB / 465.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005604/0.241, allocations: 6.534 MB / 471.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.2411, allocations: 27.75 kB / 471.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.2412, allocations: 83.89 kB / 471.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/0.2426, allocations: 1.468 MB / 473.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0063/0.2489, allocations: 5.814 MB / 479.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/0.2655, allocations: 24.74 MB / 0.4922 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.2685, allocations: 2.011 MB / 0.4941 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.2696, allocations: 1.141 MB / 0.4952 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004556/0.2741, allocations: 4.283 MB / 0.4994 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2742, allocations: 42.5 kB / 0.4995 GB, free: 6.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.675e-06/0.2742, allocations: 4 kB / 0.4995 GB, free: 6.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=105): time 0.01365/0.2878, allocations: 9.743 MB / 0.509 GB, free: 12.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.2879, allocations: 144.9 kB / 0.5091 GB, free: 12.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.2903, allocations: 2.873 MB / 0.5119 GB, free: 9.777 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.2904, allocations: 37.7 kB / 0.512 GB, free: 9.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.2913, allocations: 2.132 MB / 0.514 GB, free: 7.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.2916, allocations: 440.7 kB / 0.5145 GB, free: 7.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009735/0.2925, allocations: 0.8416 MB / 0.5153 GB, free: 6.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.2926, allocations: 305.1 kB / 0.5156 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2941, allocations: 1.437 MB / 0.517 GB, free: 4.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.2966, allocations: 4.061 MB / 0.5209 GB, free: 15.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/0.3012, allocations: 5.946 MB / 0.5268 GB, free: 7.926 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-05/0.3012, allocations: 28 kB / 0.5268 GB, free: 7.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.006585/0.3078, allocations: 6.011 MB / 0.5327 GB, free: 1.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.3078, allocations: 46.81 kB / 0.5327 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/0.3079, allocations: 92 kB / 0.5328 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.3092, allocations: 0.8245 MB / 0.5336 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.311, allocations: 0.9435 MB / 0.5345 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.315, allocations: 4.522 MB / 0.5389 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3166, allocations: 235.7 kB / 0.5392 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.3168, allocations: 264 kB / 0.5394 GB, free: 10.85 MB / 458.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.001555/0.3183, allocations: 1.376 MB / 0.5407 GB, free: 9.461 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.3186, allocations: 246.3 kB / 0.541 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.3213, allocations: 2.118 MB / 0.543 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3213, allocations: 12.56 kB / 0.5431 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3213, allocations: 8 kB / 0.5431 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3214, allocations: 3.984 kB / 0.5431 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.3268, allocations: 4.781 MB / 0.5477 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3268, allocations: 4 kB / 0.5477 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.3272, allocations: 155.8 kB / 0.5479 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.3286, allocations: 0.6794 MB / 0.5486 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.3286, allocations: 31.98 kB / 0.5486 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/0.3319, allocations: 4.017 MB / 0.5525 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3319, allocations: 4.031 kB / 0.5525 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/0.336, allocations: 4.056 MB / 0.5565 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.3362, allocations: 222.3 kB / 0.5567 GB, free: 8.906 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.3364, allocations: 16.12 kB / 0.5567 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.3369, allocations: 75.83 kB / 0.5568 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.337, allocations: 56.33 kB / 0.5568 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.337, allocations: 35.91 kB / 0.5569 GB, free: 8.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.3385, allocations: 1.693 MB / 0.5585 GB, free: 7.027 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3385, allocations: 0 / 0.5585 GB, free: 7.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001855/0.3404, allocations: 0.6599 MB / 0.5592 GB, free: 6.367 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.004449/0.3449, allocations: 4.73 MB / 0.5638 GB, free: 1.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.3482, allocations: 3.344 MB / 0.567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3482, allocations: 3.938 kB / 0.5671 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.349, allocations: 0.9614 MB / 0.568 GB, free: 13.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.3499, allocations: 274.1 kB / 0.5683 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1717/0.5216, allocations: 29.95 MB / 0.5975 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.5229, allocations: 1.663 MB / 0.5991 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001772/0.5247, allocations: 1.317 MB / 0.6004 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007932/0.5255, allocations: 1.095 MB / 0.6015 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.5255, allocations: 0 / 0.6015 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.6282, allocations: 45.24 MB / 0.6457 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.009, allocations: 4.062 kB / 0.6457 GB, free: 117.4 MB / 0.4948 GB " [Timeout remaining time 651] (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.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.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 [Calling sys.exit(0), Time elapsed: 11.927376357838511]