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.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004524, allocations: 15.98 kB / 314.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3171, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.4637, allocations: 98.17 MB / 467.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.464, allocations: 75.97 kB / 467.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5844/1.048, allocations: 94.63 MB / 0.549 GB, free: 84.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.758e-06/1.048, allocations: 4 kB / 0.549 GB, free: 84.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001688/1.049, allocations: 84 kB / 0.549 GB, free: 84.6 MB / 426.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.01654/1.065, allocations: 4.646 MB / 0.5536 GB, free: 79.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.065, allocations: 8.031 kB / 0.5536 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/1.083, allocations: 3.597 MB / 0.5571 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/1.097, allocations: 4.827 MB / 0.5618 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/1.098, allocations: 353.3 kB / 0.5621 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.1, allocations: 471.8 kB / 0.5626 GB, free: 70.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/1.125, allocations: 11.47 MB / 0.5738 GB, free: 58.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/1.125, allocations: 31.72 kB / 0.5738 GB, free: 58.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.126, allocations: 207.9 kB / 0.574 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/1.128, allocations: 1.248 MB / 0.5752 GB, free: 57.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.151, allocations: 10.96 MB / 0.586 GB, free: 46.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05975/1.211, allocations: 38.44 MB / 0.6235 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009111/1.22, allocations: 4.386 MB / 0.6278 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.221, allocations: 1.323 MB / 0.6291 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.221, allocations: 56.56 kB / 0.6291 GB, free: 0.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.051e-06/1.221, allocations: 0 / 0.6291 GB, free: 0.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05255/1.273, allocations: 14.31 MB / 0.6431 GB, free: 2.125 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/1.274, allocations: 77.41 kB / 0.6432 GB, free: 2.035 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/1.279, allocations: 2.638 MB / 0.6457 GB, free: 15.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000442/1.28, allocations: 61.7 kB / 0.6458 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003061/1.283, allocations: 3.091 MB / 0.6488 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.284, allocations: 0.9752 MB / 0.6498 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/1.285, allocations: 116 kB / 0.6499 GB, free: 11.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005926/1.285, allocations: 0.567 MB / 0.6504 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/1.291, allocations: 2.362 MB / 0.6528 GB, free: 8.137 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008912/1.3, allocations: 5.629 MB / 0.6582 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/1.308, allocations: 3.653 MB / 0.6618 GB, free: 13.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.308, allocations: 32 kB / 0.6618 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02336/1.331, allocations: 8.652 MB / 0.6703 GB, free: 4.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.331, allocations: 56 kB / 0.6703 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.332, allocations: 112 kB / 0.6705 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004661/1.336, allocations: 1.064 MB / 0.6715 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006102/1.342, allocations: 1.365 MB / 0.6728 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.313/1.655, allocations: 2.498 MB / 0.6753 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009541/1.665, allocations: 318.6 kB / 0.6756 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/1.667, allocations: 346.1 kB / 0.6759 GB, free: 117.9 MB / 474.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.008316/1.676, allocations: 2.36 MB / 0.6782 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.677, allocations: 298.6 kB / 0.6785 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/1.695, allocations: 5.083 MB / 0.6835 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.439e-05/1.695, allocations: 47.67 kB / 0.6835 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.695, allocations: 0.6875 kB / 0.6835 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/1.695, allocations: 9.938 kB / 0.6835 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.721, allocations: 11.81 MB / 0.695 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.721, allocations: 6.844 kB / 0.695 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.724, allocations: 427.9 kB / 0.6955 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/1.728, allocations: 0.9057 MB / 0.6963 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/1.728, allocations: 66.91 kB / 0.6964 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/1.731, allocations: 2.305 MB / 0.6987 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.731, allocations: 11.06 kB / 0.6987 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.746, allocations: 8.194 MB / 0.7067 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/1.747, allocations: 346.5 kB / 0.707 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006175/1.748, allocations: 50.42 kB / 0.707 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.749, allocations: 140.4 kB / 0.7072 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.75, allocations: 164.5 kB / 0.7073 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/1.75, allocations: 74.8 kB / 0.7074 GB, free: 112 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003032/1.753, allocations: 1.797 MB / 0.7092 GB, free: 111.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-07/1.753, allocations: 3.562 kB / 0.7092 GB, free: 111.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005848/1.759, allocations: 1.049 MB / 0.7102 GB, free: 111.3 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 () * 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.0005896/1.76, allocations: 202.2 kB / 0.7104 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/1.771, allocations: 6.217 MB / 0.7165 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.771, allocations: 3.625 kB / 0.7165 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005726/1.777, allocations: 2.595 MB / 0.719 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/1.78, allocations: 454.1 kB / 0.7194 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/1.805, allocations: 14.02 MB / 0.7331 GB, free: 99.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00596/1.811, allocations: 3.766 MB / 0.7368 GB, free: 96.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.812, allocations: 295.8 kB / 0.7371 GB, free: 96.42 MB / 474.7 MB Notification: Performance of SimCode: time 1.584e-06/1.812, allocations: 0 / 0.7371 GB, free: 96.42 MB / 474.7 MB Notification: Performance of Templates: time 0.4728/2.285, allocations: 120 MB / 0.8542 GB, free: 135.5 MB / 490.7 MB