Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.349/2.349, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 11.98 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 54.86 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.5726, allocations: 95.36 MB / 465.2 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.573, allocations: 83.95 kB / 465.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7151/1.288, allocations: 103.9 MB / 0.5558 GB, free: 16 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.288, allocations: 0 / 0.5558 GB, free: 16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000397/1.289, allocations: 92 kB / 0.5558 GB, free: 15.91 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.05537/1.344, allocations: 6.895 MB / 0.5626 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.344, allocations: 12.03 kB / 0.5626 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0556/1.4, allocations: 7.345 MB / 0.5698 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07593/1.476, allocations: 18.26 MB / 0.5876 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005279/1.476, allocations: 312.1 kB / 0.5879 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/1.479, allocations: 435.6 kB / 0.5883 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/1.516, allocations: 10.64 MB / 0.5987 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004458/1.517, allocations: 79.3 kB / 0.5988 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/1.519, allocations: 211.8 kB / 0.599 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/1.522, allocations: 1.049 MB / 0.6 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/1.554, allocations: 9.265 MB / 0.609 GB, free: 8.109 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.4759/2.03, allocations: 51.21 MB / 0.6591 GB, free: 73.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/2.043, allocations: 3.841 MB / 0.6628 GB, free: 72.67 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/2.044, allocations: 20.78 kB / 0.6628 GB, free: 72.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/2.044, allocations: 56.64 kB / 0.6629 GB, free: 72.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 6.142e-06/2.044, allocations: 7.188 kB / 0.6629 GB, free: 72.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.08889/2.133, allocations: 22.7 MB / 0.6851 GB, free: 65.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004901/2.138, allocations: 6.231 MB / 0.6911 GB, free: 59.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/2.15, allocations: 5.091 MB / 0.6961 GB, free: 59.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007575/2.151, allocations: 59.84 kB / 0.6962 GB, free: 59.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003473/2.155, allocations: 3.337 MB / 0.6994 GB, free: 57.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001832/2.157, allocations: 0.9137 MB / 0.7003 GB, free: 57.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/2.158, allocations: 140.6 kB / 0.7005 GB, free: 57.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006246/2.159, allocations: 0.6166 MB / 0.7011 GB, free: 56.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008342/2.167, allocations: 3.121 MB / 0.7041 GB, free: 56.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/2.178, allocations: 7.454 MB / 0.7114 GB, free: 51.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/2.189, allocations: 4.67 MB / 0.7159 GB, free: 50.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002251/2.19, allocations: 43.31 kB / 0.716 GB, free: 50.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.08515/2.275, allocations: 15.6 MB / 0.7312 GB, free: 46.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/2.275, allocations: 74.53 kB / 0.7313 GB, free: 46.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06515/2.34, allocations: 9.003 MB / 0.7401 GB, free: 44.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07106/2.411, allocations: 6.728 MB / 0.7467 GB, free: 40.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/2.422, allocations: 1.697 MB / 0.7483 GB, free: 38.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03899/2.461, allocations: 16.54 MB / 0.7645 GB, free: 23.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/2.474, allocations: 0.7888 MB / 0.7652 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.476, allocations: 452.8 kB / 0.7657 GB, free: 22.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 845 * 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.007546/2.484, allocations: 2.348 MB / 0.768 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/2.485, allocations: 450.2 kB / 0.7684 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/2.487, allocations: 0.6142 MB / 0.769 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02727/2.515, allocations: 6.008 MB / 0.7749 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-05/2.515, allocations: 8 kB / 0.7749 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/2.515, allocations: 11.97 kB / 0.7749 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03342/2.548, allocations: 10.44 MB / 0.7851 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/2.548, allocations: 7.812 kB / 0.7851 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/2.553, allocations: 450 kB / 0.7855 GB, free: 2.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0244/2.577, allocations: 3.603 MB / 0.789 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008622/2.578, allocations: 83.91 kB / 0.7891 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/2.604, allocations: 13.91 MB / 0.8027 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006274/2.61, allocations: 5.917 MB / 0.8085 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03897/2.649, allocations: 10.29 MB / 0.8185 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/2.652, allocations: 0.5303 MB / 0.819 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/2.654, allocations: 70.97 kB / 0.8191 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006759/2.661, allocations: 344.9 kB / 0.8194 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.662, allocations: 179.6 kB / 0.8196 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/2.662, allocations: 73.19 kB / 0.8197 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01014/2.673, allocations: 3.225 MB / 0.8228 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/2.673, allocations: 0 / 0.8228 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01129/2.684, allocations: 1.633 MB / 0.8244 GB, free: 9.039 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.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],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.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],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked 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.00164/2.686, allocations: 218.3 kB / 0.8246 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03468/2.72, allocations: 9.306 MB / 0.8337 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.72, allocations: 0 / 0.8337 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02501/2.745, allocations: 4.685 MB / 0.8383 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007923/2.753, allocations: 0.626 MB / 0.8389 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3868/3.14, allocations: 16.63 MB / 0.8551 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009409/3.15, allocations: 3.792 MB / 0.8588 GB, free: 151 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/3.152, allocations: 371.4 kB / 0.8592 GB, free: 151 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/3.152, allocations: 0 / 0.8592 GB, free: 151 MB / 0.5261 GB Notification: Performance of Templates: time 0.9481/4.1, allocations: 338.1 MB / 1.189 GB, free: 44.22 MB / 0.5261 GB