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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.227/2.227, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.045e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4163, allocations: 97.4 MB / 455.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4166, allocations: 75.95 kB / 455.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5483/0.9649, allocations: 92.97 MB / 0.5356 GB, free: 32.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.9649, allocations: 0 / 0.5356 GB, free: 32.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001818/0.9651, allocations: 88 kB / 0.5357 GB, free: 31.94 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.01614/0.9813, allocations: 4.494 MB / 0.5401 GB, free: 27.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.9814, allocations: 8.031 kB / 0.5401 GB, free: 27.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/1, allocations: 3.589 MB / 0.5436 GB, free: 23.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/1.015, allocations: 4.811 MB / 0.5483 GB, free: 18.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/1.015, allocations: 152 kB / 0.5485 GB, free: 18.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002203/1.017, allocations: 279.9 kB / 0.5487 GB, free: 18.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01566/1.033, allocations: 8.043 MB / 0.5566 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/1.057, allocations: 10.57 MB / 0.5669 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.057, allocations: 27.72 kB / 0.5669 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/1.059, allocations: 16 kB / 0.567 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/1.061, allocations: 1.24 MB / 0.5682 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07353/1.135, allocations: 35.72 MB / 0.603 GB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006859/1.142, allocations: 3.813 MB / 0.6068 GB, free: 5.719 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.146, allocations: 2.077 MB / 0.6088 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/1.148, allocations: 1.323 MB / 0.6101 GB, free: 2.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/1.148, allocations: 52.56 kB / 0.6101 GB, free: 2.035 MB / 442.7 MB Notification: Performance of pre-optimization done (n=246): time 7.994e-06/1.148, allocations: 0 / 0.6101 GB, free: 2.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=273): time 0.03624/1.184, allocations: 11.25 MB / 0.6211 GB, free: 6.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/1.185, allocations: 73.41 kB / 0.6212 GB, free: 6.656 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/1.19, allocations: 2.517 MB / 0.6237 GB, free: 4.125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004615/1.19, allocations: 33.7 kB / 0.6237 GB, free: 4.086 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.194, allocations: 3.183 MB / 0.6268 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2714/1.465, allocations: 0.9826 MB / 0.6278 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/1.466, allocations: 0 / 0.6278 GB, free: 107.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006172/1.466, allocations: 0.5879 MB / 0.6283 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/1.471, allocations: 2.347 MB / 0.6306 GB, free: 107.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/1.479, allocations: 5.854 MB / 0.6363 GB, free: 103 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/1.486, allocations: 3.766 MB / 0.64 GB, free: 103 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.486, allocations: 35.81 kB / 0.6401 GB, free: 103 MB / 458.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02096/1.507, allocations: 8.312 MB / 0.6482 GB, free: 102.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.507, allocations: 58.59 kB / 0.6482 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.507, allocations: 130.5 kB / 0.6483 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/1.512, allocations: 1.071 MB / 0.6494 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006278/1.518, allocations: 1.485 MB / 0.6508 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.521, allocations: 2.408 MB / 0.6532 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/1.527, allocations: 215.8 kB / 0.6534 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/1.529, allocations: 379.4 kB / 0.6538 GB, free: 101.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * 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 (793): * Single equations (assignments): 784 * 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.00179/1.53, allocations: 424.8 kB / 0.6542 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/1.531, allocations: 300.9 kB / 0.6545 GB, free: 100.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.544, allocations: 5.137 MB / 0.6595 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/1.544, allocations: 48.88 kB / 0.6595 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.544, allocations: 3.781 kB / 0.6595 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/1.544, allocations: 10.92 kB / 0.6595 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.57, allocations: 10.82 MB / 0.6701 GB, free: 98.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/1.57, allocations: 10.58 kB / 0.6701 GB, free: 98.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.573, allocations: 452.8 kB / 0.6705 GB, free: 98.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/1.577, allocations: 0.9091 MB / 0.6714 GB, free: 98.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005614/1.578, allocations: 42.05 kB / 0.6715 GB, free: 98.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/1.58, allocations: 2.197 MB / 0.6736 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/1.58, allocations: 13.28 kB / 0.6736 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/1.596, allocations: 8.331 MB / 0.6818 GB, free: 93.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/1.597, allocations: 337.7 kB / 0.6821 GB, free: 93.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009035/1.598, allocations: 23.67 kB / 0.6821 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.6, allocations: 107.9 kB / 0.6822 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/1.6, allocations: 170.9 kB / 0.6824 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/1.601, allocations: 85.66 kB / 0.6825 GB, free: 92.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003512/1.604, allocations: 1.647 MB / 0.6841 GB, free: 92.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.246e-06/1.604, allocations: 3.938 kB / 0.6841 GB, free: 92.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006754/1.611, allocations: 0.9241 MB / 0.685 GB, free: 91.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (224): * Single equations (assignments): 215 * 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.0007295/1.612, allocations: 170.4 kB / 0.6851 GB, free: 91.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.624, allocations: 6.173 MB / 0.6912 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.624, allocations: 0 / 0.6912 GB, free: 86.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.629, allocations: 2.629 MB / 0.6937 GB, free: 83.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.631, allocations: 353.7 kB / 0.6941 GB, free: 83.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/1.653, allocations: 10.24 MB / 0.7041 GB, free: 74.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/1.659, allocations: 3.769 MB / 0.7078 GB, free: 71.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.661, allocations: 322.2 kB / 0.7081 GB, free: 71.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.297e-06/1.661, allocations: 0 / 0.7081 GB, free: 71.41 MB / 458.7 MB Notification: Performance of Templates: time 0.4283/2.089, allocations: 119.9 MB / 0.8251 GB, free: 133.6 MB / 490.7 MB