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.909/1.909, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.745e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08768, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4325, allocations: 85.51 MB / 412 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4329, allocations: 81.31 kB / 412.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1554/0.5883, allocations: 34.58 MB / 446.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.367e-06/0.5883, allocations: 0 / 446.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.5884, allocations: 36 kB / 446.7 MB, free: 7.938 MB / 346.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.006552/0.595, allocations: 2.193 MB / 448.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5951, allocations: 15.97 kB / 448.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.5977, allocations: 384.7 kB / 449.3 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.6012, allocations: 1.126 MB / 450.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.6014, allocations: 150 kB / 450.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007075/0.6021, allocations: 195.2 kB / 450.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.615, allocations: 4.777 MB / 455.6 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.6152, allocations: 15.88 kB / 455.6 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003467/0.6155, allocations: 87.45 kB / 455.7 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001332/0.6169, allocations: 0.5142 MB / 456.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.6281, allocations: 3.789 MB / 460 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.6592, allocations: 16.63 MB / 476.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006316/0.6656, allocations: 1.27 MB / 477.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.667, allocations: 0.6989 MB / 478.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007751/0.6748, allocations: 4.066 MB / 482.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.6749, allocations: 54.23 kB / 482.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 3.787e-06/0.6749, allocations: 0 / 482.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.008513/0.6834, allocations: 1.463 MB / 484.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.6836, allocations: 106.9 kB / 484.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.6864, allocations: 1.386 MB / 485.6 MB, free: 2.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/0.6866, allocations: 33.7 kB / 485.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.6879, allocations: 1.409 MB / 487.1 MB, free: 1.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.6882, allocations: 182 kB / 487.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6883, allocations: 48 kB / 487.3 MB, free: 1.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/0.6886, allocations: 403.4 kB / 487.7 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.6898, allocations: 0.4887 MB / 488.2 MB, free: 204 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.6923, allocations: 2.001 MB / 490.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.6944, allocations: 0.9671 MB / 491.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/0.6944, allocations: 16 kB / 491.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005522/0.7, allocations: 2.338 MB / 493.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.7001, allocations: 28.19 kB / 493.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.46e-05/0.7002, allocations: 56 kB / 493.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.7003, allocations: 84.03 kB / 493.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.7025, allocations: 0.542 MB / 494.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.7027, allocations: 107.6 kB / 494.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.705, allocations: 324.6 kB / 494.6 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.7052, allocations: 140 kB / 494.8 MB, free: 8.824 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 () * 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.0004657/0.7057, allocations: 310.7 kB / 495.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.706, allocations: 134.2 kB / 495.2 MB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.7064, allocations: 157.3 kB / 495.4 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-06/0.7064, allocations: 4 kB / 495.4 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.7064, allocations: 4 kB / 495.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7065, allocations: 7.922 kB / 495.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006757/0.7132, allocations: 3.217 MB / 498.6 MB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/0.7133, allocations: 15.98 kB / 498.6 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.7138, allocations: 91.84 kB / 498.7 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.162e-05/0.7138, allocations: 16 kB / 498.7 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.7139, allocations: 27.89 kB / 498.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/0.7139, allocations: 24.45 kB / 498.8 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.714, allocations: 19.94 kB / 498.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.7159, allocations: 1.56 MB / 0.4886 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.7164, allocations: 227.2 kB / 0.4888 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.7166, allocations: 27.98 kB / 0.4889 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.7173, allocations: 16 kB / 0.4889 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.7174, allocations: 75.73 kB / 0.489 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.7175, allocations: 24 kB / 0.489 GB, free: 2.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001982/0.7195, allocations: 0.9574 MB / 0.4899 GB, free: 1.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.161e-06/0.7195, allocations: 0 / 0.4899 GB, free: 1.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002754/0.7223, allocations: 481.9 kB / 0.4904 GB, free: 0.6719 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 () * 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.0002521/0.7225, allocations: 146.9 kB / 0.4905 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.7254, allocations: 1.218 MB / 0.4917 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.7254, allocations: 4 kB / 0.4917 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.726, allocations: 226.5 kB / 0.4919 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7271, allocations: 169.2 kB / 0.4921 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.7343, allocations: 2.988 MB / 0.495 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/0.7369, allocations: 1.733 MB / 0.4967 GB, free: 9.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.7374, allocations: 111.4 kB / 0.4968 GB, free: 9.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.856e-06/0.7374, allocations: 0 / 0.4968 GB, free: 9.875 MB / 410.7 MB Notification: Performance of Templates: time 0.03861/0.776, allocations: 19.83 MB / 0.5162 GB, free: 6.043 MB / 426.7 MB