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.864/1.864, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004488, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2863, allocations: 48.7 MB / 331.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4179, allocations: 89.31 MB / 420.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4182, allocations: 79.97 kB / 420.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5417/0.9599, allocations: 86.32 MB / 0.4951 GB, free: 92.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.611e-06/0.96, allocations: 3.938 kB / 0.4951 GB, free: 92.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.9601, allocations: 76.34 kB / 0.4952 GB, free: 92.21 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.01013/0.9703, allocations: 3.853 MB / 0.4989 GB, free: 90.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.9703, allocations: 11.28 kB / 0.4989 GB, free: 90.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/0.9905, allocations: 3.639 MB / 0.5025 GB, free: 89.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.004, allocations: 4.944 MB / 0.5073 GB, free: 87.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/1.005, allocations: 291.4 kB / 0.5076 GB, free: 87.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.006, allocations: 388.3 kB / 0.508 GB, free: 87.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.029, allocations: 10.35 MB / 0.5181 GB, free: 78.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/1.029, allocations: 27.75 kB / 0.5181 GB, free: 78.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008654/1.03, allocations: 177.9 kB / 0.5183 GB, free: 77.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001607/1.031, allocations: 1.19 MB / 0.5194 GB, free: 76.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/1.052, allocations: 10.15 MB / 0.5293 GB, free: 66.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05317/1.106, allocations: 36.45 MB / 0.5649 GB, free: 29.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00913/1.115, allocations: 4.41 MB / 0.5693 GB, free: 24.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.116, allocations: 1.32 MB / 0.5705 GB, free: 23.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/1.116, allocations: 52.56 kB / 0.5706 GB, free: 23.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=245): time 7.504e-06/1.116, allocations: 4 kB / 0.5706 GB, free: 23.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=261): time 0.04675/1.163, allocations: 17.3 MB / 0.5875 GB, free: 5.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001101/1.164, allocations: 1.541 MB / 0.589 GB, free: 3.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.168, allocations: 2.464 MB / 0.5914 GB, free: 1.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004427/1.168, allocations: 53.89 kB / 0.5914 GB, free: 1.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.17, allocations: 2.728 MB / 0.5941 GB, free: 14.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.172, allocations: 0.9585 MB / 0.595 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004604/1.172, allocations: 111.7 kB / 0.5952 GB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005438/1.173, allocations: 0.5545 MB / 0.5957 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005444/1.178, allocations: 2.416 MB / 0.5981 GB, free: 10.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008863/1.187, allocations: 5.429 MB / 0.6034 GB, free: 3.738 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/1.195, allocations: 3.622 MB / 0.6069 GB, free: 124 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.731e-05/1.195, allocations: 32 kB / 0.6069 GB, free: 92 kB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02369/1.219, allocations: 8.717 MB / 0.6154 GB, free: 7.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.219, allocations: 55.95 kB / 0.6155 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01074/1.23, allocations: 3.911 MB / 0.6193 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00551/1.235, allocations: 1.24 MB / 0.6205 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005863/1.241, allocations: 1.291 MB / 0.6218 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2497/1.491, allocations: 4.172 MB / 0.6259 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005416/1.496, allocations: 387.9 kB / 0.6262 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.498, allocations: 324.8 kB / 0.6265 GB, free: 106 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 () * Number of clocked 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.005355/1.503, allocations: 2.112 MB / 0.6286 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006127/1.504, allocations: 282.3 kB / 0.6289 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.517, allocations: 5.384 MB / 0.6341 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01257/1.53, allocations: 4.638 MB / 0.6387 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/1.53, allocations: 7.766 kB / 0.6387 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.648e-05/1.53, allocations: 8.484 kB / 0.6387 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03259/1.562, allocations: 14.63 MB / 0.653 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-05/1.563, allocations: 11.09 kB / 0.653 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.565, allocations: 421.5 kB / 0.6534 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005531/1.571, allocations: 1.197 MB / 0.6545 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00051/1.571, allocations: 66.69 kB / 0.6546 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/1.577, allocations: 4.545 MB / 0.659 GB, free: 98.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000912/1.578, allocations: 1.483 MB / 0.6605 GB, free: 96.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.594, allocations: 8.825 MB / 0.6691 GB, free: 92.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/1.595, allocations: 344.1 kB / 0.6694 GB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/1.596, allocations: 57.41 kB / 0.6695 GB, free: 92.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.598, allocations: 198.2 kB / 0.6697 GB, free: 92.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.598, allocations: 172.4 kB / 0.6698 GB, free: 92.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.598, allocations: 78.5 kB / 0.6699 GB, free: 92.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002896/1.601, allocations: 1.686 MB / 0.6716 GB, free: 92.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.096e-06/1.601, allocations: 3.719 kB / 0.6716 GB, free: 92.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005804/1.607, allocations: 1.052 MB / 0.6726 GB, free: 91.95 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 () * Number of clocked 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.0005893/1.608, allocations: 202.7 kB / 0.6728 GB, free: 91.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/1.619, allocations: 6.442 MB / 0.6791 GB, free: 89.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.62, allocations: 0 / 0.6791 GB, free: 89.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005552/1.625, allocations: 2.894 MB / 0.6819 GB, free: 87.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.627, allocations: 358.3 kB / 0.6823 GB, free: 87.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.649, allocations: 13.02 MB / 0.695 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005166/1.654, allocations: 3.39 MB / 0.6983 GB, free: 73.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.655, allocations: 273.9 kB / 0.6985 GB, free: 72.92 MB / 426.7 MB Notification: Performance of SimCode: time 2.122e-06/1.655, allocations: 0 / 0.6985 GB, free: 72.92 MB / 426.7 MB Notification: Performance of Templates: time 0.4168/2.072, allocations: 125.3 MB / 0.8209 GB, free: 113 MB / 442.7 MB