Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08423, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4535, allocations: 81.42 MB / 353.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4538, allocations: 86.14 kB / 353.6 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9777/1.432, allocations: 184.2 MB / 0.5252 GB, free: 23.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.432, allocations: 0 / 0.5252 GB, free: 23.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004632/1.432, allocations: 168 kB / 0.5254 GB, free: 23.18 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.0409/1.473, allocations: 9.091 MB / 0.5342 GB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.473, allocations: 12.03 kB / 0.5343 GB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007321/1.48, allocations: 1.466 MB / 0.5357 GB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05657/1.537, allocations: 4.701 MB / 0.5403 GB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04168/1.579, allocations: 13.32 MB / 0.5533 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.58, allocations: 0.6258 MB / 0.5539 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005487/1.585, allocations: 0.8665 MB / 0.5547 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3901/1.975, allocations: 27.97 MB / 0.5821 GB, free: 42.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006533/1.976, allocations: 131.7 kB / 0.5822 GB, free: 42.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/1.98, allocations: 400.5 kB / 0.5826 GB, free: 42.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006059/1.986, allocations: 2.135 MB / 0.5847 GB, free: 42.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1139/2.1, allocations: 29.82 MB / 0.6138 GB, free: 41.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5276/2.628, allocations: 112 MB / 0.7232 GB, free: 28.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1307/2.758, allocations: 19.37 MB / 0.7421 GB, free: 27.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/2.759, allocations: 395.5 kB / 0.7425 GB, free: 27.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/2.759, allocations: 75.62 kB / 0.7425 GB, free: 27.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=314): time 7.274e-06/2.759, allocations: 0 / 0.7425 GB, free: 27.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=413): time 0.8385/3.598, allocations: 131.3 MB / 0.8708 GB, free: 15.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003511/3.601, allocations: 3.151 MB / 0.8738 GB, free: 11.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0211/3.623, allocations: 6.761 MB / 0.8804 GB, free: 5.082 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00174/3.624, allocations: 89.7 kB / 0.8805 GB, free: 4.988 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2841/3.909, allocations: 5.617 MB / 0.886 GB, free: 131.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003912/3.912, allocations: 1.586 MB / 0.8876 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003046/3.916, allocations: 217.6 kB / 0.8878 GB, free: 131.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001649/3.917, allocations: 0.7725 MB / 0.8885 GB, free: 130.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02264/3.94, allocations: 7.886 MB / 0.8962 GB, free: 130.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0261/3.966, allocations: 14.01 MB / 0.9099 GB, free: 122.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02446/3.991, allocations: 10.12 MB / 0.9198 GB, free: 122.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003535/3.991, allocations: 61.12 kB / 0.9199 GB, free: 122.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.1498/4.141, allocations: 34.75 MB / 0.9538 GB, free: 115.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/4.141, allocations: 99.25 kB / 0.9539 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0551/4.196, allocations: 14.93 MB / 0.9685 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08804/4.284, allocations: 13.84 MB / 0.982 GB, free: 109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/4.302, allocations: 2.638 MB / 0.9846 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1352/4.437, allocations: 54.48 MB / 1.038 GB, free: 60.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02266/4.46, allocations: 1.441 MB / 1.039 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003446/4.463, allocations: 0.6452 MB / 1.04 GB, free: 58.56 MB / 458.7 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.02015/4.483, allocations: 4.038 MB / 1.044 GB, free: 54.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00524/4.489, allocations: 0.6871 MB / 1.044 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07527/4.564, allocations: 11.91 MB / 1.056 GB, free: 41.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4499/5.014, allocations: 25.2 MB / 1.081 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001357/5.014, allocations: 27.88 kB / 1.081 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000123/5.014, allocations: 19.69 kB / 1.081 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1782/5.193, allocations: 47.22 MB / 1.127 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.816e-05/5.193, allocations: 3.375 kB / 1.127 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007184/5.2, allocations: 0.7264 MB / 1.128 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0865/5.286, allocations: 13.3 MB / 1.141 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001818/5.288, allocations: 113.8 kB / 1.141 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1187/5.407, allocations: 51.01 MB / 1.19 GB, free: 73.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002313/5.409, allocations: 2.978 MB / 1.193 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4547/5.864, allocations: 36.45 MB / 1.229 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/5.867, allocations: 0.729 MB / 1.23 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003978/5.871, allocations: 78.31 kB / 1.23 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01394/5.885, allocations: 0.8257 MB / 1.231 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002847/5.888, allocations: 314.3 kB / 1.231 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008684/5.889, allocations: 136 kB / 1.231 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01534/5.904, allocations: 4.824 MB / 1.236 GB, free: 107.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.242e-06/5.904, allocations: 0 / 1.236 GB, free: 107.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01733/5.921, allocations: 2.936 MB / 1.239 GB, free: 107.1 MB / 458.7 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.1502/6.072, allocations: 37.69 MB / 1.275 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.05934/6.131, allocations: 18.92 MB / 1.294 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/6.131, allocations: 3.469 kB / 1.294 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02038/6.151, allocations: 8.531 MB / 1.302 GB, free: 96.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009406/6.161, allocations: 0.8697 MB / 1.303 GB, free: 96.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7018/6.863, allocations: 260.5 MB / 1.557 GB, free: 23.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01565/6.878, allocations: 6.335 MB / 1.564 GB, free: 22.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01137/6.89, allocations: 4.244 MB / 1.568 GB, free: 19.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/6.89, allocations: 0 / 1.568 GB, free: 19.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.988/14.88, allocations: 418.4 MB / 1.976 GB, free: 124.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat