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.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.095e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08588, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4421, allocations: 95.19 MB / 421.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4424, allocations: 72.34 kB / 421.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3959/0.8384, allocations: 98.78 MB / 0.5084 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.8384, allocations: 0 / 0.5084 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000272/0.8387, allocations: 96 kB / 0.5085 GB, free: 0.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01789/0.8566, allocations: 5.121 MB / 0.5135 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.8567, allocations: 8.031 kB / 0.5135 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.025/0.8817, allocations: 4.607 MB / 0.518 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.9013, allocations: 6.057 MB / 0.5239 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/0.9019, allocations: 341 kB / 0.5242 GB, free: 228 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2428/1.145, allocations: 462.5 kB / 0.5247 GB, free: 87.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/1.177, allocations: 12.58 MB / 0.5369 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003144/1.177, allocations: 74.98 kB / 0.537 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.179, allocations: 223.3 kB / 0.5372 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/1.181, allocations: 1.256 MB / 0.5385 GB, free: 84.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/1.211, allocations: 10.73 MB / 0.5489 GB, free: 84.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07086/1.282, allocations: 55.72 MB / 0.6034 GB, free: 47.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/1.302, allocations: 5.922 MB / 0.6091 GB, free: 45.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004608/1.307, allocations: 3.034 MB / 0.6121 GB, free: 44.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/1.33, allocations: 13.05 MB / 0.6248 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.33, allocations: 57.59 kB / 0.6249 GB, free: 37.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.404e-06/1.33, allocations: 0 / 0.6249 GB, free: 37.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1081/1.438, allocations: 30.56 MB / 0.6547 GB, free: 16.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/1.438, allocations: 217.8 kB / 0.6549 GB, free: 15.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006805/1.445, allocations: 3.811 MB / 0.6587 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005361/1.446, allocations: 65.64 kB / 0.6587 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/1.448, allocations: 3.33 MB / 0.662 GB, free: 9.512 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.449, allocations: 0.942 MB / 0.6629 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/1.45, allocations: 136 kB / 0.663 GB, free: 8.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000389/1.45, allocations: 0.5968 MB / 0.6636 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005602/1.456, allocations: 2.989 MB / 0.6665 GB, free: 5.324 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008969/1.465, allocations: 6.876 MB / 0.6733 GB, free: 12.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01706/1.482, allocations: 4.476 MB / 0.6776 GB, free: 9.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000214/1.482, allocations: 40 kB / 0.6777 GB, free: 9.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.3129/1.795, allocations: 12.24 MB / 0.6896 GB, free: 87.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.795, allocations: 64.2 kB / 0.6897 GB, free: 87.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.795, allocations: 140 kB / 0.6898 GB, free: 87.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/1.807, allocations: 3.207 MB / 0.6929 GB, free: 87.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/1.814, allocations: 1.547 MB / 0.6944 GB, free: 87.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/1.845, allocations: 14.93 MB / 0.709 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/1.852, allocations: 477.5 kB / 0.7095 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.853, allocations: 410.4 kB / 0.7099 GB, free: 86.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001649/1.855, allocations: 0.6083 MB / 0.7105 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009348/1.856, allocations: 405.8 kB / 0.7109 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.875, allocations: 7.367 MB / 0.718 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/1.875, allocations: 25.34 kB / 0.7181 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/1.875, allocations: 13.97 kB / 0.7181 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.296e-05/1.875, allocations: 12.7 kB / 0.7181 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03629/1.912, allocations: 14.98 MB / 0.7327 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/1.912, allocations: 0 / 0.7327 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/1.915, allocations: 380.4 kB / 0.7331 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/1.926, allocations: 2.872 MB / 0.7359 GB, free: 82.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005751/1.927, allocations: 42.88 kB / 0.7359 GB, free: 82.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/1.952, allocations: 13.23 MB / 0.7489 GB, free: 76.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.223e-06/1.952, allocations: 2.438 kB / 0.7489 GB, free: 76.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/1.977, allocations: 11.33 MB / 0.7599 GB, free: 72.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.98, allocations: 0.9141 MB / 0.7608 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/1.981, allocations: 42.77 kB / 0.7609 GB, free: 72.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/1.984, allocations: 208.1 kB / 0.7611 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000895/1.985, allocations: 151.3 kB / 0.7612 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003766/1.986, allocations: 66.16 kB / 0.7613 GB, free: 72.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006063/1.992, allocations: 2.662 MB / 0.7639 GB, free: 71.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.992, allocations: 0 / 0.7639 GB, free: 71.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007746/2, allocations: 1.315 MB / 0.7651 GB, free: 71.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006996/2, allocations: 175.8 kB / 0.7653 GB, free: 70.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01503/2.015, allocations: 7.649 MB / 0.7728 GB, free: 67.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.651e-06/2.016, allocations: 3.938 kB / 0.7728 GB, free: 67.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005822/2.021, allocations: 3.023 MB / 0.7757 GB, free: 64.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/2.024, allocations: 479 kB / 0.7762 GB, free: 64.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/2.046, allocations: 10.31 MB / 0.7863 GB, free: 55.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006194/2.052, allocations: 3.773 MB / 0.7899 GB, free: 52.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/2.054, allocations: 325.4 kB / 0.7903 GB, free: 52.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/2.054, allocations: 0 / 0.7903 GB, free: 52.07 MB / 442.7 MB Notification: Performance of Templates: time 0.3862/2.44, allocations: 87.76 MB / 0.876 GB, free: 81.3 MB / 458.7 MB