Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 111.1 kB / 20.43 MB, free: 4.602 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 197.3 kB / 23.71 MB, free: 2.156 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9342/0.9342, allocations: 225.7 MB / 252.5 MB, free: 14.43 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_4_0_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_0_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.001193/0.001193, allocations: 63.88 kB / 372 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2401, allocations: 52.18 MB / 424.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.00607/0.2461, allocations: 7.035 MB / 431.2 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.2493, allocations: 2.409 MB / 433.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.2497, allocations: 42.03 kB / 433.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.2513, allocations: 1.401 MB / 435 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.2525, allocations: 1.022 MB / 436.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.2528, allocations: 272.2 kB / 436.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.2545, allocations: 2.192 MB / 438.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2555, allocations: 1.342 MB / 439.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.2561, allocations: 0.8499 MB / 440.7 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.2572, allocations: 1.243 MB / 441.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2574, allocations: 159.5 kB / 442.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007021/0.2581, allocations: 0.5806 MB / 442.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000622/0.2587, allocations: 1.187 MB / 443.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005685/0.2593, allocations: 0.9934 MB / 444.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.2618, allocations: 4.345 MB / 449.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2618, allocations: 0 / 449.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2618, allocations: 0 / 449.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.2618, allocations: 0 / 449.2 MB, free: 5.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.002671/0.2645, allocations: 2.961 MB / 452.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2646, allocations: 12.03 kB / 452.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003958/0.2649, allocations: 0.526 MB / 452.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.2685, allocations: 1.793 MB / 454.5 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.2698, allocations: 1.117 MB / 455.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.2699, allocations: 151.8 kB / 455.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.2701, allocations: 203.8 kB / 456 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009152/0.2792, allocations: 8.621 MB / 464.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/0.2793, allocations: 43.64 kB / 464.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.2795, allocations: 103.9 kB / 464.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/0.281, allocations: 1.671 MB / 466.4 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009022/0.2901, allocations: 7.163 MB / 473.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.3078, allocations: 29.14 MB / 0.4909 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.3181, allocations: 4.511 MB / 0.4953 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3191, allocations: 1.197 MB / 0.4965 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002837/0.3219, allocations: 3.091 MB / 0.4995 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3219, allocations: 50.89 kB / 0.4996 GB, free: 5.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 2.895e-06/0.322, allocations: 0 / 0.4996 GB, free: 5.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=111): time 0.02121/0.3432, allocations: 8.988 MB / 0.5083 GB, free: 12.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3432, allocations: 191.9 kB / 0.5085 GB, free: 12.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.3458, allocations: 3.253 MB / 0.5117 GB, free: 8.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.3459, allocations: 37.7 kB / 0.5117 GB, free: 8.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.3469, allocations: 2.535 MB / 0.5142 GB, free: 6.316 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.3472, allocations: 0.5121 MB / 0.5147 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008073/0.348, allocations: 1.088 MB / 0.5158 GB, free: 4.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.348, allocations: 313 kB / 0.5161 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3495, allocations: 1.603 MB / 0.5176 GB, free: 2.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.3526, allocations: 5.165 MB / 0.5227 GB, free: 11.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005146/0.3577, allocations: 7.312 MB / 0.5298 GB, free: 2.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/0.3578, allocations: 36 kB / 0.5299 GB, free: 2.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.005979/0.3637, allocations: 6.465 MB / 0.5362 GB, free: 12.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.3638, allocations: 60 kB / 0.5362 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.926e-05/0.3639, allocations: 124 kB / 0.5363 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.364, allocations: 172.3 kB / 0.5365 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.3664, allocations: 1.458 MB / 0.5379 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/0.3666, allocations: 239.7 kB / 0.5382 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.3683, allocations: 0.7754 MB / 0.5389 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.3685, allocations: 347.9 kB / 0.5393 GB, free: 9.055 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.00144/0.37, allocations: 1.575 MB / 0.5408 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.3702, allocations: 258.3 kB / 0.541 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.371, allocations: 0.825 MB / 0.5418 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.371, allocations: 19.94 kB / 0.5419 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.371, allocations: 4 kB / 0.5419 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.371, allocations: 7.969 kB / 0.5419 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.3745, allocations: 3.236 MB / 0.545 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3745, allocations: 4 kB / 0.545 GB, free: 3.051 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3756, allocations: 403.5 kB / 0.5454 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3756, allocations: 4 kB / 0.5454 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.3757, allocations: 39.97 kB / 0.5455 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3757, allocations: 7.938 kB / 0.5455 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3757, allocations: 0 / 0.5455 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.3778, allocations: 2.81 MB / 0.5482 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.378, allocations: 234 kB / 0.5484 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.3782, allocations: 27.98 kB / 0.5485 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.3786, allocations: 43.95 kB / 0.5485 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3787, allocations: 51.89 kB / 0.5486 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.3788, allocations: 39.97 kB / 0.5486 GB, free: 15.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00155/0.3803, allocations: 1.845 MB / 0.5504 GB, free: 13.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3803, allocations: 0 / 0.5504 GB, free: 13.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002053/0.3824, allocations: 0.8382 MB / 0.5512 GB, free: 12.7 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.002434/0.3848, allocations: 3.438 MB / 0.5546 GB, free: 9.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.3878, allocations: 3.484 MB / 0.558 GB, free: 5.777 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3878, allocations: 4 kB / 0.558 GB, free: 5.773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.3883, allocations: 0.6753 MB / 0.5586 GB, free: 5.098 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.3893, allocations: 263 kB / 0.5589 GB, free: 4.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2149/0.6042, allocations: 34.27 MB / 0.5924 GB, free: 158.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/0.6062, allocations: 1.828 MB / 0.5941 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002365/0.6085, allocations: 1.632 MB / 0.5957 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008558/0.6094, allocations: 1.214 MB / 0.5969 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/0.6094, allocations: 0 / 0.5969 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/0.797, allocations: 43.14 MB / 0.639 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.281, allocations: 8.047 kB / 0.6391 GB, free: 126.6 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses.fmu) > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.51888660248369]