Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 116.1 kB / 20.44 MB, free: 4.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009975/0.0009975, allocations: 221.3 kB / 23.74 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9429/0.9429, allocations: 231.1 MB / 258 MB, free: 8.926 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.89 kB / 380.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2114, allocations: 53.55 MB / 433.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.005449/0.2168, allocations: 7.021 MB / 440.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.2204, allocations: 2.442 MB / 443.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.2208, allocations: 38.62 kB / 443.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.2224, allocations: 1.404 MB / 444.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.2237, allocations: 1.02 MB / 445.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.2241, allocations: 268.3 kB / 446 MB, free: 9.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.2257, allocations: 2.151 MB / 448.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.2268, allocations: 1.347 MB / 449.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.2276, allocations: 0.8406 MB / 450.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.2286, allocations: 1.245 MB / 451.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.2289, allocations: 164 kB / 451.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007255/0.2296, allocations: 0.5733 MB / 452.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005939/0.2302, allocations: 1.176 MB / 453.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.2308, allocations: 0.9777 MB / 454.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.2335, allocations: 4.298 MB / 458.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2335, allocations: 3.938 kB / 458.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2335, allocations: 0 / 458.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.29e-05/0.2336, allocations: 0 / 458.7 MB, free: 12.9 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.002662/0.2363, allocations: 2.934 MB / 461.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2363, allocations: 8.031 kB / 461.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003653/0.2367, allocations: 0.5337 MB / 462.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.2403, allocations: 1.797 MB / 464 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.2415, allocations: 1.113 MB / 465.1 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.2416, allocations: 155.8 kB / 465.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.2418, allocations: 203.8 kB / 465.5 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009359/0.2512, allocations: 8.637 MB / 474.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.2512, allocations: 43.64 kB / 474.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.2514, allocations: 103.9 kB / 474.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.253, allocations: 1.663 MB / 475.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009969/0.2629, allocations: 7.171 MB / 483.1 MB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.2823, allocations: 29.12 MB / 0.5002 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.2929, allocations: 4.543 MB / 0.5046 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.2939, allocations: 1.199 MB / 0.5058 GB, free: 16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/0.2969, allocations: 3.11 MB / 0.5088 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.297, allocations: 50.83 kB / 0.5089 GB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=111): time 2.835e-06/0.297, allocations: 0 / 0.5089 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=111): time 0.02143/0.3184, allocations: 9.002 MB / 0.5177 GB, free: 3.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.3186, allocations: 187.9 kB / 0.5179 GB, free: 3.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.3215, allocations: 3.24 MB / 0.521 GB, free: 300 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.3216, allocations: 41.7 kB / 0.5211 GB, free: 252 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.3227, allocations: 2.535 MB / 0.5235 GB, free: 13.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.323, allocations: 0.5119 MB / 0.524 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00095/0.324, allocations: 1.099 MB / 0.5251 GB, free: 12.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.324, allocations: 305.1 kB / 0.5254 GB, free: 11.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.3256, allocations: 1.607 MB / 0.527 GB, free: 10.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/0.3287, allocations: 5.173 MB / 0.532 GB, free: 3.168 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.3338, allocations: 7.329 MB / 0.5392 GB, free: 10.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.096e-05/0.3338, allocations: 36 kB / 0.5392 GB, free: 10.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.006041/0.3399, allocations: 6.475 MB / 0.5455 GB, free: 3.543 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.3399, allocations: 60 kB / 0.5456 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.655e-05/0.34, allocations: 128 kB / 0.5457 GB, free: 3.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.55e-05/0.3401, allocations: 167.9 kB / 0.5459 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.3426, allocations: 1.454 MB / 0.5473 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.3427, allocations: 251 kB / 0.5475 GB, free: 1.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.3445, allocations: 0.7678 MB / 0.5483 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.3448, allocations: 344.1 kB / 0.5486 GB, free: 392 kB / 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.001424/0.3462, allocations: 1.567 MB / 0.5501 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.3464, allocations: 262.2 kB / 0.5504 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.3467, allocations: 319.3 kB / 0.5507 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.3467, allocations: 15.94 kB / 0.5507 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3467, allocations: 4 kB / 0.5507 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3467, allocations: 3.984 kB / 0.5507 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.3502, allocations: 3.232 MB / 0.5539 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3502, allocations: 4.047 kB / 0.5539 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.3513, allocations: 411.5 kB / 0.5543 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3513, allocations: 4 kB / 0.5543 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.3513, allocations: 35.97 kB / 0.5543 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3514, allocations: 4 kB / 0.5543 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3514, allocations: 11.94 kB / 0.5543 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.3535, allocations: 2.825 MB / 0.5571 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.3537, allocations: 241.9 kB / 0.5573 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3539, allocations: 31.98 kB / 0.5573 GB, free: 7.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.3543, allocations: 35.95 kB / 0.5574 GB, free: 7.309 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.495e-05/0.3544, allocations: 63.88 kB / 0.5574 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.3544, allocations: 35.97 kB / 0.5575 GB, free: 7.211 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.356, allocations: 1.836 MB / 0.5593 GB, free: 5.371 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.356, allocations: 4 kB / 0.5593 GB, free: 5.367 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002039/0.358, allocations: 0.8226 MB / 0.5601 GB, free: 4.543 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.002367/0.3604, allocations: 3.446 MB / 0.5634 GB, free: 1.066 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003037/0.3634, allocations: 3.484 MB / 0.5668 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3634, allocations: 4.312 kB / 0.5668 GB, free: 13.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000575/0.364, allocations: 0.6885 MB / 0.5675 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.3649, allocations: 253.2 kB / 0.5678 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1844/0.5493, allocations: 34.28 MB / 0.6012 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5507, allocations: 1.827 MB / 0.603 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001965/0.5527, allocations: 1.631 MB / 0.6046 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007897/0.5534, allocations: 1.217 MB / 0.6058 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.61e-07/0.5534, allocations: 0 / 0.6058 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/0.7119, allocations: 42.99 MB / 0.6478 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.521, allocations: 12.05 kB / 0.6478 GB, free: 106.5 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_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: 11.833331952802837]