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.FreeMotionScalarInit5.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.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.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadModel(ModelicaTest): time 2.222/2.222, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.18e-05, allocations: 7.984 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.328, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4761, allocations: 98.07 MB / 462.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4764, allocations: 81.02 kB / 462.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6335/1.11, allocations: 94.68 MB / 0.5443 GB, free: 108.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.065e-06/1.11, allocations: 1.094 kB / 0.5443 GB, free: 108.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002071/1.11, allocations: 86.03 kB / 0.5444 GB, free: 108.9 MB / 458.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.01641/1.127, allocations: 4.484 MB / 0.5488 GB, free: 107.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.127, allocations: 17.16 kB / 0.5488 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/1.147, allocations: 3.591 MB / 0.5523 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.162, allocations: 4.826 MB / 0.557 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/1.162, allocations: 355.3 kB / 0.5573 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/1.164, allocations: 476.7 kB / 0.5578 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/1.191, allocations: 11.37 MB / 0.5689 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/1.191, allocations: 30.84 kB / 0.5689 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/1.192, allocations: 213.1 kB / 0.5691 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/1.194, allocations: 1.235 MB / 0.5703 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/1.219, allocations: 10.81 MB / 0.5809 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06202/1.281, allocations: 38.45 MB / 0.6184 GB, free: 71.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/1.29, allocations: 4.351 MB / 0.6227 GB, free: 67.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/1.294, allocations: 2.134 MB / 0.6248 GB, free: 65.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.295, allocations: 1.317 MB / 0.6261 GB, free: 63.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.295, allocations: 55.94 kB / 0.6261 GB, free: 63.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 7.558e-06/1.295, allocations: 4 kB / 0.6261 GB, free: 63.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.03982/1.335, allocations: 10.78 MB / 0.6366 GB, free: 52.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.335, allocations: 73.41 kB / 0.6367 GB, free: 52.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004582/1.34, allocations: 2.615 MB / 0.6393 GB, free: 50.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004112/1.34, allocations: 61.7 kB / 0.6393 GB, free: 50.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.342, allocations: 3.081 MB / 0.6423 GB, free: 47.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.343, allocations: 0.9797 MB / 0.6433 GB, free: 46.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/1.343, allocations: 114.3 kB / 0.6434 GB, free: 45.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003855/1.344, allocations: 0.5748 MB / 0.644 GB, free: 45.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.348, allocations: 2.316 MB / 0.6462 GB, free: 43.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/1.354, allocations: 5.579 MB / 0.6517 GB, free: 35.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/1.36, allocations: 3.644 MB / 0.6552 GB, free: 32.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.655e-05/1.361, allocations: 32 kB / 0.6553 GB, free: 32.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01918/1.38, allocations: 8.559 MB / 0.6636 GB, free: 23.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.148e-05/1.38, allocations: 53.88 kB / 0.6637 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.38, allocations: 116 kB / 0.6638 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/1.384, allocations: 1.064 MB / 0.6648 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/1.39, allocations: 1.361 MB / 0.6662 GB, free: 20.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/1.393, allocations: 2.478 MB / 0.6686 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/1.398, allocations: 327 kB / 0.6689 GB, free: 18.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.399, allocations: 344 kB / 0.6692 GB, free: 17.71 MB / 458.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 () * 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.001151/1.4, allocations: 0.532 MB / 0.6697 GB, free: 17.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/1.401, allocations: 300.1 kB / 0.67 GB, free: 16.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.412, allocations: 5.033 MB / 0.6749 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.19e-05/1.412, allocations: 51.94 kB / 0.675 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.412, allocations: 0 / 0.675 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.412, allocations: 11.97 kB / 0.675 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.438, allocations: 11.77 MB / 0.6865 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.438, allocations: 11.94 kB / 0.6865 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.44, allocations: 427.3 kB / 0.6869 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/1.444, allocations: 0.904 MB / 0.6878 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/1.445, allocations: 63.92 kB / 0.6879 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/1.448, allocations: 2.268 MB / 0.6901 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/1.448, allocations: 15.94 kB / 0.6901 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02136/1.47, allocations: 8.133 MB / 0.698 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.471, allocations: 345.1 kB / 0.6984 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.473, allocations: 51.94 kB / 0.6984 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/1.476, allocations: 139.8 kB / 0.6985 GB, free: 2.902 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000724/1.477, allocations: 157.6 kB / 0.6987 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004661/1.477, allocations: 79.88 kB / 0.6988 GB, free: 2.676 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006184/1.483, allocations: 1.773 MB / 0.7005 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.641e-06/1.483, allocations: 0 / 0.7005 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.2863/1.77, allocations: 1.039 MB / 0.7015 GB, free: 111 MB / 474.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 () * 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.0008496/1.771, allocations: 193.9 kB / 0.7017 GB, free: 110.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01342/1.784, allocations: 6.141 MB / 0.7077 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.784, allocations: 4.375 kB / 0.7077 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006321/1.79, allocations: 2.574 MB / 0.7102 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.793, allocations: 460.2 kB / 0.7107 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.817, allocations: 10.17 MB / 0.7206 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006627/1.824, allocations: 3.766 MB / 0.7243 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.825, allocations: 296.4 kB / 0.7245 GB, free: 107.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.757e-06/1.825, allocations: 0 / 0.7245 GB, free: 107.5 MB / 474.7 MB Notification: Performance of Templates: time 0.15/1.975, allocations: 120 MB / 0.8417 GB, free: 23.31 MB / 474.7 MB