Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.001419/0.001419, allocations: 115 kB / 20.44 MB, free: 4.203 MB / 18.57 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.001944/0.001944, allocations: 205.6 kB / 23.73 MB, free: 0.918 MB / 18.57 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.9963/0.9963, allocations: 230.6 MB / 257.5 MB, free: 9.625 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.PointGravityWithPointMasses,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 55.91 kB / 379.3 MB, free: 460 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2678, allocations: 53.35 MB / 432.6 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.005862/0.2737, allocations: 7.022 MB / 439.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.278, allocations: 2.441 MB / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.2788, allocations: 42.31 kB / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.2807, allocations: 1.405 MB / 443.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.2823, allocations: 1.02 MB / 444.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.2828, allocations: 272.6 kB / 444.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.2845, allocations: 2.14 MB / 447 MB, free: 8.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009673/0.2854, allocations: 1.351 MB / 448.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005694/0.286, allocations: 0.8484 MB / 449.2 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.287, allocations: 1.245 MB / 450.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.2871, allocations: 160 kB / 450.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.2879, allocations: 0.5694 MB / 451.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005928/0.2885, allocations: 1.176 MB / 452.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.2891, allocations: 0.9855 MB / 453.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.2918, allocations: 4.294 MB / 457.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2918, allocations: 0 / 457.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2918, allocations: 4 kB / 457.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.2918, allocations: 0 / 457.6 MB, free: 13.98 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.002806/0.2946, allocations: 2.934 MB / 460.5 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.2947, allocations: 12.03 kB / 460.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003918/0.2951, allocations: 0.5221 MB / 461.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.2988, allocations: 1.797 MB / 462.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.3003, allocations: 1.117 MB / 464 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-05/0.3003, allocations: 155.8 kB / 464.1 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.3006, allocations: 203.8 kB / 464.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3116, allocations: 8.637 MB / 473 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.809e-05/0.3117, allocations: 43.7 kB / 473 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.3118, allocations: 103.9 kB / 473.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.3135, allocations: 1.667 MB / 474.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.3247, allocations: 7.17 MB / 482 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.3487, allocations: 29.13 MB / 0.4991 GB, free: 6.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.3599, allocations: 4.526 MB / 0.5035 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.3611, allocations: 1.193 MB / 0.5047 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003716/0.3648, allocations: 3.11 MB / 0.5077 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.3649, allocations: 54.83 kB / 0.5078 GB, free: 13.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=111): time 3.386e-06/0.3649, allocations: 0 / 0.5078 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=111): time 0.02239/0.3872, allocations: 8.996 MB / 0.5166 GB, free: 4.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.3873, allocations: 199.9 kB / 0.5168 GB, free: 4.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/0.3908, allocations: 3.24 MB / 0.5199 GB, free: 1.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.391, allocations: 37.7 kB / 0.52 GB, free: 1.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3922, allocations: 2.535 MB / 0.5224 GB, free: 14.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.3926, allocations: 0.508 MB / 0.5229 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009647/0.3936, allocations: 1.1 MB / 0.524 GB, free: 13.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.3937, allocations: 301.1 kB / 0.5243 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.3954, allocations: 1.611 MB / 0.5259 GB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.3988, allocations: 5.169 MB / 0.5309 GB, free: 4.258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005942/0.4047, allocations: 7.329 MB / 0.5381 GB, free: 11.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/0.4048, allocations: 40 kB / 0.5381 GB, free: 11.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.007697/0.4125, allocations: 6.476 MB / 0.5444 GB, free: 4.629 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.4126, allocations: 60 kB / 0.5445 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.4127, allocations: 124 kB / 0.5446 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.4128, allocations: 171.8 kB / 0.5448 GB, free: 4.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.4156, allocations: 1.454 MB / 0.5462 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.4157, allocations: 251 kB / 0.5464 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.4182, allocations: 0.7639 MB / 0.5472 GB, free: 1.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.4185, allocations: 344.2 kB / 0.5475 GB, free: 1.477 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.4202, allocations: 1.575 MB / 0.549 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.4206, allocations: 258.3 kB / 0.5493 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.4209, allocations: 319.2 kB / 0.5496 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.4209, allocations: 15.98 kB / 0.5496 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.421, allocations: 0 / 0.5496 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.421, allocations: 7.984 kB / 0.5496 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.425, allocations: 3.235 MB / 0.5528 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.425, allocations: 0 / 0.5528 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.4262, allocations: 411.5 kB / 0.5532 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.4262, allocations: 4 kB / 0.5532 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.4263, allocations: 35.97 kB / 0.5532 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.4263, allocations: 8.312 kB / 0.5532 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4263, allocations: 0 / 0.5532 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.4286, allocations: 2.832 MB / 0.556 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.429, allocations: 238 kB / 0.5562 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4292, allocations: 27.98 kB / 0.5562 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.4296, allocations: 43.95 kB / 0.5563 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/0.4297, allocations: 55.88 kB / 0.5563 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.4298, allocations: 39.97 kB / 0.5564 GB, free: 8.309 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001869/0.4317, allocations: 1.836 MB / 0.5582 GB, free: 6.469 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4317, allocations: 0 / 0.5582 GB, free: 6.469 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00271/0.4344, allocations: 0.8265 MB / 0.559 GB, free: 5.641 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * 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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002681/0.4371, allocations: 3.45 MB / 0.5623 GB, free: 2.152 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004354/0.4414, allocations: 3.48 MB / 0.5657 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.4414, allocations: 0 / 0.5657 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.442, allocations: 0.6929 MB / 0.5664 GB, free: 14.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4434, allocations: 268.5 kB / 0.5667 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2204/0.6638, allocations: 34.28 MB / 0.6001 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.6652, allocations: 1.825 MB / 0.6019 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002011/0.6672, allocations: 1.636 MB / 0.6035 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007825/0.668, allocations: 1.212 MB / 0.6047 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/0.668, allocations: 0 / 0.6047 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.771, allocations: 43 MB / 0.6467 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.72, allocations: 12.05 kB / 0.6467 GB, free: 108.1 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.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.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_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.PointGravityWithPointMasses_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_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/PointGravityWithPointMasses/PointGravityWithPointMasses.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.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_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.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_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/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3] Variables in the result:body1.a_0[1],body1.a_0[2],body1.a_0[3],body1.animation,body1.frame_a.R.T[1,1],body1.frame_a.R.T[1,2],body1.frame_a.R.T[1,3],body1.frame_a.R.T[2,1],body1.frame_a.R.T[2,2],body1.frame_a.R.T[2,3],body1.frame_a.R.T[3,1],body1.frame_a.R.T[3,2],body1.frame_a.R.T[3,3],body1.frame_a.R.w[1],body1.frame_a.R.w[2],body1.frame_a.R.w[3],body1.frame_a.f[1],body1.frame_a.f[2],body1.frame_a.f[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.frame_a.t[1],body1.frame_a.t[2],body1.frame_a.t[3],body1.m,body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.specularCoefficient,body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body1.sphereDiameter,body1.stateSelect,body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.a_0[1],body2.a_0[2],body2.a_0[3],body2.animation,body2.frame_a.R.T[1,1],body2.frame_a.R.T[1,2],body2.frame_a.R.T[1,3],body2.frame_a.R.T[2,1],body2.frame_a.R.T[2,2],body2.frame_a.R.T[2,3],body2.frame_a.R.T[3,1],body2.frame_a.R.T[3,2],body2.frame_a.R.T[3,3],body2.frame_a.R.w[1],body2.frame_a.R.w[2],body2.frame_a.R.w[3],body2.frame_a.f[1],body2.frame_a.f[2],body2.frame_a.f[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.frame_a.t[1],body2.frame_a.t[2],body2.frame_a.t[3],body2.m,body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.specularCoefficient,body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3],body2.sphereDiameter,body2.stateSelect,body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.a_0[1],body3.a_0[2],body3.a_0[3],body3.animation,body3.frame_a.R.T[1,1],body3.frame_a.R.T[1,2],body3.frame_a.R.T[1,3],body3.frame_a.R.T[2,1],body3.frame_a.R.T[2,2],body3.frame_a.R.T[2,3],body3.frame_a.R.T[3,1],body3.frame_a.R.T[3,2],body3.frame_a.R.T[3,3],body3.frame_a.R.w[1],body3.frame_a.R.w[2],body3.frame_a.R.w[3],body3.frame_a.f[1],body3.frame_a.f[2],body3.frame_a.f[3],body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.frame_a.t[1],body3.frame_a.t[2],body3.frame_a.t[3],body3.m,body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.specularCoefficient,body3.sphereColor[1],body3.sphereColor[2],body3.sphereColor[3],body3.sphereDiameter,body3.stateSelect,body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.a_0[1],body4.a_0[2],body4.a_0[3],body4.animation,body4.frame_a.R.T[1,1],body4.frame_a.R.T[1,2],body4.frame_a.R.T[1,3],body4.frame_a.R.T[2,1],body4.frame_a.R.T[2,2],body4.frame_a.R.T[2,3],body4.frame_a.R.T[3,1],body4.frame_a.R.T[3,2],body4.frame_a.R.T[3,3],body4.frame_a.R.w[1],body4.frame_a.R.w[2],body4.frame_a.R.w[3],body4.frame_a.f[1],body4.frame_a.f[2],body4.frame_a.f[3],body4.frame_a.r_0[1],body4.frame_a.r_0[2],body4.frame_a.r_0[3],body4.frame_a.t[1],body4.frame_a.t[2],body4.frame_a.t[3],body4.m,body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.specularCoefficient,body4.sphereColor[1],body4.sphereColor[2],body4.sphereColor[3],body4.sphereDiameter,body4.stateSelect,body4.v_0[1],body4.v_0[2],body4.v_0[3],der(body1.r_0[1]),der(body1.r_0[2]),der(body1.r_0[3]),der(body1.v_0[1]),der(body1.v_0[2]),der(body1.v_0[3]),der(body2.r_0[1]),der(body2.r_0[2]),der(body2.r_0[3]),der(body2.v_0[1]),der(body2.v_0[2]),der(body2.v_0[3]),der(body3.r_0[1]),der(body3.r_0[2]),der(body3.r_0[3]),der(body3.v_0[1]),der(body3.v_0[2]),der(body3.v_0[3]),der(body4.r_0[1]),der(body4.r_0[2]),der(body4.r_0[3]),der(body4.v_0[1]),der(body4.v_0[2]),der(body4.v_0[3]),spring.animation,spring.c,spring.coilWidth,spring.color[1],spring.color[2],spring.color[3],spring.e_a[1],spring.e_a[2],spring.e_a[3],spring.e_rel_0[1],spring.e_rel_0[2],spring.e_rel_0[3],spring.f,spring.fixedRotationAtFrame_a,spring.fixedRotationAtFrame_b,spring.frame_a.R.T[1,1],spring.frame_a.R.T[1,2],spring.frame_a.R.T[1,3],spring.frame_a.R.T[2,1],spring.frame_a.R.T[2,2],spring.frame_a.R.T[2,3],spring.frame_a.R.T[3,1],spring.frame_a.R.T[3,2],spring.frame_a.R.T[3,3],spring.frame_a.R.w[1],spring.frame_a.R.w[2],spring.frame_a.R.w[3],spring.frame_a.f[1],spring.frame_a.f[2],spring.frame_a.f[3],spring.frame_a.r_0[1],spring.frame_a.r_0[2],spring.frame_a.r_0[3],spring.frame_a.t[1],spring.frame_a.t[2],spring.frame_a.t[3],spring.frame_b.R.T[1,1],spring.frame_b.R.T[1,2],spring.frame_b.R.T[1,3],spring.frame_b.R.T[2,1],spring.frame_b.R.T[2,2],spring.frame_b.R.T[2,3],spring.frame_b.R.T[3,1],spring.frame_b.R.T[3,2],spring.frame_b.R.T[3,3],spring.frame_b.R.w[1],spring.frame_b.R.w[2],spring.frame_b.R.w[3],spring.frame_b.f[1],spring.frame_b.f[2],spring.frame_b.f[3],spring.frame_b.r_0[1],spring.frame_b.r_0[2],spring.frame_b.r_0[3],spring.frame_b.t[1],spring.frame_b.t[2],spring.frame_b.t[3],spring.length,spring.lengthFraction,spring.lineForce.animateLine,spring.lineForce.animateMass,spring.lineForce.e_rel_0[1],spring.lineForce.e_rel_0[2],spring.lineForce.e_rel_0[3],spring.lineForce.fixedRotationAtFrame_a,spring.lineForce.fixedRotationAtFrame_b,spring.lineForce.flange_a.f,spring.lineForce.flange_a.s,spring.lineForce.flange_b.f,spring.lineForce.flange_b.s,spring.lineForce.frame_a.R.T[1,1],spring.lineForce.frame_a.R.T[1,2],spring.lineForce.frame_a.R.T[1,3],spring.lineForce.frame_a.R.T[2,1],spring.lineForce.frame_a.R.T[2,2],spring.lineForce.frame_a.R.T[2,3],spring.lineForce.frame_a.R.T[3,1],spring.lineForce.frame_a.R.T[3,2],spring.lineForce.frame_a.R.T[3,3],spring.lineForce.frame_a.R.w[1],spring.lineForce.frame_a.R.w[2],spring.lineForce.frame_a.R.w[3],spring.lineForce.frame_a.f[1],spring.lineForce.frame_a.f[2],spring.lineForce.frame_a.f[3],spring.lineForce.frame_a.r_0[1],spring.lineForce.frame_a.r_0[2],spring.lineForce.frame_a.r_0[3],spring.lineForce.frame_a.t[1],spring.lineForce.frame_a.t[2],spring.lineForce.frame_a.t[3],spring.lineForce.frame_b.R.T[1,1],spring.lineForce.frame_b.R.T[1,2],spring.lineForce.frame_b.R.T[1,3],spring.lineForce.frame_b.R.T[2,1],spring.lineForce.frame_b.R.T[2,2],spring.lineForce.frame_b.R.T[2,3],spring.lineForce.frame_b.R.T[3,1],spring.lineForce.frame_b.R.T[3,2],spring.lineForce.frame_b.R.T[3,3],spring.lineForce.frame_b.R.w[1],spring.lineForce.frame_b.R.w[2],spring.lineForce.frame_b.R.w[3],spring.lineForce.frame_b.f[1],spring.lineForce.frame_b.f[2],spring.lineForce.frame_b.f[3],spring.lineForce.frame_b.r_0[1],spring.lineForce.frame_b.r_0[2],spring.lineForce.frame_b.r_0[3],spring.lineForce.frame_b.t[1],spring.lineForce.frame_b.t[2],spring.lineForce.frame_b.t[3],spring.lineForce.length,spring.lineForce.lengthFraction,spring.lineForce.lineShapeColor[1],spring.lineForce.lineShapeColor[2],spring.lineForce.lineShapeColor[3],spring.lineForce.lineShapeExtra,spring.lineForce.lineShapeHeight,spring.lineForce.lineShapeWidth,spring.lineForce.m,spring.lineForce.massColor[1],spring.lineForce.massColor[2],spring.lineForce.massColor[3],spring.lineForce.massDiameter,spring.lineForce.r_rel_0[1],spring.lineForce.r_rel_0[2],spring.lineForce.r_rel_0[3],spring.lineForce.s,spring.lineForce.s_small,spring.lineForce.specularCoefficient,spring.m,spring.massColor[1],spring.massColor[2],spring.massColor[3],spring.massDiameter,spring.numberOfWindings,spring.r_rel_0[1],spring.r_rel_0[2],spring.r_rel_0[3],spring.r_rel_a[1],spring.r_rel_a[2],spring.r_rel_a[3],spring.s,spring.s_small,spring.s_unstretched,spring.showMass,spring.specularCoefficient,spring.spring.c,spring.spring.f,spring.spring.flange_a.f,spring.spring.flange_a.s,spring.spring.flange_b.f,spring.spring.flange_b.s,spring.spring.s_rel,spring.spring.s_rel0,spring.width,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.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.diff.mat", vars={"body4.v_0[2]", "body4.v_0[1]", "body4.r_0[2]", "body4.r_0[1]", "body3.v_0[2]", "body3.v_0[1]", "body3.r_0[2]", "body3.r_0[1]", "body2.v_0[2]", "body2.v_0[1]", "body2.r_0[2]", "body2.r_0[1]", "body1.v_0[2]", "body1.v_0[1]", "body1.r_0[2]", "body1.r_0[1]"}, 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/PointGravityWithPointMasses/PointGravityWithPointMasses.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.diff.ref.mat", vars={"body4.v_0[2]", "body4.v_0[1]", "body4.r_0[2]", "body4.r_0[1]", "body3.v_0[2]", "body3.v_0[1]", "body3.r_0[2]", "body3.r_0[1]", "body2.v_0[2]", "body2.v_0[1]", "body2.r_0[2]", "body2.r_0[1]", "body1.v_0[2]", "body1.v_0[1]", "body1.r_0[2]", "body1.r_0[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy_res.csv --output-variables 'body1.r_0[1]' 'body1.r_0[2]' 'body1.r_0[3]' 'body1.v_0[1]' 'body1.v_0[2]' 'body1.v_0[3]' 'body2.r_0[1]' 'body2.r_0[2]' 'body2.r_0[3]' 'body2.v_0[1]' 'body2.v_0[2]' 'body2.v_0[3]' 'body3.r_0[1]' 'body3.r_0[2]' 'body3.r_0[3]' 'body3.v_0[1]' 'body3.v_0[2]' 'body3.v_0[3]' 'body4.r_0[1]' 'body4.r_0[2]' 'body4.r_0[3]' 'body4.v_0[1]' 'body4.v_0[2]' 'body4.v_0[3]' --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ../Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.026798786595464]