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.001147/0.001147, allocations: 113.8 kB / 17.28 MB, free: 6.219 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.001403/0.001403, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.276/1.276, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001269/0.001269, allocations: 56.39 kB / 280.3 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.0922, allocations: 46.64 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01366/0.1059, allocations: 13.97 MB / 340.9 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.1138, allocations: 4.207 MB / 345.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.1158, allocations: 55.81 kB / 345.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.1175, allocations: 0.6113 MB / 345.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.1207, allocations: 1.308 MB / 347 MB, free: 472 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1217, allocations: 475.4 kB / 347.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.1255, allocations: 3.148 MB / 350.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.1264, allocations: 479.1 kB / 351.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1277, allocations: 0.8094 MB / 351.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.1297, allocations: 1.371 MB / 353.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.1302, allocations: 132 kB / 353.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.1322, allocations: 0.9554 MB / 354.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.1335, allocations: 1.122 MB / 355.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.1354, allocations: 1.262 MB / 356.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.1397, allocations: 3.941 MB / 360.7 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1397, allocations: 4 kB / 360.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1397, allocations: 0 / 360.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.1398, allocations: 4 kB / 360.7 MB, free: 2.73 MB / 302.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.006868/0.1467, allocations: 3.251 MB / 364 MB, free: 15.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1468, allocations: 12.03 kB / 364 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006291/0.1474, allocations: 429.4 kB / 364.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007706/0.1551, allocations: 1.912 MB / 366.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.1595, allocations: 2.534 MB / 368.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1597, allocations: 118.6 kB / 369 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008733/0.1606, allocations: 299.5 kB / 369.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.1741, allocations: 8.223 MB / 377.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/0.1742, allocations: 35.66 kB / 377.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.1744, allocations: 75.89 kB / 377.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1414/0.3158, allocations: 1.394 MB / 379 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.3333, allocations: 9.541 MB / 388.5 MB, free: 48.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.3592, allocations: 30.56 MB / 419.1 MB, free: 22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.3693, allocations: 4.383 MB / 423.5 MB, free: 17.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.3714, allocations: 2.11 MB / 425.6 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.3715, allocations: 20.73 kB / 425.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3716, allocations: 46.55 kB / 425.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/0.3716, allocations: 0 / 425.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.03977/0.4113, allocations: 18.42 MB / 444.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002336/0.4137, allocations: 3.235 MB / 447.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.4176, allocations: 3.031 MB / 450.3 MB, free: 5.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005448/0.4181, allocations: 41.7 kB / 450.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.4194, allocations: 2.09 MB / 452.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/0.4202, allocations: 0.5665 MB / 453 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.4216, allocations: 1.003 MB / 454 MB, free: 2.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4217, allocations: 301.1 kB / 454.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.4253, allocations: 2.574 MB / 456.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00539/0.4307, allocations: 5.525 MB / 462.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009932/0.4407, allocations: 8.529 MB / 470.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.616e-05/0.4408, allocations: 28 kB / 471 MB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0219/0.4627, allocations: 9.86 MB / 480.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.4628, allocations: 53.03 kB / 480.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01243/0.4753, allocations: 5.116 MB / 486 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009254/0.4846, allocations: 2.355 MB / 488.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/0.4892, allocations: 1.236 MB / 489.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/0.4987, allocations: 8.695 MB / 498.3 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.5038, allocations: 0.5595 MB / 498.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009952/0.5048, allocations: 315.9 kB / 499.2 MB, free: 1.52 MB / 382.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.002629/0.5074, allocations: 1.408 MB / 0.4888 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/0.5081, allocations: 260.9 kB / 0.4891 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.5089, allocations: 415.4 kB / 0.4895 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01147/0.5204, allocations: 5.017 MB / 0.4944 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/0.5205, allocations: 12.28 kB / 0.4944 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.5205, allocations: 7.969 kB / 0.4944 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00848/0.529, allocations: 5.355 MB / 0.4996 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.5291, allocations: 4.812 kB / 0.4996 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.531, allocations: 371.3 kB / 0.5 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008376/0.5394, allocations: 2.398 MB / 0.5023 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005023/0.5399, allocations: 43.95 kB / 0.5024 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.5506, allocations: 9.453 MB / 0.5116 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002337/0.5529, allocations: 3.07 MB / 0.5146 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.57, allocations: 8.775 MB / 0.5232 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.5709, allocations: 325.7 kB / 0.5235 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008532/0.5718, allocations: 39.92 kB / 0.5235 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/0.5744, allocations: 319.4 kB / 0.5238 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006345/0.575, allocations: 103.8 kB / 0.5239 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003223/0.5754, allocations: 55.95 kB / 0.524 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003304/0.5787, allocations: 1.891 MB / 0.5258 GB, free: 9.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5787, allocations: 0 / 0.5258 GB, free: 9.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005078/0.5838, allocations: 0.9621 MB / 0.5268 GB, free: 8.215 MB / 430.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.1657/0.7495, allocations: 9.416 MB / 0.536 GB, free: 145.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01241/0.7619, allocations: 7.537 MB / 0.5433 GB, free: 144.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7619, allocations: 5.094 kB / 0.5433 GB, free: 144.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006719/0.7687, allocations: 3.646 MB / 0.5469 GB, free: 142.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.7713, allocations: 312 kB / 0.5472 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07405/0.8454, allocations: 49.3 MB / 0.5953 GB, free: 99.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.8469, allocations: 2.302 MB / 0.5976 GB, free: 97.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003513/0.8505, allocations: 1.656 MB / 0.5992 GB, free: 95.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.8519, allocations: 1.175 MB / 0.6003 GB, free: 94.75 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8519, allocations: 4 kB / 0.6003 GB, free: 94.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08074/0.9326, allocations: 66.13 MB / 0.6649 GB, free: 28.52 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.9328, allocations: 252.2 kB / 0.6652 GB, free: 28.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/4.432, allocations: 4 kB / 0.6652 GB, free: 28.25 MB / 430.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches