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.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 48.71 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4309, allocations: 91.44 MB / 422.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.4312, allocations: 75.97 kB / 422.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5729/1.004, allocations: 94.59 MB / 0.5053 GB, free: 88.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.004, allocations: 3.5 kB / 0.5053 GB, free: 88.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001754/1.004, allocations: 87.06 kB / 0.5054 GB, free: 88.51 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01661/1.021, allocations: 4.644 MB / 0.5099 GB, free: 85.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.021, allocations: 11.47 kB / 0.5099 GB, free: 85.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/1.04, allocations: 3.59 MB / 0.5134 GB, free: 83.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/1.054, allocations: 4.839 MB / 0.5181 GB, free: 78.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/1.054, allocations: 361.8 kB / 0.5185 GB, free: 78.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/1.057, allocations: 467.5 kB / 0.5189 GB, free: 78.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/1.084, allocations: 11.47 MB / 0.5301 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002182/1.084, allocations: 27.72 kB / 0.5301 GB, free: 66.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/1.086, allocations: 209.4 kB / 0.5303 GB, free: 66.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/1.088, allocations: 1.243 MB / 0.5316 GB, free: 64.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05312/1.142, allocations: 10.97 MB / 0.5423 GB, free: 53.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07633/1.218, allocations: 38.45 MB / 0.5798 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009249/1.227, allocations: 4.397 MB / 0.5841 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.228, allocations: 1.319 MB / 0.5854 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.229, allocations: 56.55 kB / 0.5855 GB, free: 8.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 6.975e-06/1.229, allocations: 0 / 0.5855 GB, free: 8.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.05294/1.281, allocations: 14.29 MB / 0.5994 GB, free: 10.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/1.282, allocations: 77.34 kB / 0.5995 GB, free: 9.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/1.287, allocations: 2.638 MB / 0.6021 GB, free: 7.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004533/1.288, allocations: 61.7 kB / 0.6021 GB, free: 7.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.291, allocations: 3.087 MB / 0.6051 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.292, allocations: 0.9752 MB / 0.6061 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/1.293, allocations: 120 kB / 0.6062 GB, free: 2.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006294/1.294, allocations: 0.5669 MB / 0.6068 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.299, allocations: 2.366 MB / 0.6091 GB, free: 24 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.309, allocations: 5.625 MB / 0.6146 GB, free: 8.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007989/1.317, allocations: 3.653 MB / 0.6181 GB, free: 5.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.318, allocations: 32 kB / 0.6182 GB, free: 5.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.2732/1.591, allocations: 8.644 MB / 0.6266 GB, free: 102.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.591, allocations: 53.81 kB / 0.6267 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/1.591, allocations: 118.6 kB / 0.6268 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/1.596, allocations: 1.061 MB / 0.6278 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/1.602, allocations: 1.367 MB / 0.6291 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/1.605, allocations: 2.503 MB / 0.6316 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0052/1.61, allocations: 317.9 kB / 0.6319 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.612, allocations: 346.6 kB / 0.6322 GB, free: 101.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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 prepare postOptimizeDAE: time 0.005789/1.617, allocations: 2.363 MB / 0.6345 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/1.618, allocations: 297.8 kB / 0.6348 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.63, allocations: 5.088 MB / 0.6398 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.08e-05/1.63, allocations: 47.09 kB / 0.6398 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.63, allocations: 7.828 kB / 0.6398 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/1.63, allocations: 10.31 kB / 0.6398 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.658, allocations: 11.81 MB / 0.6514 GB, free: 99.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/1.658, allocations: 11.12 kB / 0.6514 GB, free: 99.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.661, allocations: 423.2 kB / 0.6518 GB, free: 99.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003959/1.665, allocations: 0.9053 MB / 0.6527 GB, free: 99.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005227/1.665, allocations: 58.2 kB / 0.6527 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/1.668, allocations: 2.307 MB / 0.655 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.668, allocations: 13.53 kB / 0.655 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.683, allocations: 8.195 MB / 0.663 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/1.684, allocations: 343.1 kB / 0.6633 GB, free: 94.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008302/1.685, allocations: 58.34 kB / 0.6634 GB, free: 94.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.687, allocations: 138.4 kB / 0.6635 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/1.687, allocations: 161.4 kB / 0.6637 GB, free: 94.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.688, allocations: 81.3 kB / 0.6637 GB, free: 94.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003432/1.691, allocations: 1.798 MB / 0.6655 GB, free: 93.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.66e-07/1.691, allocations: 0 / 0.6655 GB, free: 93.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006105/1.697, allocations: 1.042 MB / 0.6665 GB, free: 93.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * 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.0006661/1.698, allocations: 198.3 kB / 0.6667 GB, free: 93.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/1.71, allocations: 6.217 MB / 0.6728 GB, free: 91.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.71, allocations: 7.281 kB / 0.6728 GB, free: 91.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005573/1.716, allocations: 2.601 MB / 0.6753 GB, free: 90.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.719, allocations: 460.9 kB / 0.6758 GB, free: 90.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/1.743, allocations: 14.02 MB / 0.6894 GB, free: 78.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006702/1.749, allocations: 3.765 MB / 0.6931 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.751, allocations: 298 kB / 0.6934 GB, free: 75.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.645e-06/1.751, allocations: 0 / 0.6934 GB, free: 75.52 MB / 426.7 MB Notification: Performance of Templates: time 0.4068/2.158, allocations: 120 MB / 0.8106 GB, free: 117.1 MB / 442.7 MB