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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.282/2.282, allocations: 234.9 MB / 250.5 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 12 kB / 314.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.4415, allocations: 95.37 MB / 464.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4417, allocations: 79.89 kB / 464.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6755/1.117, allocations: 102.4 MB / 0.5538 GB, free: 80.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.562e-06/1.117, allocations: 0 / 0.5538 GB, free: 80.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003194/1.118, allocations: 91.94 kB / 0.5539 GB, free: 80.07 MB / 426.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.03766/1.155, allocations: 6.895 MB / 0.5606 GB, free: 73.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.155, allocations: 8.031 kB / 0.5606 GB, free: 73.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03894/1.194, allocations: 7.353 MB / 0.5678 GB, free: 65.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05287/1.247, allocations: 18.27 MB / 0.5856 GB, free: 47.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.248, allocations: 312.6 kB / 0.5859 GB, free: 47.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/1.25, allocations: 451.4 kB / 0.5864 GB, free: 46.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/1.273, allocations: 10.6 MB / 0.5967 GB, free: 34.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/1.273, allocations: 83.23 kB / 0.5968 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/1.275, allocations: 203.9 kB / 0.597 GB, free: 34.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/1.276, allocations: 1.05 MB / 0.598 GB, free: 33.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/1.297, allocations: 9.261 MB / 0.6071 GB, free: 24.28 MB / 426.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.07048/1.368, allocations: 51.22 MB / 0.6571 GB, free: 3.414 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/1.379, allocations: 3.853 MB / 0.6608 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/1.38, allocations: 28.14 kB / 0.6609 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/1.38, allocations: 59.73 kB / 0.6609 GB, free: 15.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 6.52e-06/1.38, allocations: 0 / 0.6609 GB, free: 15.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.3473/1.727, allocations: 22.71 MB / 0.6831 GB, free: 118.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004029/1.731, allocations: 6.223 MB / 0.6892 GB, free: 113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009739/1.741, allocations: 4.53 MB / 0.6936 GB, free: 112.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005323/1.742, allocations: 58.03 kB / 0.6936 GB, free: 112.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002703/1.744, allocations: 3.343 MB / 0.6969 GB, free: 110.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.746, allocations: 0.9074 MB / 0.6978 GB, free: 110.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/1.746, allocations: 138.5 kB / 0.6979 GB, free: 110.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004588/1.747, allocations: 0.6202 MB / 0.6985 GB, free: 110.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/1.753, allocations: 3.124 MB / 0.7016 GB, free: 110.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008664/1.762, allocations: 7.43 MB / 0.7088 GB, free: 104.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008736/1.771, allocations: 4.66 MB / 0.7134 GB, free: 103.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.771, allocations: 44.22 kB / 0.7134 GB, free: 103.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.05483/1.826, allocations: 15.6 MB / 0.7287 GB, free: 99.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.826, allocations: 69.28 kB / 0.7287 GB, free: 99.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03841/1.864, allocations: 9 MB / 0.7375 GB, free: 97.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04832/1.913, allocations: 6.733 MB / 0.7441 GB, free: 96.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/1.924, allocations: 1.689 MB / 0.7458 GB, free: 94.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04609/1.97, allocations: 16.55 MB / 0.7619 GB, free: 79.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01596/1.986, allocations: 0.7899 MB / 0.7627 GB, free: 78.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002639/1.989, allocations: 451.9 kB / 0.7631 GB, free: 78.45 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.009364/1.998, allocations: 2.334 MB / 0.7654 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/2.001, allocations: 460.4 kB / 0.7658 GB, free: 75.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/2.003, allocations: 0.6142 MB / 0.7664 GB, free: 75.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02367/2.027, allocations: 6.01 MB / 0.7723 GB, free: 68.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/2.027, allocations: 8 kB / 0.7723 GB, free: 68.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/2.027, allocations: 7.969 kB / 0.7723 GB, free: 68.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/2.053, allocations: 10.45 MB / 0.7825 GB, free: 58.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/2.053, allocations: 4 kB / 0.7825 GB, free: 58.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/2.056, allocations: 447.3 kB / 0.783 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/2.071, allocations: 3.592 MB / 0.7865 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006565/2.072, allocations: 95.41 kB / 0.7866 GB, free: 54.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/2.088, allocations: 13.9 MB / 0.8001 GB, free: 39.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003714/2.092, allocations: 5.906 MB / 0.8059 GB, free: 33.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.116, allocations: 10.71 MB / 0.8164 GB, free: 22.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/2.118, allocations: 0.5342 MB / 0.8169 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001815/2.12, allocations: 71.97 kB / 0.8169 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004641/2.124, allocations: 335.4 kB / 0.8173 GB, free: 21.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008379/2.125, allocations: 193.5 kB / 0.8175 GB, free: 21.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002996/2.125, allocations: 71.94 kB / 0.8175 GB, free: 21.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007566/2.133, allocations: 3.225 MB / 0.8207 GB, free: 17.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.65e-07/2.133, allocations: 0 / 0.8207 GB, free: 17.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009463/2.143, allocations: 1.62 MB / 0.8223 GB, free: 16.2 MB / 474.7 MB 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.0008415/2.143, allocations: 228 kB / 0.8225 GB, free: 15.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01876/2.162, allocations: 9.297 MB / 0.8315 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.286e-06/2.162, allocations: 0 / 0.8315 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009664/2.172, allocations: 4.683 MB / 0.8361 GB, free: 1.539 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/2.177, allocations: 0.6223 MB / 0.8367 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/2.211, allocations: 16.6 MB / 0.8529 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2904/2.502, allocations: 3.79 MB / 0.8566 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/2.504, allocations: 375.7 kB / 0.857 GB, free: 122.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.924e-06/2.504, allocations: 0 / 0.857 GB, free: 122.5 MB / 490.7 MB Notification: Performance of Templates: time 0.6952/3.199, allocations: 338.1 MB / 1.187 GB, free: 40.84 MB / 0.5105 GB