Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.954/1.954, allocations: 209.2 MB / 225.4 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004176, allocations: 12 kB / 283.1 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3513, allocations: 48.7 MB / 331.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5204, allocations: 91.44 MB / 423.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.5207, allocations: 83.95 kB / 423.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6724/1.193, allocations: 95.1 MB / 0.5063 GB, free: 88.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.193, allocations: 3.375 kB / 0.5063 GB, free: 88.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002183/1.193, allocations: 92.25 kB / 0.5064 GB, free: 88.22 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.02395/1.217, allocations: 4.642 MB / 0.5109 GB, free: 85.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.217, allocations: 7.469 kB / 0.5109 GB, free: 85.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/1.244, allocations: 3.595 MB / 0.5144 GB, free: 83.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/1.263, allocations: 4.834 MB / 0.5191 GB, free: 78.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/1.263, allocations: 351.4 kB / 0.5195 GB, free: 78.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.267, allocations: 473.1 kB / 0.5199 GB, free: 77.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/1.301, allocations: 11.5 MB / 0.5312 GB, free: 65.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/1.301, allocations: 35.72 kB / 0.5312 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002849/1.304, allocations: 212.3 kB / 0.5314 GB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/1.307, allocations: 1.235 MB / 0.5326 GB, free: 64.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.337, allocations: 10.96 MB / 0.5433 GB, free: 53.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07896/1.416, allocations: 38.46 MB / 0.5809 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/1.428, allocations: 4.395 MB / 0.5852 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.429, allocations: 1.323 MB / 0.5864 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.43, allocations: 52.56 kB / 0.5865 GB, free: 7.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 6.292e-06/1.43, allocations: 0 / 0.5865 GB, free: 7.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.07355/1.503, allocations: 14.51 MB / 0.6007 GB, free: 9.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.503, allocations: 77.34 kB / 0.6007 GB, free: 9.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006594/1.51, allocations: 2.957 MB / 0.6036 GB, free: 6.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005939/1.51, allocations: 57.7 kB / 0.6037 GB, free: 6.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003262/1.514, allocations: 3.095 MB / 0.6067 GB, free: 2.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.516, allocations: 0.9713 MB / 0.6077 GB, free: 2.004 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007565/1.516, allocations: 116 kB / 0.6078 GB, free: 1.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006226/1.517, allocations: 0.5708 MB / 0.6083 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006817/1.524, allocations: 2.366 MB / 0.6106 GB, free: 14.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.534, allocations: 5.652 MB / 0.6162 GB, free: 7.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/1.543, allocations: 3.653 MB / 0.6197 GB, free: 4.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/1.544, allocations: 35.94 kB / 0.6198 GB, free: 3.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.3316/1.875, allocations: 8.648 MB / 0.6282 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.875, allocations: 53.47 kB / 0.6283 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/1.876, allocations: 113.5 kB / 0.6284 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006968/1.883, allocations: 1.059 MB / 0.6294 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.892, allocations: 1.37 MB / 0.6307 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/1.896, allocations: 2.499 MB / 0.6332 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/1.902, allocations: 323.1 kB / 0.6335 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.904, allocations: 347.9 kB / 0.6338 GB, free: 102 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.007096/1.911, allocations: 2.364 MB / 0.6361 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/1.912, allocations: 295.3 kB / 0.6364 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.928, allocations: 5.086 MB / 0.6414 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/1.928, allocations: 49.16 kB / 0.6414 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.928, allocations: 6.594 kB / 0.6414 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.124e-05/1.928, allocations: 14.31 kB / 0.6414 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/1.962, allocations: 11.8 MB / 0.653 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/1.963, allocations: 7.688 kB / 0.653 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003803/1.966, allocations: 423.5 kB / 0.6534 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006114/1.973, allocations: 0.9189 MB / 0.6543 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/1.973, allocations: 60.44 kB / 0.6543 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/1.977, allocations: 2.293 MB / 0.6566 GB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.977, allocations: 13.16 kB / 0.6566 GB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.997, allocations: 7.524 MB / 0.6639 GB, free: 95.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009603/1.998, allocations: 344.2 kB / 0.6643 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009638/1.999, allocations: 52.41 kB / 0.6643 GB, free: 95.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/2.001, allocations: 140.9 kB / 0.6644 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/2.002, allocations: 167.4 kB / 0.6646 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/2.002, allocations: 78.23 kB / 0.6647 GB, free: 95.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003732/2.006, allocations: 1.796 MB / 0.6664 GB, free: 94.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/2.006, allocations: 3.219 kB / 0.6664 GB, free: 94.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006747/2.013, allocations: 1.042 MB / 0.6674 GB, free: 94.86 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.000917/2.013, allocations: 201.5 kB / 0.6676 GB, free: 94.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01541/2.029, allocations: 6.22 MB / 0.6737 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.029, allocations: 0 / 0.6737 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007339/2.036, allocations: 2.591 MB / 0.6762 GB, free: 91.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/2.04, allocations: 466 kB / 0.6767 GB, free: 91.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/2.07, allocations: 14.06 MB / 0.6904 GB, free: 78.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007158/2.077, allocations: 3.758 MB / 0.6941 GB, free: 75.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/2.079, allocations: 300.4 kB / 0.6944 GB, free: 75.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/2.079, allocations: 0 / 0.6944 GB, free: 75.5 MB / 426.7 MB Notification: Performance of Templates: time 0.5261/2.605, allocations: 120 MB / 0.8115 GB, free: 114.8 MB / 442.7 MB