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.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.02/2.02, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.841e-05, allocations: 7.984 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3921, allocations: 84.85 MB / 404.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.3924, allocations: 71.97 kB / 404.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.5185, allocations: 33.91 MB / 438.8 MB, free: 9.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.708e-06/0.5185, allocations: 3.938 kB / 438.8 MB, free: 9.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.723e-05/0.5186, allocations: 36 kB / 438.9 MB, free: 9.246 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.005954/0.5246, allocations: 2.186 MB / 441.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5246, allocations: 12.03 kB / 441.1 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.5271, allocations: 384.7 kB / 441.5 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.5306, allocations: 1.133 MB / 442.6 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5307, allocations: 64 kB / 442.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.5312, allocations: 108 kB / 442.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005892/0.5371, allocations: 2.746 MB / 445.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2265/0.7637, allocations: 3.762 MB / 449.3 MB, free: 95.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.717e-05/0.7638, allocations: 12.2 kB / 449.3 MB, free: 95.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/0.7641, allocations: 6.938 kB / 449.3 MB, free: 95.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/0.7655, allocations: 0.5154 MB / 449.8 MB, free: 95.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.788, allocations: 15.52 MB / 465.3 MB, free: 88.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.7893, allocations: 0.8377 MB / 466.2 MB, free: 88.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.7902, allocations: 0.6558 MB / 466.8 MB, free: 88.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005129/0.7954, allocations: 3.507 MB / 470.3 MB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.7954, allocations: 44.91 kB / 470.4 MB, free: 86.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.883e-06/0.7954, allocations: 3.281 kB / 470.4 MB, free: 86.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.004361/0.7998, allocations: 1.048 MB / 471.4 MB, free: 86.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.7999, allocations: 113.8 kB / 471.5 MB, free: 85.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.8018, allocations: 1.274 MB / 472.8 MB, free: 85.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.8019, allocations: 25.7 kB / 472.8 MB, free: 85.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/0.8026, allocations: 1.502 MB / 474.3 MB, free: 84.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.8027, allocations: 137 kB / 474.5 MB, free: 84.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.8028, allocations: 0 / 474.5 MB, free: 84.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.803, allocations: 410.4 kB / 474.9 MB, free: 83.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/0.8038, allocations: 475.2 kB / 475.3 MB, free: 83.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.8052, allocations: 2.06 MB / 477.4 MB, free: 81.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.8066, allocations: 0.9373 MB / 478.3 MB, free: 81.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/0.8067, allocations: 17.41 kB / 478.3 MB, free: 81.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.003741/0.8104, allocations: 2.109 MB / 480.5 MB, free: 80.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.8105, allocations: 33.38 kB / 480.5 MB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.539e-05/0.8106, allocations: 60.22 kB / 480.5 MB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.492e-05/0.8107, allocations: 84.09 kB / 480.6 MB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.8125, allocations: 0.5617 MB / 481.2 MB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-05/0.8126, allocations: 117.8 kB / 481.3 MB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.8146, allocations: 287.4 kB / 481.6 MB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.8148, allocations: 160.9 kB / 481.7 MB, free: 80.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (307): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.8151, allocations: 247.4 kB / 482 MB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.8153, allocations: 127.9 kB / 482.1 MB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.8156, allocations: 137.4 kB / 482.2 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.8156, allocations: 0 / 482.2 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8156, allocations: 3.906 kB / 482.2 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8156, allocations: 0 / 482.2 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.8195, allocations: 2.511 MB / 484.8 MB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8196, allocations: 7.625 kB / 484.8 MB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.8199, allocations: 70.34 kB / 484.8 MB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.82, allocations: 18.97 kB / 484.8 MB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.82, allocations: 11.16 kB / 484.9 MB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.82, allocations: 11.34 kB / 484.9 MB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.8201, allocations: 18.86 kB / 484.9 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.8209, allocations: 1.189 MB / 486.1 MB, free: 77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.8213, allocations: 211.3 kB / 486.3 MB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.8214, allocations: 18.66 kB / 486.3 MB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.8221, allocations: 21.88 kB / 486.3 MB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.8221, allocations: 48.94 kB / 486.4 MB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.8222, allocations: 19.31 kB / 486.4 MB, free: 76.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.8234, allocations: 0.8319 MB / 487.2 MB, free: 76.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.8235, allocations: 0 / 487.2 MB, free: 76.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002416/0.8259, allocations: 453.3 kB / 487.7 MB, free: 76.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.8261, allocations: 117.7 kB / 487.8 MB, free: 76.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.828, allocations: 1.122 MB / 488.9 MB, free: 75.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.8281, allocations: 4.531 kB / 488.9 MB, free: 75.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.8283, allocations: 173.7 kB / 489.1 MB, free: 75.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/0.8291, allocations: 120.7 kB / 489.2 MB, free: 75.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.8342, allocations: 2.845 MB / 492 MB, free: 74.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.836, allocations: 1.729 MB / 493.8 MB, free: 72.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.8363, allocations: 111.4 kB / 493.9 MB, free: 72.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.855e-06/0.8363, allocations: 0 / 493.9 MB, free: 72.61 MB / 378.7 MB Notification: Performance of Templates: time 0.02845/0.8648, allocations: 18.97 MB / 0.5008 GB, free: 55.55 MB / 378.7 MB