Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001438, allocations: 106.5 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 191 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1006, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.2109/0.3115, allocations: 6.997 MB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.3181, allocations: 3.099 MB / 384.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3193, allocations: 34.91 kB / 384.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.3209, allocations: 0.6569 MB / 385.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.3248, allocations: 1.39 MB / 386.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3259, allocations: 0.4909 MB / 387.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004419/0.3304, allocations: 3.139 MB / 390.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000832/0.3312, allocations: 453.4 kB / 390.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.3328, allocations: 0.8055 MB / 391.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.3345, allocations: 1.218 MB / 392.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.3349, allocations: 129.9 kB / 393 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3369, allocations: 0.9412 MB / 394 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.3381, allocations: 1.096 MB / 395.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.3392, allocations: 1.249 MB / 396.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004892/0.3441, allocations: 4.074 MB / 400.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3442, allocations: 0 / 400.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3442, allocations: 0 / 400.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.182e-05/0.3443, allocations: 0 / 400.4 MB, free: 1.641 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.00842/0.3527, allocations: 3.247 MB / 403.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3528, allocations: 8.719 kB / 403.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009329/0.3537, allocations: 441.1 kB / 404.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008501/0.3622, allocations: 1.912 MB / 406 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.3676, allocations: 2.552 MB / 408.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3678, allocations: 117.9 kB / 408.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.3689, allocations: 300.5 kB / 409 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.3836, allocations: 8.223 MB / 417.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-05/0.3837, allocations: 39.66 kB / 417.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.384, allocations: 75.89 kB / 417.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/0.386, allocations: 1.401 MB / 418.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.4025, allocations: 9.532 MB / 428.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03451/0.4371, allocations: 30.49 MB / 458.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.4485, allocations: 4.388 MB / 463.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.4512, allocations: 2.116 MB / 465.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.35e-05/0.4513, allocations: 11.98 kB / 465.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4514, allocations: 55.12 kB / 465.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.4514, allocations: 0 / 465.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04624/0.4976, allocations: 18.41 MB / 483.7 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002269/0.4999, allocations: 3.236 MB / 486.9 MB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/0.5048, allocations: 3.028 MB / 490 MB, free: 10.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005729/0.5054, allocations: 49.62 kB / 490 MB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.5068, allocations: 2.095 MB / 492.1 MB, free: 7.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009772/0.5078, allocations: 0.5594 MB / 492.7 MB, free: 7.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.5098, allocations: 1.003 MB / 493.7 MB, free: 6.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.5099, allocations: 305.2 kB / 494 MB, free: 6.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/0.5135, allocations: 2.578 MB / 496.6 MB, free: 3.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.5193, allocations: 5.52 MB / 0.4903 GB, free: 12.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/0.5287, allocations: 8.527 MB / 0.4986 GB, free: 2.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.907e-05/0.5288, allocations: 32 kB / 0.4987 GB, free: 2.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02084/0.5496, allocations: 9.861 MB / 0.5083 GB, free: 8.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.5497, allocations: 48 kB / 0.5083 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01174/0.5615, allocations: 5.108 MB / 0.5133 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008508/0.57, allocations: 2.347 MB / 0.5156 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/0.5744, allocations: 1.236 MB / 0.5168 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.5826, allocations: 8.678 MB / 0.5253 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/0.5879, allocations: 0.5614 MB / 0.5259 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/0.5891, allocations: 319.9 kB / 0.5262 GB, free: 5.652 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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 (584): * Single equations (assignments): 569 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003132/0.5922, allocations: 1.423 MB / 0.5275 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007439/0.593, allocations: 256.6 kB / 0.5278 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.5939, allocations: 415.4 kB / 0.5282 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/0.605, allocations: 5.018 MB / 0.5331 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.554e-05/0.6051, allocations: 4 kB / 0.5331 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.6051, allocations: 3.984 kB / 0.5331 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009886/0.615, allocations: 5.366 MB / 0.5383 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.6151, allocations: 0 / 0.5383 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.617, allocations: 371.4 kB / 0.5387 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008134/0.6251, allocations: 2.382 MB / 0.541 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005662/0.6257, allocations: 55.94 kB / 0.5411 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1766/0.8023, allocations: 9.431 MB / 0.5503 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001483/0.8038, allocations: 3.072 MB / 0.5533 GB, free: 145.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/0.8205, allocations: 8.773 MB / 0.5618 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007597/0.8213, allocations: 334.8 kB / 0.5622 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/0.8219, allocations: 30.55 kB / 0.5622 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.824, allocations: 314.7 kB / 0.5625 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/0.8245, allocations: 110.8 kB / 0.5626 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.8247, allocations: 51.45 kB / 0.5626 GB, free: 144 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003162/0.8279, allocations: 1.896 MB / 0.5645 GB, free: 143.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8279, allocations: 0 / 0.5645 GB, free: 143.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004878/0.8328, allocations: 0.9581 MB / 0.5654 GB, free: 143.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01493/0.8477, allocations: 9.426 MB / 0.5746 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009922/0.8577, allocations: 7.26 MB / 0.5817 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8577, allocations: 0 / 0.5817 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005227/0.8629, allocations: 3.634 MB / 0.5853 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.8657, allocations: 319.4 kB / 0.5856 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06251/0.9283, allocations: 45.26 MB / 0.6298 GB, free: 85.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.93, allocations: 2.302 MB / 0.632 GB, free: 83.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003211/0.9333, allocations: 1.66 MB / 0.6337 GB, free: 81.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/0.9349, allocations: 1.179 MB / 0.6348 GB, free: 80.62 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.9349, allocations: 0 / 0.6348 GB, free: 80.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7412/1.676, allocations: 64.24 MB / 0.6975 GB, free: 16.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.28, allocations: 11.7 kB / 0.6976 GB, free: 16.29 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches