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/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.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.876/1.876, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4085, allocations: 85.6 MB / 416.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4087, allocations: 75.97 kB / 417 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1318/0.5405, allocations: 34.56 MB / 451.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5405, allocations: 4 kB / 451.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.5406, allocations: 36 kB / 451.6 MB, free: 5.84 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.006805/0.5475, allocations: 2.291 MB / 453.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5475, allocations: 8.031 kB / 453.9 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.5502, allocations: 384.7 kB / 454.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.5537, allocations: 1.139 MB / 455.4 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.5539, allocations: 147.8 kB / 455.5 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006966/0.5546, allocations: 195.9 kB / 455.7 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.5684, allocations: 4.827 MB / 460.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.5685, allocations: 15.88 kB / 460.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.5689, allocations: 87.94 kB / 460.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/0.5702, allocations: 0.5189 MB / 461.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.5818, allocations: 3.854 MB / 465 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2512/0.833, allocations: 16.62 MB / 481.6 MB, free: 93.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/0.839, allocations: 1.28 MB / 482.9 MB, free: 93.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006558/0.8456, allocations: 4.073 MB / 487 MB, free: 91.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.8457, allocations: 46.25 kB / 487 MB, free: 91.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 3.715e-06/0.8457, allocations: 0 / 487 MB, free: 91.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.008398/0.8541, allocations: 1.789 MB / 488.8 MB, free: 91.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.8542, allocations: 117.7 kB / 488.9 MB, free: 91.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.8566, allocations: 1.395 MB / 490.3 MB, free: 91.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.8567, allocations: 34.48 kB / 490.4 MB, free: 91.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.8575, allocations: 1.408 MB / 491.8 MB, free: 90.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.8577, allocations: 187.6 kB / 491.9 MB, free: 90.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.8578, allocations: 42.78 kB / 492 MB, free: 90.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.858, allocations: 406.5 kB / 492.4 MB, free: 90.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.859, allocations: 0.4997 MB / 492.9 MB, free: 90.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.8605, allocations: 2.023 MB / 494.9 MB, free: 88.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.8621, allocations: 0.9584 MB / 495.9 MB, free: 88.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/0.8622, allocations: 14.59 kB / 495.9 MB, free: 88.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.004424/0.8666, allocations: 2.362 MB / 498.2 MB, free: 87.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.8667, allocations: 31.5 kB / 498.3 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.007e-05/0.8667, allocations: 53.12 kB / 498.3 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.608e-05/0.8668, allocations: 83.41 kB / 498.4 MB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.8686, allocations: 0.5383 MB / 498.9 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-05/0.8687, allocations: 115.8 kB / 499.1 MB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.8707, allocations: 328.4 kB / 499.4 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.8709, allocations: 143.7 kB / 499.5 MB, free: 87.57 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.001392/0.8723, allocations: 0.8533 MB / 0.4886 GB, free: 87.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.8726, allocations: 133.7 kB / 0.4888 GB, free: 87.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.8729, allocations: 150.3 kB / 0.4889 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-06/0.8729, allocations: 6.375 kB / 0.4889 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.818e-06/0.8729, allocations: 3.375 kB / 0.4889 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.405e-06/0.8729, allocations: 9.781 kB / 0.4889 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.8779, allocations: 3.231 MB / 0.4921 GB, free: 85.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.878, allocations: 7.875 kB / 0.4921 GB, free: 85.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.8784, allocations: 96.95 kB / 0.4922 GB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/0.8784, allocations: 15.81 kB / 0.4922 GB, free: 85.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.8784, allocations: 23.88 kB / 0.4922 GB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/0.8785, allocations: 27.2 kB / 0.4923 GB, free: 85.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.8785, allocations: 19.28 kB / 0.4923 GB, free: 85.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8796, allocations: 1.564 MB / 0.4938 GB, free: 83.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.88, allocations: 230.2 kB / 0.494 GB, free: 83.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.8802, allocations: 22.81 kB / 0.494 GB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.8808, allocations: 26.42 kB / 0.4941 GB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.8809, allocations: 73.16 kB / 0.4941 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.881, allocations: 27.09 kB / 0.4942 GB, free: 83.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001569/0.8825, allocations: 0.9603 MB / 0.4951 GB, free: 82.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.8826, allocations: 4 kB / 0.4951 GB, free: 82.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002586/0.8852, allocations: 485.5 kB / 0.4956 GB, free: 82.8 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.00019/0.8854, allocations: 139.3 kB / 0.4957 GB, free: 82.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.8876, allocations: 1.239 MB / 0.4969 GB, free: 82.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.519e-06/0.8876, allocations: 4.062 kB / 0.4969 GB, free: 82.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.888, allocations: 227 kB / 0.4971 GB, free: 82.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.889, allocations: 168.3 kB / 0.4973 GB, free: 82.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.8957, allocations: 4.442 MB / 0.5016 GB, free: 79.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.8975, allocations: 1.739 MB / 0.5033 GB, free: 78.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.8979, allocations: 116.8 kB / 0.5034 GB, free: 78.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/0.8979, allocations: 0 / 0.5034 GB, free: 78.46 MB / 394.7 MB Notification: Performance of Templates: time 0.02996/0.9278, allocations: 19.82 MB / 0.5228 GB, free: 68.21 MB / 394.7 MB