Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 15.98 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5155, allocations: 87.13 MB / 395.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.5158, allocations: 87.95 kB / 395.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529/2.045, allocations: 184.4 MB / 0.5666 GB, free: 46.45 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.245e-06/2.045, allocations: 0 / 0.5666 GB, free: 46.45 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0005296/2.046, allocations: 163.6 kB / 0.5667 GB, free: 46.45 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.04551/2.091, allocations: 9.099 MB / 0.5756 GB, free: 43.06 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/2.091, allocations: 7.688 kB / 0.5756 GB, free: 43.06 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007564/2.099, allocations: 1.468 MB / 0.577 GB, free: 42.95 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04414/2.143, allocations: 4.708 MB / 0.5816 GB, free: 42.37 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04154/2.185, allocations: 13.33 MB / 0.5946 GB, free: 41.36 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009727/2.186, allocations: 0.6307 MB / 0.5953 GB, free: 41.34 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005517/2.191, allocations: 0.8569 MB / 0.5961 GB, free: 41.33 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1152/2.306, allocations: 27.98 MB / 0.6234 GB, free: 36.7 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007968/2.307, allocations: 127.6 kB / 0.6235 GB, free: 36.68 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004547/2.312, allocations: 404.8 kB / 0.6239 GB, free: 36.68 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006319/2.318, allocations: 2.136 MB / 0.626 GB, free: 36.66 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1156/2.434, allocations: 29.83 MB / 0.6551 GB, free: 23.45 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5973/3.031, allocations: 112 MB / 0.7645 GB, free: 32.94 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1279/3.159, allocations: 19.39 MB / 0.7835 GB, free: 32.2 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/3.16, allocations: 381.7 kB / 0.7838 GB, free: 31.92 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/3.16, allocations: 73.27 kB / 0.7839 GB, free: 31.88 MB / 442.8 MB Notification: Performance of pre-optimization done (n=314): time 7.594e-06/3.16, allocations: 0 / 0.7839 GB, free: 31.88 MB / 442.8 MB Notification: Performance of matching and sorting (n=413): time 1.128/4.289, allocations: 131.3 MB / 0.9121 GB, free: 95.23 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002633/4.292, allocations: 3.146 MB / 0.9152 GB, free: 92.31 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01943/4.311, allocations: 6.764 MB / 0.9218 GB, free: 91.79 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001753/4.313, allocations: 89.61 kB / 0.9219 GB, free: 91.76 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006012/4.319, allocations: 5.896 MB / 0.9277 GB, free: 89.16 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003243/4.322, allocations: 1.572 MB / 0.9292 GB, free: 88.23 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/4.325, allocations: 223 kB / 0.9294 GB, free: 88.23 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009906/4.326, allocations: 0.7661 MB / 0.9302 GB, free: 87.91 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02009/4.346, allocations: 7.894 MB / 0.9379 GB, free: 87.88 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02447/4.371, allocations: 14.03 MB / 0.9516 GB, free: 80.05 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02444/4.395, allocations: 10.12 MB / 0.9615 GB, free: 76.65 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002396/4.395, allocations: 62.22 kB / 0.9615 GB, free: 76.65 MB / 458.8 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.1513/4.547, allocations: 35.12 MB / 0.9958 GB, free: 67.04 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/4.547, allocations: 96 kB / 0.9959 GB, free: 66.95 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05476/4.602, allocations: 15.02 MB / 1.011 GB, free: 55.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08871/4.691, allocations: 13.92 MB / 1.024 GB, free: 46.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01728/4.708, allocations: 2.62 MB / 1.027 GB, free: 43.66 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5394/5.247, allocations: 54.99 MB / 1.08 GB, free: 82.56 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02972/5.277, allocations: 1.443 MB / 1.082 GB, free: 82.56 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004448/5.282, allocations: 0.6512 MB / 1.082 GB, free: 82.56 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 985 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1259): * Single equations (assignments): 1245 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0175/5.299, allocations: 4.028 MB / 1.086 GB, free: 81.42 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004548/5.304, allocations: 0.6845 MB / 1.087 GB, free: 81.42 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09306/5.397, allocations: 11.92 MB / 1.099 GB, free: 78.41 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.176/5.573, allocations: 25.2 MB / 1.123 GB, free: 71.9 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000125/5.573, allocations: 31.33 kB / 1.123 GB, free: 71.9 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/5.573, allocations: 23.25 kB / 1.123 GB, free: 71.9 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.179/5.752, allocations: 47.2 MB / 1.169 GB, free: 43.49 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.809e-05/5.752, allocations: 7.984 kB / 1.169 GB, free: 43.48 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007285/5.76, allocations: 0.7236 MB / 1.17 GB, free: 42.79 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09302/5.853, allocations: 13.3 MB / 1.183 GB, free: 29.56 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001802/5.855, allocations: 119.8 kB / 1.183 GB, free: 29.45 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4858/6.34, allocations: 51.01 MB / 1.233 GB, free: 81.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002513/6.343, allocations: 2.979 MB / 1.236 GB, free: 78.36 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2491/6.592, allocations: 36.47 MB / 1.272 GB, free: 72 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/6.595, allocations: 0.7288 MB / 1.272 GB, free: 71.85 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003595/6.599, allocations: 84.27 kB / 1.272 GB, free: 71.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/6.612, allocations: 0.8185 MB / 1.273 GB, free: 71.75 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002786/6.615, allocations: 319.3 kB / 1.274 GB, free: 71.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000951/6.616, allocations: 132.4 kB / 1.274 GB, free: 71.68 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01422/6.63, allocations: 4.822 MB / 1.278 GB, free: 70.14 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.71e-07/6.63, allocations: 0 / 1.278 GB, free: 70.14 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0173/6.648, allocations: 2.942 MB / 1.281 GB, free: 69.89 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.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 (266): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1429/6.791, allocations: 37.69 MB / 1.318 GB, free: 49.59 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.04486/6.836, allocations: 19.05 MB / 1.337 GB, free: 33.57 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/6.836, allocations: 2.375 kB / 1.337 GB, free: 33.57 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01991/6.855, allocations: 8.518 MB / 1.345 GB, free: 26.12 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009431/6.865, allocations: 0.8785 MB / 1.346 GB, free: 25.39 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7576/7.623, allocations: 259.6 MB / 1.599 GB, free: 7.695 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01812/7.641, allocations: 6.335 MB / 1.605 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01828/7.659, allocations: 3.446 MB / 1.609 GB, free: 5.418 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01156/7.671, allocations: 4.155 MB / 1.613 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of SimCode: time 1.483e-06/7.671, allocations: 4 kB / 1.613 GB, free: 1.945 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/8.842, allocations: 230.3 MB / 1.838 GB, free: 178.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/8.842, allocations: 239.7 kB / 1.838 GB, free: 178.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/19.16, allocations: 2.297 kB / 1.838 GB, free: 178.1 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat