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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.113/2.113, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.836e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2917, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.4324, allocations: 90.69 MB / 410.7 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4327, allocations: 71.97 kB / 410.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6219/1.055, allocations: 92.96 MB / 0.4919 GB, free: 68.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.895e-06/1.055, allocations: 0 / 0.4919 GB, free: 68.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001697/1.055, allocations: 90.73 kB / 0.492 GB, free: 68.71 MB / 378.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.01585/1.071, allocations: 4.491 MB / 0.4964 GB, free: 64.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.071, allocations: 8.031 kB / 0.4964 GB, free: 64.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/1.089, allocations: 3.594 MB / 0.4999 GB, free: 60.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/1.103, allocations: 4.815 MB / 0.5046 GB, free: 55.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/1.104, allocations: 152 kB / 0.5048 GB, free: 55.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/1.106, allocations: 271.9 kB / 0.505 GB, free: 55.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01572/1.122, allocations: 8.047 MB / 0.5129 GB, free: 47.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/1.145, allocations: 10.57 MB / 0.5232 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.145, allocations: 35.7 kB / 0.5232 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/1.147, allocations: 12 kB / 0.5232 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/1.149, allocations: 1.24 MB / 0.5245 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05952/1.208, allocations: 35.71 MB / 0.5593 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/1.215, allocations: 3.813 MB / 0.5631 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/1.219, allocations: 2.082 MB / 0.5651 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/1.221, allocations: 1.315 MB / 0.5664 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/1.221, allocations: 60.55 kB / 0.5664 GB, free: 6.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 7.549e-06/1.221, allocations: 4 kB / 0.5664 GB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=273): time 0.03526/1.256, allocations: 11.23 MB / 0.5774 GB, free: 11.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/1.256, allocations: 77.41 kB / 0.5775 GB, free: 11.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/1.262, allocations: 2.525 MB / 0.5799 GB, free: 8.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004541/1.262, allocations: 29.7 kB / 0.58 GB, free: 8.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.266, allocations: 3.183 MB / 0.5831 GB, free: 5.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001529/1.267, allocations: 0.9865 MB / 0.584 GB, free: 4.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000521/1.268, allocations: 0 / 0.584 GB, free: 4.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006348/1.268, allocations: 0.5874 MB / 0.5846 GB, free: 4.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005338/1.274, allocations: 2.351 MB / 0.5869 GB, free: 1.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.245/1.519, allocations: 5.85 MB / 0.5926 GB, free: 91.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007891/1.527, allocations: 3.761 MB / 0.5963 GB, free: 91.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001919/1.527, allocations: 35.22 kB / 0.5963 GB, free: 91.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02223/1.549, allocations: 8.314 MB / 0.6045 GB, free: 91.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.549, allocations: 58.19 kB / 0.6045 GB, free: 91.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/1.55, allocations: 127.6 kB / 0.6046 GB, free: 91.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004602/1.554, allocations: 1.085 MB / 0.6057 GB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006414/1.561, allocations: 1.48 MB / 0.6071 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/1.564, allocations: 2.403 MB / 0.6095 GB, free: 89.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.569, allocations: 209.6 kB / 0.6097 GB, free: 89.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.571, allocations: 390.1 kB / 0.6101 GB, free: 89.94 MB / 410.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.001269/1.572, allocations: 414.2 kB / 0.6104 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/1.573, allocations: 299 kB / 0.6107 GB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.585, allocations: 5.142 MB / 0.6158 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/1.585, allocations: 54.72 kB / 0.6158 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.585, allocations: 3.531 kB / 0.6158 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.585, allocations: 11.06 kB / 0.6158 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/1.61, allocations: 10.83 MB / 0.6264 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/1.61, allocations: 10.47 kB / 0.6264 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.613, allocations: 451.6 kB / 0.6268 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004564/1.617, allocations: 0.9012 MB / 0.6277 GB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005547/1.618, allocations: 38.3 kB / 0.6278 GB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/1.621, allocations: 2.202 MB / 0.6299 GB, free: 86.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/1.621, allocations: 10.91 kB / 0.6299 GB, free: 86.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/1.636, allocations: 8.336 MB / 0.6381 GB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/1.637, allocations: 342.1 kB / 0.6384 GB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007516/1.638, allocations: 22.98 kB / 0.6384 GB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.64, allocations: 108.6 kB / 0.6385 GB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/1.64, allocations: 174.9 kB / 0.6387 GB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.641, allocations: 83.36 kB / 0.6388 GB, free: 81.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003061/1.644, allocations: 1.65 MB / 0.6404 GB, free: 81.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.041e-06/1.644, allocations: 0 / 0.6404 GB, free: 81.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006577/1.65, allocations: 0.9217 MB / 0.6413 GB, free: 81.36 MB / 410.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.0006981/1.651, allocations: 166.7 kB / 0.6414 GB, free: 81.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01173/1.663, allocations: 6.167 MB / 0.6474 GB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/1.663, allocations: 0 / 0.6474 GB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0053/1.668, allocations: 2.635 MB / 0.65 GB, free: 73.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.671, allocations: 357.2 kB / 0.6504 GB, free: 73.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.691, allocations: 10.24 MB / 0.6604 GB, free: 63.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/1.697, allocations: 3.772 MB / 0.664 GB, free: 61.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.699, allocations: 326.2 kB / 0.6643 GB, free: 60.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.786e-06/1.699, allocations: 0 / 0.6643 GB, free: 60.73 MB / 410.7 MB Notification: Performance of Templates: time 0.4025/2.101, allocations: 119.9 MB / 0.7814 GB, free: 119 MB / 442.7 MB