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.FreeMotionScalarInit3.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.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.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004443, allocations: 15.94 kB / 282.6 MB, free: 9.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 48.72 MB / 331.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3648/0.4828, allocations: 94.97 MB / 426.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4831, allocations: 79.95 kB / 426.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7104/1.194, allocations: 97.42 MB / 0.5115 GB, free: 90.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.253e-06/1.194, allocations: 0 / 0.5115 GB, free: 90.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001744/1.194, allocations: 90.81 kB / 0.5116 GB, free: 90.55 MB / 410.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.01742/1.211, allocations: 4.784 MB / 0.5162 GB, free: 88.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.211, allocations: 11.69 kB / 0.5162 GB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02044/1.232, allocations: 3.615 MB / 0.5198 GB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.247, allocations: 4.92 MB / 0.5246 GB, free: 87.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/1.247, allocations: 378.2 kB / 0.5249 GB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/1.249, allocations: 494.9 kB / 0.5254 GB, free: 87.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/1.279, allocations: 12.2 MB / 0.5373 GB, free: 83.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/1.28, allocations: 34.03 kB / 0.5374 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001541/1.281, allocations: 223.3 kB / 0.5376 GB, free: 83.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001992/1.283, allocations: 1.323 MB / 0.5389 GB, free: 83.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/1.31, allocations: 11.52 MB / 0.5501 GB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06451/1.374, allocations: 41.87 MB / 0.591 GB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.386, allocations: 4.947 MB / 0.5958 GB, free: 33.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/1.399, allocations: 6.561 MB / 0.6022 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.399, allocations: 60.42 kB / 0.6023 GB, free: 26.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 6.169e-06/1.399, allocations: 0 / 0.6023 GB, free: 26.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.04953/1.448, allocations: 16.75 MB / 0.6187 GB, free: 9.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/1.449, allocations: 73.41 kB / 0.6187 GB, free: 9.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/1.454, allocations: 2.835 MB / 0.6215 GB, free: 6.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004388/1.455, allocations: 61.64 kB / 0.6216 GB, free: 6.844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/1.457, allocations: 3.267 MB / 0.6248 GB, free: 3.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.458, allocations: 0.8862 MB / 0.6256 GB, free: 2.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/1.459, allocations: 127.2 kB / 0.6257 GB, free: 2.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000748/1.459, allocations: 0.571 MB / 0.6263 GB, free: 1.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.465, allocations: 2.374 MB / 0.6286 GB, free: 15.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009526/1.474, allocations: 5.742 MB / 0.6342 GB, free: 8.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008267/1.482, allocations: 3.688 MB / 0.6378 GB, free: 4.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/1.483, allocations: 32 kB / 0.6379 GB, free: 4.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.2736/1.756, allocations: 8.841 MB / 0.6465 GB, free: 89.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.756, allocations: 56.89 kB / 0.6465 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002132/1.757, allocations: 118.3 kB / 0.6467 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005055/1.762, allocations: 1.157 MB / 0.6478 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006362/1.768, allocations: 1.383 MB / 0.6491 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/1.776, allocations: 4.651 MB / 0.6537 GB, free: 87.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/1.782, allocations: 333.8 kB / 0.654 GB, free: 87.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.783, allocations: 359.1 kB / 0.6543 GB, free: 87.72 MB / 426.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.006288/1.789, allocations: 2.407 MB / 0.6567 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/1.79, allocations: 297.9 kB / 0.657 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.801, allocations: 4.438 MB / 0.6613 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.353e-05/1.801, allocations: 45.25 kB / 0.6614 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.801, allocations: 3.969 kB / 0.6614 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-05/1.801, allocations: 15.53 kB / 0.6614 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.827, allocations: 10.44 MB / 0.6716 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.827, allocations: 3.906 kB / 0.6716 GB, free: 86.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/1.829, allocations: 386.9 kB / 0.6719 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/1.832, allocations: 0.6686 MB / 0.6726 GB, free: 86.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/1.833, allocations: 50.44 kB / 0.6726 GB, free: 86.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/1.836, allocations: 2.448 MB / 0.675 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.262e-06/1.836, allocations: 9.75 kB / 0.675 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.849, allocations: 7.185 MB / 0.6821 GB, free: 82.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/1.85, allocations: 353.3 kB / 0.6824 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009833/1.851, allocations: 49.55 kB / 0.6824 GB, free: 81.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.853, allocations: 136.2 kB / 0.6826 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/1.854, allocations: 134.6 kB / 0.6827 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.854, allocations: 68.12 kB / 0.6828 GB, free: 81.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004176/1.858, allocations: 1.927 MB / 0.6846 GB, free: 81.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.081e-06/1.858, allocations: 0 / 0.6846 GB, free: 81.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00662/1.865, allocations: 1.07 MB / 0.6857 GB, free: 81.05 MB / 426.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.0007171/1.865, allocations: 194.3 kB / 0.6859 GB, free: 80.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01167/1.877, allocations: 5.816 MB / 0.6916 GB, free: 79.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.904e-06/1.877, allocations: 2.844 kB / 0.6916 GB, free: 79.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005381/1.883, allocations: 2.421 MB / 0.6939 GB, free: 78.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.885, allocations: 418.6 kB / 0.6943 GB, free: 78.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.912, allocations: 13.98 MB / 0.708 GB, free: 71.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008229/1.921, allocations: 3.836 MB / 0.7117 GB, free: 69.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.922, allocations: 292 kB / 0.712 GB, free: 69.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.711e-06/1.922, allocations: 2.078 kB / 0.712 GB, free: 69.61 MB / 426.7 MB Notification: Performance of Templates: time 0.4123/2.334, allocations: 111.9 MB / 0.8213 GB, free: 106.8 MB / 442.7 MB