Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003652, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08661, allocations: 38.76 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4602, allocations: 81.43 MB / 353.6 MB, free: 8.066 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4606, allocations: 87.45 kB / 353.6 MB, free: 8.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.959/1.42, allocations: 184.2 MB / 0.5252 GB, free: 22.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.42, allocations: 4 kB / 0.5252 GB, free: 22.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005299/1.42, allocations: 164 kB / 0.5254 GB, free: 22.67 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: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.04386/1.464, allocations: 9.091 MB / 0.5343 GB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.464, allocations: 15.97 kB / 0.5343 GB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007463/1.472, allocations: 1.474 MB / 0.5357 GB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04501/1.517, allocations: 4.701 MB / 0.5403 GB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05111/1.568, allocations: 13.32 MB / 0.5533 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/1.569, allocations: 0.6297 MB / 0.5539 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008647/1.578, allocations: 0.8586 MB / 0.5548 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7134/2.291, allocations: 27.97 MB / 0.5821 GB, free: 40.42 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009/2.292, allocations: 133.2 kB / 0.5822 GB, free: 40.42 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005117/2.297, allocations: 406.2 kB / 0.5826 GB, free: 40.42 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006621/2.304, allocations: 2.128 MB / 0.5847 GB, free: 40.4 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1167/2.421, allocations: 29.83 MB / 0.6138 GB, free: 39.14 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5306/2.951, allocations: 112 MB / 0.7232 GB, free: 25.85 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1326/3.084, allocations: 19.38 MB / 0.7421 GB, free: 25.12 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000957/3.085, allocations: 388.4 kB / 0.7425 GB, free: 24.84 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/3.085, allocations: 72.5 kB / 0.7425 GB, free: 24.8 MB / 394.8 MB Notification: Performance of pre-optimization done (n=314): time 9.768e-06/3.085, allocations: 0 / 0.7425 GB, free: 24.8 MB / 394.8 MB Notification: Performance of matching and sorting (n=413): time 0.8656/3.951, allocations: 131.3 MB / 0.8708 GB, free: 12.71 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005272/3.956, allocations: 3.139 MB / 0.8739 GB, free: 9.273 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02742/3.984, allocations: 6.771 MB / 0.8805 GB, free: 2.676 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001884/3.986, allocations: 89.7 kB / 0.8806 GB, free: 2.582 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3125/4.298, allocations: 5.889 MB / 0.8863 GB, free: 129 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003904/4.302, allocations: 1.569 MB / 0.8878 GB, free: 128 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003088/4.305, allocations: 221.8 kB / 0.8881 GB, free: 128 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001393/4.307, allocations: 0.7696 MB / 0.8888 GB, free: 127.7 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02301/4.33, allocations: 7.884 MB / 0.8965 GB, free: 127.7 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02824/4.358, allocations: 14.02 MB / 0.9102 GB, free: 119.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02462/4.383, allocations: 10.12 MB / 0.9201 GB, free: 119.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002632/4.383, allocations: 63.59 kB / 0.9201 GB, free: 119.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.1482/4.531, allocations: 35.02 MB / 0.9543 GB, free: 111.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/4.531, allocations: 97.53 kB / 0.9544 GB, free: 111.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0567/4.588, allocations: 14.94 MB / 0.969 GB, free: 107.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08951/4.678, allocations: 13.84 MB / 0.9825 GB, free: 105.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0175/4.695, allocations: 2.635 MB / 0.9851 GB, free: 104.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/4.844, allocations: 54.49 MB / 1.038 GB, free: 55.81 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02273/4.867, allocations: 1.444 MB / 1.04 GB, free: 54.39 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003722/4.871, allocations: 0.6453 MB / 1.04 GB, free: 53.74 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 (1262): * Single equations (assignments): 1248 * 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 {1} * 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.01404/4.885, allocations: 4.035 MB / 1.044 GB, free: 49.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003739/4.889, allocations: 0.6856 MB / 1.045 GB, free: 49.01 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3734/5.262, allocations: 11.91 MB / 1.057 GB, free: 115.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1252/5.387, allocations: 25.2 MB / 1.081 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001466/5.388, allocations: 30.22 kB / 1.081 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/5.388, allocations: 22.47 kB / 1.081 GB, free: 115.1 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1865/5.574, allocations: 47.21 MB / 1.127 GB, free: 107.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.269e-05/5.574, allocations: 5.812 kB / 1.127 GB, free: 107.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007371/5.582, allocations: 0.7241 MB / 1.128 GB, free: 107.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08864/5.67, allocations: 13.3 MB / 1.141 GB, free: 105.6 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001847/5.672, allocations: 119.6 kB / 1.141 GB, free: 105.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1218/5.794, allocations: 51.01 MB / 1.191 GB, free: 66.25 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0023/5.797, allocations: 2.982 MB / 1.194 GB, free: 63.03 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4679/6.264, allocations: 36.44 MB / 1.229 GB, free: 106.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/6.267, allocations: 0.7314 MB / 1.23 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004128/6.272, allocations: 84.7 kB / 1.23 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01439/6.286, allocations: 0.8237 MB / 1.231 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002904/6.289, allocations: 316.2 kB / 1.231 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00173/6.291, allocations: 132.9 kB / 1.232 GB, free: 106.4 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01644/6.307, allocations: 4.824 MB / 1.236 GB, free: 106.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.272e-06/6.307, allocations: 2.219 kB / 1.236 GB, free: 106.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01855/6.326, allocations: 2.933 MB / 1.239 GB, free: 106.2 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.1685/6.494, allocations: 37.69 MB / 1.276 GB, free: 103.8 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.05941/6.554, allocations: 18.9 MB / 1.294 GB, free: 96.82 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/6.554, allocations: 0 / 1.294 GB, free: 96.82 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02765/6.582, allocations: 8.529 MB / 1.303 GB, free: 92.97 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00978/6.591, allocations: 0.8609 MB / 1.304 GB, free: 92.61 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7277/7.319, allocations: 259.5 MB / 1.557 GB, free: 21.83 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01657/7.336, allocations: 6.329 MB / 1.563 GB, free: 20.91 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01814/7.354, allocations: 3.452 MB / 1.567 GB, free: 20.84 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/7.366, allocations: 4.168 MB / 1.571 GB, free: 18.71 MB / 474.8 MB Notification: Performance of SimCode: time 1.352e-06/7.366, allocations: 0 / 1.571 GB, free: 18.71 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/8.499, allocations: 229.6 MB / 1.795 GB, free: 112.5 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/8.499, allocations: 246.3 kB / 1.795 GB, free: 112.3 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.744/18.24, allocations: 2.125 kB / 1.795 GB, free: 112.3 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat