Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,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.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.444e-05/4.466e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.469, allocations: 89.2 MB / 415.7 MB, free: 2.492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4692, allocations: 70.41 kB / 415.8 MB, free: 2.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3214/0.7906, allocations: 86.43 MB / 0.4905 GB, free: 2.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.7907, allocations: 0 / 0.4905 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001859/0.7909, allocations: 87.92 kB / 0.4906 GB, free: 2.82 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01156/0.8025, allocations: 3.678 MB / 0.4941 GB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8025, allocations: 12.03 kB / 0.4942 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02053/0.8231, allocations: 3.648 MB / 0.4977 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.8387, allocations: 4.913 MB / 0.5025 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/0.8391, allocations: 291.6 kB / 0.5028 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/0.8412, allocations: 399.7 kB / 0.5032 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.8689, allocations: 10.26 MB / 0.5132 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.8691, allocations: 27.81 kB / 0.5132 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/0.8709, allocations: 183.8 kB / 0.5134 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.8733, allocations: 1.188 MB / 0.5146 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2576/1.131, allocations: 9.999 MB / 0.5243 GB, free: 96.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06198/1.193, allocations: 36.46 MB / 0.5599 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009737/1.203, allocations: 4.367 MB / 0.5642 GB, free: 80.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/1.207, allocations: 2.159 MB / 0.5663 GB, free: 80.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.208, allocations: 1.321 MB / 0.5676 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.208, allocations: 62.92 kB / 0.5677 GB, free: 79.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 7.082e-06/1.208, allocations: 0 / 0.5677 GB, free: 79.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.04421/1.252, allocations: 14.3 MB / 0.5816 GB, free: 75.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001112/1.253, allocations: 1.523 MB / 0.5831 GB, free: 73.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/1.258, allocations: 2.446 MB / 0.5855 GB, free: 72.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00042/1.258, allocations: 64.08 kB / 0.5855 GB, free: 72.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.259, allocations: 2.719 MB / 0.5882 GB, free: 70.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.26, allocations: 0.9532 MB / 0.5891 GB, free: 70 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.261, allocations: 114.2 kB / 0.5892 GB, free: 69.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00034/1.261, allocations: 0.5529 MB / 0.5898 GB, free: 69.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/1.265, allocations: 2.364 MB / 0.5921 GB, free: 68.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/1.271, allocations: 5.375 MB / 0.5973 GB, free: 64.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006578/1.278, allocations: 3.611 MB / 0.6009 GB, free: 63.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.641e-05/1.278, allocations: 32.72 kB / 0.6009 GB, free: 63.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0204/1.299, allocations: 8.622 MB / 0.6093 GB, free: 60.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/1.299, allocations: 48.66 kB / 0.6094 GB, free: 60.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0098/1.309, allocations: 3.869 MB / 0.6131 GB, free: 58.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005085/1.314, allocations: 1.243 MB / 0.6144 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/1.319, allocations: 1.282 MB / 0.6156 GB, free: 56.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/1.324, allocations: 4.107 MB / 0.6196 GB, free: 52.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.329, allocations: 396 kB / 0.62 GB, free: 52.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009493/1.33, allocations: 325.9 kB / 0.6203 GB, free: 52.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001033/1.331, allocations: 0.5078 MB / 0.6208 GB, free: 51.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/1.331, allocations: 284.3 kB / 0.6211 GB, free: 51.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.344, allocations: 5.332 MB / 0.6263 GB, free: 46.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01065/1.355, allocations: 4.6 MB / 0.6308 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.355, allocations: 0 / 0.6308 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/1.355, allocations: 14.45 kB / 0.6308 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02965/1.384, allocations: 14.59 MB / 0.645 GB, free: 31.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.385, allocations: 12 kB / 0.6451 GB, free: 31.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.387, allocations: 430.7 kB / 0.6455 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005282/1.392, allocations: 1.181 MB / 0.6466 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005191/1.393, allocations: 63.97 kB / 0.6467 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005117/1.398, allocations: 4.441 MB / 0.651 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008982/1.399, allocations: 1.485 MB / 0.6525 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/1.414, allocations: 8.774 MB / 0.661 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/1.415, allocations: 333.5 kB / 0.6614 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006384/1.416, allocations: 59.94 kB / 0.6614 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.418, allocations: 195.5 kB / 0.6616 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/1.418, allocations: 169.6 kB / 0.6618 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/1.418, allocations: 79.97 kB / 0.6618 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002938/1.421, allocations: 1.669 MB / 0.6635 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.013e-06/1.421, allocations: 0 / 0.6635 GB, free: 11.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005706/1.427, allocations: 1.049 MB / 0.6645 GB, free: 10.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * 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.000569/1.428, allocations: 197.5 kB / 0.6647 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01181/1.439, allocations: 6.361 MB / 0.6709 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.439, allocations: 4 kB / 0.6709 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005731/1.445, allocations: 2.874 MB / 0.6737 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.447, allocations: 356.3 kB / 0.674 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.47, allocations: 9.624 MB / 0.6834 GB, free: 6.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00686/1.477, allocations: 3.394 MB / 0.6867 GB, free: 3.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.479, allocations: 279.3 kB / 0.687 GB, free: 3.102 MB / 442.7 MB Notification: Performance of SimCode: time 1.986e-06/1.479, allocations: 0 / 0.687 GB, free: 3.102 MB / 442.7 MB Notification: Performance of Templates: time 0.402/1.881, allocations: 125.2 MB / 0.8093 GB, free: 35.57 MB / 442.7 MB