Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.2 MB / 225.4 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004415, allocations: 15.98 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4073, allocations: 48.69 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.5974, allocations: 92.82 MB / 424.6 MB, free: 1.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5978, allocations: 75.97 kB / 424.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6219/1.22, allocations: 82.38 MB / 0.4952 GB, free: 91.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.22, allocations: 0 / 0.4952 GB, free: 91.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003297/1.22, allocations: 85.81 kB / 0.4953 GB, free: 91.81 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.0159/1.236, allocations: 4.162 MB / 0.4993 GB, free: 89.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.236, allocations: 17.42 kB / 0.4994 GB, free: 89.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/1.254, allocations: 2.326 MB / 0.5016 GB, free: 89.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/1.272, allocations: 5.201 MB / 0.5067 GB, free: 86.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/1.273, allocations: 320.4 kB / 0.507 GB, free: 86.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/1.275, allocations: 426.5 kB / 0.5074 GB, free: 86.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/1.305, allocations: 10.42 MB / 0.5176 GB, free: 77.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/1.305, allocations: 67.41 kB / 0.5177 GB, free: 77.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001857/1.307, allocations: 201.7 kB / 0.5178 GB, free: 77.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/1.309, allocations: 1.001 MB / 0.5188 GB, free: 76.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/1.334, allocations: 8.436 MB / 0.5271 GB, free: 68.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08118/1.415, allocations: 48.3 MB / 0.5742 GB, free: 18.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.436, allocations: 3.58 MB / 0.5777 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/1.457, allocations: 6.976 MB / 0.5845 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/1.457, allocations: 47.56 kB / 0.5846 GB, free: 7.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 7.043e-06/1.457, allocations: 0 / 0.5846 GB, free: 7.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.0735/1.531, allocations: 14.28 MB / 0.5985 GB, free: 8.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001904/1.533, allocations: 1.6 MB / 0.6001 GB, free: 7.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.544, allocations: 3.898 MB / 0.6039 GB, free: 3.344 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000522/1.544, allocations: 45.7 kB / 0.6039 GB, free: 3.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003896/1.548, allocations: 3.073 MB / 0.6069 GB, free: 228 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.55, allocations: 0.6395 MB / 0.6076 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/1.551, allocations: 116 kB / 0.6077 GB, free: 15.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007669/1.552, allocations: 0.5629 MB / 0.6082 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006602/1.558, allocations: 2.003 MB / 0.6102 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.569, allocations: 5.804 MB / 0.6159 GB, free: 5.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009417/1.579, allocations: 3.323 MB / 0.6191 GB, free: 1.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001808/1.579, allocations: 40 kB / 0.6191 GB, free: 1.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.3552/1.934, allocations: 8.104 MB / 0.6271 GB, free: 107.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.934, allocations: 62.97 kB / 0.6271 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00872/1.943, allocations: 2.45 MB / 0.6295 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005669/1.949, allocations: 1.064 MB / 0.6305 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008814/1.958, allocations: 1.395 MB / 0.6319 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/1.964, allocations: 4.352 MB / 0.6362 GB, free: 105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/1.971, allocations: 392.2 kB / 0.6365 GB, free: 105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.972, allocations: 377.8 kB / 0.6369 GB, free: 105 MB / 426.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 (750): * Single equations (assignments): 741 * 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 {1} * 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.004884/1.977, allocations: 2.066 MB / 0.6389 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007892/1.978, allocations: 341 kB / 0.6392 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009437/1.987, allocations: 2.946 MB / 0.6421 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01137/1.999, allocations: 2.471 MB / 0.6445 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/1.999, allocations: 3.156 kB / 0.6445 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/1.999, allocations: 7.5 kB / 0.6445 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/2.027, allocations: 9.21 MB / 0.6535 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/2.027, allocations: 3.406 kB / 0.6535 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/2.03, allocations: 249.2 kB / 0.6538 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/2.035, allocations: 1.021 MB / 0.6548 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/2.035, allocations: 41.41 kB / 0.6548 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008213/2.043, allocations: 4.924 MB / 0.6596 GB, free: 96.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001132/2.045, allocations: 1.475 MB / 0.6611 GB, free: 95.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/2.058, allocations: 5.218 MB / 0.6661 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/2.059, allocations: 398.9 kB / 0.6665 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000897/2.06, allocations: 33.28 kB / 0.6666 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/2.063, allocations: 127.3 kB / 0.6667 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/2.063, allocations: 107.8 kB / 0.6668 GB, free: 93.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/2.063, allocations: 50.84 kB / 0.6668 GB, free: 93.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005442/2.069, allocations: 2.402 MB / 0.6692 GB, free: 92.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.069, allocations: 1.594 kB / 0.6692 GB, free: 92.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007365/2.076, allocations: 1.01 MB / 0.6702 GB, free: 92.31 MB / 426.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.0007548/2.077, allocations: 170.5 kB / 0.6703 GB, free: 92.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01458/2.092, allocations: 5.325 MB / 0.6755 GB, free: 90.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.092, allocations: 0 / 0.6755 GB, free: 90.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006866/2.099, allocations: 2.124 MB / 0.6776 GB, free: 89.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/2.102, allocations: 412.8 kB / 0.678 GB, free: 88.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/2.129, allocations: 11.52 MB / 0.6892 GB, free: 78.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007124/2.136, allocations: 3.283 MB / 0.6924 GB, free: 75.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/2.138, allocations: 291.4 kB / 0.6927 GB, free: 75.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/2.138, allocations: 0 / 0.6927 GB, free: 75.68 MB / 426.7 MB Notification: Performance of Templates: time 0.603/2.741, allocations: 122.5 MB / 0.8124 GB, free: 115.7 MB / 442.7 MB