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 1.976/1.976, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.000477, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3016, allocations: 44.49 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.149/0.4507, allocations: 90.04 MB / 398.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3627/0.8134, allocations: 20.06 MB / 418.7 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01873/0.8322, allocations: 462.8 kB / 419.1 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01496/0.8472, allocations: 4.636 MB / 423.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04683/0.8941, allocations: 12.87 MB / 436.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008514/0.9027, allocations: 1.436 MB / 438.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.9155, allocations: 5.592 MB / 443.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0155/0.931, allocations: 7.551 MB / 451.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.9373, allocations: 2.418 MB / 453.6 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007016/0.9443, allocations: 3.109 MB / 456.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.9467, allocations: 299.8 kB / 457 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.9516, allocations: 1.025 MB / 458 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006238/0.9579, allocations: 3.517 MB / 461.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.9616, allocations: 1.707 MB / 463.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.9814, allocations: 11.95 MB / 475.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9815, allocations: 0 / 475.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.9815, allocations: 0 / 475.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000486/0.982, allocations: 0 / 475.2 MB, free: 13.11 MB / 378.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.02812/1.01, allocations: 8.273 MB / 483.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/1.01, allocations: 8.031 kB / 483.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005032/1.015, allocations: 1.37 MB / 484.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/1.052, allocations: 3.858 MB / 488.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/1.079, allocations: 7.307 MB / 496 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009266/1.08, allocations: 480.9 kB / 496.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005998/1.086, allocations: 0.7998 MB / 497.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1198/1.206, allocations: 29.3 MB / 0.5143 GB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004489/1.206, allocations: 117.3 kB / 0.5144 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002161/1.208, allocations: 303.6 kB / 0.5147 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01843/1.227, allocations: 4.146 MB / 0.5187 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1184/1.345, allocations: 30.43 MB / 0.5484 GB, free: 10.29 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7402/2.086, allocations: 103 MB / 0.649 GB, free: 114.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1273/2.213, allocations: 20.05 MB / 0.6686 GB, free: 94.43 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/2.214, allocations: 388.6 kB / 0.6689 GB, free: 94.02 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/2.214, allocations: 79.11 kB / 0.669 GB, free: 93.94 MB / 458.8 MB Notification: Performance of pre-optimization done (n=314): time 1.018e-05/2.214, allocations: 0 / 0.669 GB, free: 93.94 MB / 458.8 MB Notification: Performance of matching and sorting (n=412): time 1.018/3.232, allocations: 124.6 MB / 0.7907 GB, free: 168 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002626/3.235, allocations: 3.151 MB / 0.7938 GB, free: 164.9 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01762/3.252, allocations: 8.287 MB / 0.8019 GB, free: 159.5 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002043/3.255, allocations: 94.84 kB / 0.802 GB, free: 159.4 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005073/3.26, allocations: 5.895 MB / 0.8077 GB, free: 153.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003561/3.263, allocations: 1.572 MB / 0.8093 GB, free: 152 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003059/3.266, allocations: 216.7 kB / 0.8095 GB, free: 151.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000982/3.267, allocations: 0.7692 MB / 0.8102 GB, free: 151 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01992/3.287, allocations: 8.883 MB / 0.8189 GB, free: 142.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02336/3.311, allocations: 15.08 MB / 0.8336 GB, free: 124.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02412/3.335, allocations: 11.12 MB / 0.8445 GB, free: 113.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/3.335, allocations: 64 kB / 0.8446 GB, free: 113.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=1440) (initialization): time 0.1493/3.485, allocations: 37.35 MB / 0.881 GB, free: 75.71 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/3.485, allocations: 105.9 kB / 0.8811 GB, free: 75.61 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06909/3.554, allocations: 17.49 MB / 0.8982 GB, free: 58.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09852/3.652, allocations: 14.57 MB / 0.9124 GB, free: 43.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/3.669, allocations: 2.659 MB / 0.915 GB, free: 40.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4573/4.127, allocations: 58.14 MB / 0.9718 GB, free: 136.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02744/4.154, allocations: 1.253 MB / 0.973 GB, free: 136.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003317/4.157, allocations: 0.6777 MB / 0.9737 GB, free: 135.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 997 * 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 (1270): * Single equations (assignments): 1256 * 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.01253/4.17, allocations: 4.036 MB / 0.9776 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003382/4.173, allocations: 0.6802 MB / 0.9783 GB, free: 132.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05948/4.233, allocations: 11.86 MB / 0.9899 GB, free: 121.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1108/4.344, allocations: 26.63 MB / 1.016 GB, free: 95.24 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001326/4.344, allocations: 34.08 kB / 1.016 GB, free: 95.21 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/4.344, allocations: 19.92 kB / 1.016 GB, free: 95.19 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1701/4.514, allocations: 50.19 MB / 1.065 GB, free: 45.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.574e-05/4.514, allocations: 0 / 1.065 GB, free: 45.27 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008297/4.523, allocations: 0.8307 MB / 1.066 GB, free: 44.44 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07946/4.602, allocations: 12.86 MB / 1.078 GB, free: 31.58 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002802/4.605, allocations: 127.8 kB / 1.078 GB, free: 31.45 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4102/5.015, allocations: 51.8 MB / 1.129 GB, free: 137.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002407/5.018, allocations: 2.968 MB / 1.132 GB, free: 134.4 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1364/5.154, allocations: 38.88 MB / 1.17 GB, free: 96.61 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/5.157, allocations: 0.7457 MB / 1.171 GB, free: 96.21 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003788/5.161, allocations: 80.77 kB / 1.171 GB, free: 96.14 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01304/5.174, allocations: 0.7939 MB / 1.171 GB, free: 95.34 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003174/5.177, allocations: 325 kB / 1.172 GB, free: 95.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001778/5.179, allocations: 147.9 kB / 1.172 GB, free: 94.89 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01258/5.191, allocations: 5.362 MB / 1.177 GB, free: 89.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.42e-07/5.191, allocations: 0 / 1.177 GB, free: 89.57 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01771/5.209, allocations: 3.009 MB / 1.18 GB, free: 86.57 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 (265): * Single equations (assignments): 256 * 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.1451/5.354, allocations: 39.51 MB / 1.219 GB, free: 47.08 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.3588/5.713, allocations: 21.12 MB / 1.239 GB, free: 158.2 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/5.713, allocations: 0.8438 kB / 1.239 GB, free: 158.2 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.05917/5.772, allocations: 9.591 MB / 1.249 GB, free: 157.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/5.783, allocations: 0.8678 MB / 1.25 GB, free: 157.3 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3762/6.16, allocations: 116.8 MB / 1.364 GB, free: 55.23 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01447/6.174, allocations: 6.324 MB / 1.37 GB, free: 48.87 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0172/6.191, allocations: 3.56 MB / 1.373 GB, free: 45.3 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01106/6.202, allocations: 4.17 MB / 1.377 GB, free: 41.13 MB / 458.8 MB Notification: Performance of SimCode: time 1.803e-06/6.203, allocations: 0 / 1.377 GB, free: 41.13 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/7.268, allocations: 239.7 MB / 1.611 GB, free: 128.6 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/7.268, allocations: 236.7 kB / 1.612 GB, free: 128.4 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/17.43, allocations: 0 / 1.612 GB, free: 128.4 MB / 458.8 MB