Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 1.91/1.91, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004393, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3509, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5014, allocations: 85.6 MB / 417.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5018, allocations: 75.97 kB / 417.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1511/0.6528, allocations: 34.69 MB / 452.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6529, allocations: 0 / 452.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001184/0.653, allocations: 36 kB / 452.2 MB, free: 5.723 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.009571/0.6626, allocations: 2.288 MB / 454.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6627, allocations: 8.031 kB / 454.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.6664, allocations: 380.7 kB / 454.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.6709, allocations: 1.146 MB / 456 MB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.6712, allocations: 147.9 kB / 456.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009527/0.6722, allocations: 188 kB / 456.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.6898, allocations: 4.859 MB / 461.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-05/0.6899, allocations: 11.88 kB / 461.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.6904, allocations: 87.95 kB / 461.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/0.6922, allocations: 0.515 MB / 461.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.7078, allocations: 3.854 MB / 465.7 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3162/1.024, allocations: 16.62 MB / 482.3 MB, free: 93.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/1.031, allocations: 1.276 MB / 483.6 MB, free: 93.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008321/1.04, allocations: 4.077 MB / 487.6 MB, free: 91.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.04, allocations: 46.55 kB / 487.7 MB, free: 91.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 4.158e-06/1.04, allocations: 0 / 487.7 MB, free: 91.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.011/1.051, allocations: 1.788 MB / 489.5 MB, free: 91.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.051, allocations: 118.2 kB / 489.6 MB, free: 91.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/1.054, allocations: 1.562 MB / 491.2 MB, free: 91.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.054, allocations: 33.48 kB / 491.2 MB, free: 91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.055, allocations: 1.414 MB / 492.6 MB, free: 90.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.056, allocations: 177.6 kB / 492.8 MB, free: 90.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/1.056, allocations: 47.78 kB / 492.8 MB, free: 90.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/1.056, allocations: 408 kB / 493.2 MB, free: 89.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.057, allocations: 0.4975 MB / 493.7 MB, free: 89.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/1.06, allocations: 2.033 MB / 495.8 MB, free: 87.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/1.062, allocations: 0.9566 MB / 496.7 MB, free: 87.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.286e-05/1.062, allocations: 15.88 kB / 496.7 MB, free: 87.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006045/1.068, allocations: 2.37 MB / 499.1 MB, free: 87.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/1.068, allocations: 26.84 kB / 499.1 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-05/1.068, allocations: 57.16 kB / 499.2 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.856e-05/1.068, allocations: 78.22 kB / 499.3 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.071, allocations: 0.5435 MB / 499.8 MB, free: 87.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.261e-05/1.071, allocations: 111.3 kB / 499.9 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.074, allocations: 328 kB / 0.4885 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/1.074, allocations: 144.9 kB / 0.4886 GB, free: 87.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 292 * 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.001881/1.076, allocations: 0.8501 MB / 0.4895 GB, free: 86.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/1.077, allocations: 135.4 kB / 0.4896 GB, free: 86.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/1.077, allocations: 150.4 kB / 0.4897 GB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.077, allocations: 7.156 kB / 0.4897 GB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.077, allocations: 0 / 0.4897 GB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.077, allocations: 9.344 kB / 0.4898 GB, free: 86.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/1.084, allocations: 3.229 MB / 0.4929 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.084, allocations: 11.53 kB / 0.4929 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/1.084, allocations: 99.86 kB / 0.493 GB, free: 85.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/1.084, allocations: 23.08 kB / 0.493 GB, free: 85.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/1.084, allocations: 30.94 kB / 0.4931 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/1.084, allocations: 15.72 kB / 0.4931 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.084, allocations: 23.56 kB / 0.4931 GB, free: 85.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.086, allocations: 0.8456 MB / 0.4939 GB, free: 84.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/1.086, allocations: 228.8 kB / 0.4941 GB, free: 84.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.086, allocations: 25.11 kB / 0.4942 GB, free: 84.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/1.087, allocations: 27.61 kB / 0.4942 GB, free: 84.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/1.087, allocations: 69.55 kB / 0.4943 GB, free: 84.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/1.087, allocations: 27.5 kB / 0.4943 GB, free: 84.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001918/1.089, allocations: 0.9629 MB / 0.4952 GB, free: 83.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.089, allocations: 0 / 0.4952 GB, free: 83.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002776/1.092, allocations: 494.2 kB / 0.4957 GB, free: 83.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * 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 (50): * Single equations (assignments): 50 * 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.0002808/1.092, allocations: 136.2 kB / 0.4958 GB, free: 83.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002843/1.095, allocations: 1.24 MB / 0.497 GB, free: 83.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.095, allocations: 4.406 kB / 0.497 GB, free: 83.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/1.096, allocations: 227.8 kB / 0.4973 GB, free: 82.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.097, allocations: 163.4 kB / 0.4974 GB, free: 82.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/1.105, allocations: 4.467 MB / 0.5018 GB, free: 80.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/1.108, allocations: 1.741 MB / 0.5035 GB, free: 79.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/1.108, allocations: 108.2 kB / 0.5036 GB, free: 79.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/1.108, allocations: 0 / 0.5036 GB, free: 79.26 MB / 394.7 MB Notification: Performance of Templates: time 0.04057/1.149, allocations: 19.82 MB / 0.5229 GB, free: 68.98 MB / 394.7 MB