Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.000594, allocations: 8 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3486, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.5316, allocations: 99.54 MB / 469.3 MB, free: 7.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.5319, allocations: 79.97 kB / 469.4 MB, free: 6.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7648/1.297, allocations: 82.55 MB / 0.539 GB, free: 33.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.018e-06/1.297, allocations: 0 / 0.539 GB, free: 33.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003273/1.297, allocations: 87.94 kB / 0.5391 GB, free: 33.35 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.02002/1.317, allocations: 4.172 MB / 0.5432 GB, free: 29.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.317, allocations: 8.031 kB / 0.5432 GB, free: 29.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/1.336, allocations: 2.334 MB / 0.5455 GB, free: 26.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01941/1.355, allocations: 5.231 MB / 0.5506 GB, free: 21.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/1.356, allocations: 320.3 kB / 0.5509 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.359, allocations: 419.8 kB / 0.5513 GB, free: 20.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/1.389, allocations: 10.42 MB / 0.5615 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002963/1.389, allocations: 59.41 kB / 0.5615 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.39, allocations: 211.9 kB / 0.5617 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/1.392, allocations: 0.9984 MB / 0.5627 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/1.417, allocations: 8.441 MB / 0.571 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08007/1.497, allocations: 48.29 MB / 0.6181 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.513, allocations: 3.562 MB / 0.6216 GB, free: 9.855 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/1.531, allocations: 6.997 MB / 0.6284 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/1.531, allocations: 51.5 kB / 0.6285 GB, free: 2.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 6.382e-06/1.531, allocations: 0 / 0.6285 GB, free: 2.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.0658/1.597, allocations: 14.26 MB / 0.6424 GB, free: 4.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001932/1.599, allocations: 1.596 MB / 0.644 GB, free: 2.273 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3388/1.938, allocations: 3.901 MB / 0.6478 GB, free: 119.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004504/1.938, allocations: 50.83 kB / 0.6478 GB, free: 119.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003269/1.942, allocations: 3.072 MB / 0.6508 GB, free: 118.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.943, allocations: 0.6354 MB / 0.6514 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008596/1.944, allocations: 118.2 kB / 0.6516 GB, free: 117.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005737/1.944, allocations: 0.5641 MB / 0.6521 GB, free: 117.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/1.95, allocations: 2.002 MB / 0.6541 GB, free: 117.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008542/1.959, allocations: 5.809 MB / 0.6597 GB, free: 112.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007918/1.967, allocations: 3.321 MB / 0.663 GB, free: 112.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/1.967, allocations: 39.66 kB / 0.663 GB, free: 112.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02467/1.992, allocations: 8.216 MB / 0.671 GB, free: 112 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.992, allocations: 62.38 kB / 0.6711 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00921/2.001, allocations: 2.538 MB / 0.6736 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009755/2.011, allocations: 1.138 MB / 0.6747 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008663/2.02, allocations: 1.391 MB / 0.676 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/2.027, allocations: 4.741 MB / 0.6807 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007239/2.035, allocations: 387.3 kB / 0.681 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/2.036, allocations: 382.1 kB / 0.6814 GB, free: 109 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (747): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006404/2.043, allocations: 2.067 MB / 0.6834 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/2.044, allocations: 337.3 kB / 0.6837 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/2.055, allocations: 2.944 MB / 0.6866 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008627/2.063, allocations: 2.471 MB / 0.689 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/2.064, allocations: 3.625 kB / 0.689 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.925e-05/2.064, allocations: 3.422 kB / 0.689 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02922/2.093, allocations: 9.219 MB / 0.698 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/2.093, allocations: 3.219 kB / 0.698 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/2.095, allocations: 252.8 kB / 0.6983 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005311/2.101, allocations: 1.014 MB / 0.6993 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/2.101, allocations: 39.91 kB / 0.6993 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008605/2.11, allocations: 4.929 MB / 0.7041 GB, free: 99.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001259/2.111, allocations: 1.466 MB / 0.7056 GB, free: 97.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/2.125, allocations: 5.216 MB / 0.7107 GB, free: 95.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/2.127, allocations: 405.8 kB / 0.711 GB, free: 95.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/2.129, allocations: 31.27 kB / 0.7111 GB, free: 95.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/2.132, allocations: 131.1 kB / 0.7112 GB, free: 95.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/2.133, allocations: 102.9 kB / 0.7113 GB, free: 95.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/2.133, allocations: 53.5 kB / 0.7113 GB, free: 95.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006328/2.14, allocations: 2.405 MB / 0.7137 GB, free: 93.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.52e-07/2.14, allocations: 0 / 0.7137 GB, free: 93.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007362/2.147, allocations: 1.007 MB / 0.7147 GB, free: 92.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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]) * 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 (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000846/2.148, allocations: 185.9 kB / 0.7149 GB, free: 92.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01574/2.164, allocations: 5.428 MB / 0.7202 GB, free: 87.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.164, allocations: 0 / 0.7202 GB, free: 87.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/2.171, allocations: 2.124 MB / 0.7222 GB, free: 85.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004067/2.175, allocations: 406.9 kB / 0.7226 GB, free: 85.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/2.201, allocations: 11.52 MB / 0.7339 GB, free: 75.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006433/2.208, allocations: 3.295 MB / 0.7371 GB, free: 72.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.209, allocations: 286.6 kB / 0.7374 GB, free: 72.39 MB / 474.7 MB Notification: Performance of SimCode: time 2.404e-06/2.209, allocations: 0 / 0.7374 GB, free: 72.39 MB / 474.7 MB Notification: Performance of Templates: time 0.5538/2.763, allocations: 122.8 MB / 0.8572 GB, free: 122.5 MB / 490.7 MB