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.Joints.FreeMotionScalarInit3.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.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 11.94 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3534, allocations: 54.85 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.5437, allocations: 101.7 MB / 471 MB, free: 6.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.544, allocations: 83.91 kB / 471 MB, free: 6.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6444/1.188, allocations: 97.45 MB / 0.5552 GB, free: 78.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.267e-06/1.188, allocations: 0 / 0.5552 GB, free: 78.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001768/1.189, allocations: 88 kB / 0.5552 GB, free: 78.39 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01729/1.206, allocations: 4.794 MB / 0.5599 GB, free: 73.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.206, allocations: 12.03 kB / 0.5599 GB, free: 73.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/1.225, allocations: 3.616 MB / 0.5635 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/1.239, allocations: 4.913 MB / 0.5683 GB, free: 64.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/1.239, allocations: 370.3 kB / 0.5686 GB, free: 64.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/1.241, allocations: 0.4884 MB / 0.5691 GB, free: 64.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/1.269, allocations: 12.21 MB / 0.581 GB, free: 51.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/1.269, allocations: 27.75 kB / 0.5811 GB, free: 51.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/1.271, allocations: 223.8 kB / 0.5813 GB, free: 51.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00205/1.274, allocations: 1.314 MB / 0.5825 GB, free: 49.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/1.299, allocations: 11.52 MB / 0.5938 GB, free: 38.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06482/1.364, allocations: 41.88 MB / 0.6347 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/1.378, allocations: 4.963 MB / 0.6395 GB, free: 6.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/1.393, allocations: 6.558 MB / 0.6459 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/1.393, allocations: 60.5 kB / 0.646 GB, free: 15.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 5.657e-06/1.393, allocations: 0 / 0.646 GB, free: 15.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.05438/1.447, allocations: 16.76 MB / 0.6624 GB, free: 14.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/1.447, allocations: 73.41 kB / 0.6624 GB, free: 14.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/1.454, allocations: 2.835 MB / 0.6652 GB, free: 11.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004173/1.454, allocations: 57.7 kB / 0.6653 GB, free: 11.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003257/1.458, allocations: 3.261 MB / 0.6685 GB, free: 7.852 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.459, allocations: 0.8944 MB / 0.6693 GB, free: 6.945 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/1.46, allocations: 120 kB / 0.6694 GB, free: 6.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006337/1.46, allocations: 0.5671 MB / 0.67 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00561/1.466, allocations: 2.378 MB / 0.6723 GB, free: 3.867 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3294/1.795, allocations: 5.737 MB / 0.6779 GB, free: 116.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/1.803, allocations: 3.689 MB / 0.6815 GB, free: 116.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/1.803, allocations: 33.02 kB / 0.6816 GB, free: 116.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02185/1.825, allocations: 8.833 MB / 0.6902 GB, free: 116.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.826, allocations: 58.75 kB / 0.6902 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/1.826, allocations: 119.6 kB / 0.6904 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/1.832, allocations: 1.158 MB / 0.6915 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/1.838, allocations: 1.375 MB / 0.6928 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/1.845, allocations: 4.663 MB / 0.6974 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.85, allocations: 321.6 kB / 0.6977 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.852, allocations: 355.5 kB / 0.698 GB, free: 114.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (742): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.005766/1.857, allocations: 2.412 MB / 0.7004 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/1.858, allocations: 305.6 kB / 0.7007 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009676/1.868, allocations: 4.442 MB / 0.705 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.685e-05/1.868, allocations: 45.56 kB / 0.7051 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.868, allocations: 3.688 kB / 0.7051 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.868, allocations: 11.11 kB / 0.7051 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02387/1.892, allocations: 10.43 MB / 0.7153 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/1.892, allocations: 3.469 kB / 0.7153 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/1.894, allocations: 393.5 kB / 0.7156 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/1.897, allocations: 0.6648 MB / 0.7163 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004617/1.898, allocations: 55.66 kB / 0.7163 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/1.901, allocations: 2.441 MB / 0.7187 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.079e-06/1.901, allocations: 14.59 kB / 0.7187 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.914, allocations: 7.189 MB / 0.7258 GB, free: 105.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007773/1.915, allocations: 352.8 kB / 0.7261 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007606/1.916, allocations: 39.39 kB / 0.7261 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.917, allocations: 137.1 kB / 0.7263 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/1.918, allocations: 135.2 kB / 0.7264 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.918, allocations: 68.84 kB / 0.7265 GB, free: 105.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003534/1.922, allocations: 1.926 MB / 0.7283 GB, free: 104.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.07e-07/1.922, allocations: 2.906 kB / 0.7283 GB, free: 104.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006188/1.928, allocations: 1.071 MB / 0.7294 GB, free: 104.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_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 (191): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006526/1.928, allocations: 192.2 kB / 0.7296 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.939, allocations: 5.816 MB / 0.7352 GB, free: 99.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.342e-06/1.939, allocations: 0 / 0.7352 GB, free: 99.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00479/1.944, allocations: 2.418 MB / 0.7376 GB, free: 97.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.946, allocations: 405.3 kB / 0.738 GB, free: 96.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/1.971, allocations: 13.99 MB / 0.7517 GB, free: 84.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007223/1.978, allocations: 3.833 MB / 0.7554 GB, free: 81.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.979, allocations: 286.4 kB / 0.7557 GB, free: 81.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.79e-06/1.979, allocations: 0 / 0.7557 GB, free: 81.04 MB / 474.7 MB Notification: Performance of Templates: time 0.4346/2.414, allocations: 111.9 MB / 0.865 GB, free: 131.7 MB / 490.7 MB