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/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.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.982/1.982, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.652e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08931, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5058, allocations: 91.35 MB / 417.9 MB, free: 500 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.506, allocations: 70.78 kB / 418 MB, free: 464 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.365/0.871, allocations: 94.67 MB / 0.5006 GB, free: 8.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.181e-06/0.8711, allocations: 0 / 0.5006 GB, free: 8.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.8713, allocations: 88 kB / 0.5007 GB, free: 8.445 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01788/0.8892, allocations: 4.501 MB / 0.5051 GB, free: 3.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8893, allocations: 8.031 kB / 0.5051 GB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/0.9092, allocations: 3.593 MB / 0.5086 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/0.9253, allocations: 4.819 MB / 0.5133 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/0.9259, allocations: 353.3 kB / 0.5137 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.9283, allocations: 467.9 kB / 0.5141 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2748/1.203, allocations: 11.37 MB / 0.5252 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/1.203, allocations: 28.34 kB / 0.5252 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/1.205, allocations: 208.5 kB / 0.5254 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/1.208, allocations: 1.244 MB / 0.5267 GB, free: 88.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/1.234, allocations: 10.8 MB / 0.5372 GB, free: 88.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06559/1.299, allocations: 38.45 MB / 0.5748 GB, free: 71.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009963/1.309, allocations: 4.364 MB / 0.579 GB, free: 69.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003853/1.313, allocations: 2.126 MB / 0.5811 GB, free: 69.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.314, allocations: 1.325 MB / 0.5824 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.314, allocations: 56.03 kB / 0.5824 GB, free: 67.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.423e-06/1.314, allocations: 0 / 0.5824 GB, free: 67.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.04109/1.356, allocations: 10.77 MB / 0.593 GB, free: 64.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.356, allocations: 74.72 kB / 0.593 GB, free: 64.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/1.36, allocations: 2.62 MB / 0.5956 GB, free: 63.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/1.361, allocations: 57.55 kB / 0.5956 GB, free: 63.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.363, allocations: 3.094 MB / 0.5987 GB, free: 61.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.364, allocations: 0.9748 MB / 0.5996 GB, free: 60.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/1.364, allocations: 116.4 kB / 0.5997 GB, free: 60.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004159/1.365, allocations: 0.5653 MB / 0.6003 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/1.369, allocations: 2.321 MB / 0.6025 GB, free: 59.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006567/1.376, allocations: 5.579 MB / 0.608 GB, free: 54.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/1.383, allocations: 3.648 MB / 0.6116 GB, free: 53.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.415e-05/1.383, allocations: 33.44 kB / 0.6116 GB, free: 53.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01973/1.403, allocations: 8.551 MB / 0.6199 GB, free: 48.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.752e-05/1.403, allocations: 52 kB / 0.62 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.403, allocations: 116 kB / 0.6201 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/1.407, allocations: 1.056 MB / 0.6211 GB, free: 47.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.413, allocations: 1.367 MB / 0.6225 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/1.416, allocations: 2.478 MB / 0.6249 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/1.421, allocations: 326.4 kB / 0.6252 GB, free: 43.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.422, allocations: 342.7 kB / 0.6255 GB, free: 43.44 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 () * 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.001271/1.424, allocations: 0.5359 MB / 0.626 GB, free: 42.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/1.424, allocations: 303.6 kB / 0.6263 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.435, allocations: 5.037 MB / 0.6313 GB, free: 38.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.723e-05/1.435, allocations: 46.95 kB / 0.6313 GB, free: 38.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.435, allocations: 0 / 0.6313 GB, free: 38.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.864e-05/1.435, allocations: 10.64 kB / 0.6313 GB, free: 38.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.462, allocations: 11.76 MB / 0.6428 GB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/1.462, allocations: 4.156 kB / 0.6428 GB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.464, allocations: 437.5 kB / 0.6432 GB, free: 28.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003794/1.468, allocations: 0.903 MB / 0.6441 GB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004865/1.468, allocations: 63.12 kB / 0.6442 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/1.471, allocations: 2.277 MB / 0.6464 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.47e-06/1.471, allocations: 11.94 kB / 0.6464 GB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.485, allocations: 8.124 MB / 0.6543 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.486, allocations: 346.6 kB / 0.6547 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.487, allocations: 48 kB / 0.6547 GB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/1.491, allocations: 141.4 kB / 0.6548 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007541/1.492, allocations: 165.3 kB / 0.655 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004158/1.493, allocations: 79.36 kB / 0.6551 GB, free: 17.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005793/1.498, allocations: 1.775 MB / 0.6568 GB, free: 15.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.808e-06/1.498, allocations: 0 / 0.6568 GB, free: 15.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006915/1.505, allocations: 1.049 MB / 0.6578 GB, free: 14.65 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 () * 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.0006509/1.506, allocations: 194.4 kB / 0.658 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.517, allocations: 6.145 MB / 0.664 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.475e-06/1.518, allocations: 0.8125 kB / 0.664 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005028/1.523, allocations: 2.573 MB / 0.6665 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.525, allocations: 449.9 kB / 0.667 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/1.547, allocations: 10.17 MB / 0.6769 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007274/1.554, allocations: 3.753 MB / 0.6806 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.556, allocations: 299.4 kB / 0.6808 GB, free: 7.383 MB / 442.7 MB Notification: Performance of SimCode: time 2.493e-06/1.556, allocations: 4 kB / 0.6808 GB, free: 7.379 MB / 442.7 MB Notification: Performance of Templates: time 0.4086/1.965, allocations: 120 MB / 0.798 GB, free: 40.89 MB / 442.7 MB