Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.392e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4313, allocations: 94.62 MB / 452.7 MB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4316, allocations: 71.97 kB / 452.7 MB, free: 108 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5933/1.025, allocations: 100.8 MB / 0.5405 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.096e-06/1.025, allocations: 0 / 0.5405 GB, free: 15.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002433/1.025, allocations: 91.44 kB / 0.5406 GB, free: 15.1 MB / 394.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.03244/1.058, allocations: 6.375 MB / 0.5469 GB, free: 8.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.058, allocations: 8.031 kB / 0.5469 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03793/1.096, allocations: 7.361 MB / 0.5541 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05724/1.153, allocations: 18.23 MB / 0.5719 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/1.153, allocations: 140 kB / 0.572 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/1.155, allocations: 275.7 kB / 0.5723 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01426/1.169, allocations: 6.196 MB / 0.5783 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/1.19, allocations: 9.53 MB / 0.5876 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002857/1.19, allocations: 87.28 kB / 0.5877 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007438/1.191, allocations: 32 kB / 0.5877 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/1.193, allocations: 1.053 MB / 0.5888 GB, free: 12.82 MB / 442.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.3748/1.568, allocations: 49.28 MB / 0.6369 GB, free: 82.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/1.573, allocations: 3.179 MB / 0.64 GB, free: 81.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/1.577, allocations: 1.915 MB / 0.6419 GB, free: 81.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/1.577, allocations: 22.16 kB / 0.6419 GB, free: 81.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.577, allocations: 57.7 kB / 0.6419 GB, free: 81.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 7.403e-06/1.577, allocations: 0.9375 kB / 0.6419 GB, free: 81.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.04999/1.627, allocations: 18.82 MB / 0.6603 GB, free: 75.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/1.627, allocations: 332.3 kB / 0.6606 GB, free: 75.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007435/1.634, allocations: 3.975 MB / 0.6645 GB, free: 75.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000485/1.635, allocations: 29.17 kB / 0.6645 GB, free: 75.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.637, allocations: 3.423 MB / 0.6679 GB, free: 73.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.639, allocations: 0.8867 MB / 0.6687 GB, free: 73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006661/1.639, allocations: 2.688 kB / 0.6687 GB, free: 73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004656/1.64, allocations: 0.6303 MB / 0.6694 GB, free: 72.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005572/1.645, allocations: 2.907 MB / 0.6722 GB, free: 72.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008564/1.654, allocations: 7.321 MB / 0.6793 GB, free: 66.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008119/1.662, allocations: 4.512 MB / 0.6838 GB, free: 66.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.662, allocations: 46.66 kB / 0.6838 GB, free: 66.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.05344/1.716, allocations: 14.57 MB / 0.698 GB, free: 64.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.716, allocations: 69.16 kB / 0.6981 GB, free: 64.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03834/1.754, allocations: 8.808 MB / 0.7067 GB, free: 62.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04017/1.795, allocations: 6.673 MB / 0.7132 GB, free: 58.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00663/1.801, allocations: 1.733 MB / 0.7149 GB, free: 57.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/1.825, allocations: 15.22 MB / 0.7298 GB, free: 43.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009639/1.835, allocations: 0.6498 MB / 0.7304 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.837, allocations: 467.5 kB / 0.7308 GB, free: 42.61 MB / 474.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): 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.001649/1.839, allocations: 0.4923 MB / 0.7313 GB, free: 42.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.84, allocations: 434.5 kB / 0.7317 GB, free: 41.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/1.841, allocations: 0.5698 MB / 0.7323 GB, free: 41.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01684/1.858, allocations: 5.876 MB / 0.738 GB, free: 36.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-05/1.858, allocations: 8 kB / 0.738 GB, free: 36.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.042e-05/1.858, allocations: 11.02 kB / 0.7381 GB, free: 36.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.882, allocations: 9.849 MB / 0.7477 GB, free: 27.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/1.882, allocations: 7.938 kB / 0.7477 GB, free: 27.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.885, allocations: 439.4 kB / 0.7481 GB, free: 26.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/1.9, allocations: 3.531 MB / 0.7515 GB, free: 23.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006206/1.9, allocations: 71.75 kB / 0.7516 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/1.916, allocations: 13.39 MB / 0.7647 GB, free: 9.199 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003526/1.92, allocations: 5.617 MB / 0.7702 GB, free: 3.113 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02583/1.946, allocations: 10.45 MB / 0.7804 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.947, allocations: 0.4955 MB / 0.7809 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.949, allocations: 55.22 kB / 0.7809 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004711/1.953, allocations: 307.4 kB / 0.7812 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009401/1.954, allocations: 183.6 kB / 0.7814 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004557/1.955, allocations: 71.94 kB / 0.7815 GB, free: 7.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007338/1.962, allocations: 2.706 MB / 0.7841 GB, free: 4.668 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.347e-06/1.962, allocations: 0 / 0.7841 GB, free: 4.668 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01039/1.973, allocations: 1.543 MB / 0.7856 GB, free: 3.129 MB / 490.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.0008578/1.974, allocations: 192 kB / 0.7858 GB, free: 2.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02021/1.994, allocations: 8.801 MB / 0.7944 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.994, allocations: 4 kB / 0.7944 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/2.005, allocations: 4.556 MB / 0.7988 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/2.009, allocations: 0.5534 MB / 0.7994 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/2.039, allocations: 12.71 MB / 0.8118 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008878/2.048, allocations: 3.786 MB / 0.8155 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/2.049, allocations: 359.3 kB / 0.8158 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of SimCode: time 1.982e-06/2.049, allocations: 0 / 0.8158 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of Templates: time 0.9945/3.044, allocations: 335.5 MB / 1.143 GB, free: 83.39 MB / 0.5261 GB