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.001216/0.001216, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001272/0.001272, allocations: 187 kB / 18.67 MB, free: 4.387 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.342/1.342, 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.001686/0.001686, allocations: 55.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09985, allocations: 46.61 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.204/0.3039, allocations: 7.002 MB / 381.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.3096, allocations: 3.095 MB / 384.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.3105, allocations: 35.12 kB / 384.8 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.312, allocations: 0.6602 MB / 385.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.3152, allocations: 1.395 MB / 386.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3162, allocations: 0.4899 MB / 387.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.3208, allocations: 3.128 MB / 390.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008537/0.3217, allocations: 455.5 kB / 390.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3232, allocations: 0.7989 MB / 391.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.325, allocations: 1.218 MB / 392.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.3254, allocations: 130.4 kB / 393 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.3278, allocations: 0.9487 MB / 394 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.3291, allocations: 1.093 MB / 395.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3304, allocations: 1.238 MB / 396.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.3352, allocations: 4.099 MB / 400.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3353, allocations: 0 / 400.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3353, allocations: 0 / 400.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.3354, allocations: 4 kB / 400.4 MB, free: 1.508 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.007837/0.3432, allocations: 3.331 MB / 403.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.3433, allocations: 10.28 kB / 403.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007361/0.344, allocations: 435.7 kB / 404.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00878/0.3528, allocations: 1.934 MB / 406.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005426/0.3583, allocations: 2.551 MB / 408.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.3584, allocations: 114.6 kB / 408.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009661/0.3594, allocations: 306.1 kB / 409.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.3754, allocations: 8.221 MB / 417.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.044e-05/0.3755, allocations: 31.75 kB / 417.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.3758, allocations: 83.81 kB / 417.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.3781, allocations: 1.397 MB / 418.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.3969, allocations: 9.528 MB / 428.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04015/0.437, allocations: 30.54 MB / 458.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.4497, allocations: 4.391 MB / 463.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.453, allocations: 2.115 MB / 465.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.4531, allocations: 15.98 kB / 465.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.4532, allocations: 50.5 kB / 465.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.777e-06/0.4532, allocations: 0 / 465.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05081/0.504, allocations: 18.59 MB / 484 MB, free: 308 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002837/0.5069, allocations: 3.233 MB / 487.3 MB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.513, allocations: 3.04 MB / 490.3 MB, free: 9.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006728/0.5137, allocations: 41.7 kB / 490.4 MB, free: 9.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.5155, allocations: 2.183 MB / 492.5 MB, free: 7.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.5166, allocations: 0.5893 MB / 493.1 MB, free: 6.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.5182, allocations: 1.008 MB / 494.1 MB, free: 5.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5184, allocations: 305.1 kB / 494.4 MB, free: 5.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/0.5224, allocations: 2.57 MB / 497 MB, free: 2.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006519/0.5289, allocations: 5.532 MB / 0.4908 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.5406, allocations: 8.52 MB / 0.4991 GB, free: 1.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.663e-05/0.5407, allocations: 32 kB / 0.4991 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02372/0.5644, allocations: 9.881 MB / 0.5088 GB, free: 7.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.5646, allocations: 48 kB / 0.5088 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01374/0.5784, allocations: 5.11 MB / 0.5138 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009616/0.588, allocations: 2.347 MB / 0.5161 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/0.5929, allocations: 1.236 MB / 0.5173 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.6033, allocations: 8.687 MB / 0.5258 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/0.6091, allocations: 0.5616 MB / 0.5263 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/0.6105, allocations: 315.9 kB / 0.5266 GB, free: 5.07 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.004222/0.6148, allocations: 1.422 MB / 0.528 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.6159, allocations: 274.2 kB / 0.5283 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.6174, allocations: 419.4 kB / 0.5287 GB, free: 2.957 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0131/0.6305, allocations: 5.01 MB / 0.5336 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/0.6306, allocations: 4 kB / 0.5336 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/0.6306, allocations: 11.97 kB / 0.5336 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.6426, allocations: 5.35 MB / 0.5388 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.6427, allocations: 3.984 kB / 0.5388 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.6447, allocations: 367.4 kB / 0.5392 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009468/0.6541, allocations: 2.382 MB / 0.5415 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/0.6548, allocations: 48.23 kB / 0.5415 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2037/0.8585, allocations: 9.441 MB / 0.5508 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001563/0.8601, allocations: 3.076 MB / 0.5538 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/0.878, allocations: 8.791 MB / 0.5624 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/0.879, allocations: 342.2 kB / 0.5627 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/0.8796, allocations: 31.52 kB / 0.5627 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/0.8818, allocations: 318.5 kB / 0.563 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.8823, allocations: 110.5 kB / 0.5631 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/0.8825, allocations: 55.61 kB / 0.5632 GB, free: 143.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003347/0.8859, allocations: 1.891 MB / 0.565 GB, free: 143 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8859, allocations: 0.9062 kB / 0.565 GB, free: 143 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004968/0.8909, allocations: 0.9581 MB / 0.566 GB, free: 142.9 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.01694/0.9078, allocations: 9.443 MB / 0.5752 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/0.9184, allocations: 7.26 MB / 0.5823 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.9184, allocations: 0 / 0.5823 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005564/0.924, allocations: 3.644 MB / 0.5858 GB, free: 134.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.9264, allocations: 322.3 kB / 0.5861 GB, free: 134 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06541/0.9918, allocations: 45.38 MB / 0.6304 GB, free: 84.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.9936, allocations: 2.295 MB / 0.6327 GB, free: 82.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003288/0.9969, allocations: 1.667 MB / 0.6343 GB, free: 80.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.9984, allocations: 1.179 MB / 0.6355 GB, free: 79.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.9984, allocations: 0 / 0.6355 GB, free: 79.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/1.139, allocations: 62.91 MB / 0.6969 GB, free: 16.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/19.15, allocations: 15.77 kB / 0.6969 GB, free: 16.76 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