Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.851e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4135, allocations: 87.92 MB / 407.9 MB, free: 8.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.4138, allocations: 75.95 kB / 408 MB, free: 8.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.581/0.9949, allocations: 100.6 MB / 0.4967 GB, free: 64.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.906e-06/0.9949, allocations: 0 / 0.4967 GB, free: 64.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002848/0.9952, allocations: 87.91 kB / 0.4968 GB, free: 63.94 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.03384/1.029, allocations: 6.375 MB / 0.503 GB, free: 57.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/1.029, allocations: 8.031 kB / 0.503 GB, free: 57.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03751/1.067, allocations: 7.31 MB / 0.5101 GB, free: 50.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05084/1.118, allocations: 18.18 MB / 0.5279 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/1.118, allocations: 132 kB / 0.528 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/1.12, allocations: 275.7 kB / 0.5283 GB, free: 31.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01249/1.132, allocations: 6.193 MB / 0.5343 GB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/1.151, allocations: 9.531 MB / 0.5436 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/1.151, allocations: 87.28 kB / 0.5437 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/1.152, allocations: 32 kB / 0.5437 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/1.154, allocations: 1.054 MB / 0.5448 GB, free: 13.72 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3383/1.492, allocations: 49.23 MB / 0.5929 GB, free: 63.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005459/1.498, allocations: 3.188 MB / 0.596 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/1.501, allocations: 1.9 MB / 0.5978 GB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/1.501, allocations: 31.28 kB / 0.5979 GB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.501, allocations: 59.61 kB / 0.5979 GB, free: 62.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 7.187e-06/1.501, allocations: 2.203 kB / 0.5979 GB, free: 62.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=216): time 0.04786/1.549, allocations: 18.82 MB / 0.6163 GB, free: 56.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/1.549, allocations: 330.3 kB / 0.6166 GB, free: 56.54 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007832/1.557, allocations: 4 MB / 0.6205 GB, free: 56.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000486/1.558, allocations: 29.64 kB / 0.6205 GB, free: 56.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/1.56, allocations: 3.422 MB / 0.6239 GB, free: 54.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.561, allocations: 0.895 MB / 0.6248 GB, free: 53.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/1.562, allocations: 3.406 kB / 0.6248 GB, free: 53.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004919/1.563, allocations: 0.6218 MB / 0.6254 GB, free: 53.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/1.568, allocations: 2.864 MB / 0.6282 GB, free: 53.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007701/1.576, allocations: 7.26 MB / 0.6352 GB, free: 46.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/1.584, allocations: 4.451 MB / 0.6396 GB, free: 45.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/1.584, allocations: 48.75 kB / 0.6396 GB, free: 45.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.03217/1.616, allocations: 11.83 MB / 0.6512 GB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.616, allocations: 69.97 kB / 0.6513 GB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01664/1.633, allocations: 6.06 MB / 0.6572 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01456/1.648, allocations: 3.428 MB / 0.6605 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006425/1.654, allocations: 1.728 MB / 0.6622 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.666, allocations: 11.29 MB / 0.6732 GB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00931/1.675, allocations: 0.6444 MB / 0.6739 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.677, allocations: 470.7 kB / 0.6743 GB, free: 22.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 718 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 869 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001721/1.679, allocations: 0.4995 MB / 0.6748 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.68, allocations: 432.6 kB / 0.6752 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.681, allocations: 0.5664 MB / 0.6758 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01696/1.698, allocations: 5.883 MB / 0.6815 GB, free: 16.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/1.698, allocations: 8 kB / 0.6815 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.237e-05/1.698, allocations: 14.41 kB / 0.6815 GB, free: 16.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/1.721, allocations: 9.842 MB / 0.6911 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/1.721, allocations: 4 kB / 0.6912 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.724, allocations: 447.3 kB / 0.6916 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01493/1.739, allocations: 3.541 MB / 0.695 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006048/1.74, allocations: 63.91 kB / 0.6951 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/1.758, allocations: 13.39 MB / 0.7082 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005407/1.764, allocations: 5.623 MB / 0.7137 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02703/1.791, allocations: 10.45 MB / 0.7239 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.794, allocations: 0.8819 MB / 0.7247 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.795, allocations: 39.11 kB / 0.7248 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004639/1.8, allocations: 315.4 kB / 0.7251 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/1.801, allocations: 179.6 kB / 0.7252 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004308/1.801, allocations: 75.94 kB / 0.7253 GB, free: 4.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007346/1.808, allocations: 2.707 MB / 0.7279 GB, free: 1.668 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.205e-06/1.808, allocations: 0 / 0.7279 GB, free: 1.668 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01008/1.819, allocations: 1.499 MB / 0.7294 GB, free: 176 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009245/1.82, allocations: 191.2 kB / 0.7296 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02014/1.84, allocations: 8.665 MB / 0.7381 GB, free: 7.125 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.84, allocations: 4 kB / 0.7381 GB, free: 7.121 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01138/1.851, allocations: 4.555 MB / 0.7425 GB, free: 2.328 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004593/1.856, allocations: 0.5547 MB / 0.743 GB, free: 1.785 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/1.885, allocations: 12.7 MB / 0.7555 GB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/1.894, allocations: 3.798 MB / 0.7592 GB, free: 1.406 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.896, allocations: 355.3 kB / 0.7595 GB, free: 1.059 MB / 474.7 MB Notification: Performance of SimCode: time 2.812e-06/1.896, allocations: 0 / 0.7595 GB, free: 1.059 MB / 474.7 MB Notification: Performance of Templates: time 0.9173/2.813, allocations: 333.1 MB / 1.085 GB, free: 17.57 MB / 474.7 MB