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.863/1.863, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 19.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4315, allocations: 95.27 MB / 426.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4318, allocations: 79.97 kB / 426.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5878/1.02, allocations: 98.7 MB / 0.513 GB, free: 84.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.814e-06/1.02, allocations: 0 / 0.513 GB, free: 84.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000247/1.02, allocations: 91.94 kB / 0.5131 GB, free: 84.54 MB / 394.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.01696/1.037, allocations: 5.461 MB / 0.5184 GB, free: 79.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.037, allocations: 12.03 kB / 0.5185 GB, free: 79.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02319/1.06, allocations: 4.596 MB / 0.5229 GB, free: 74.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/1.077, allocations: 6.085 MB / 0.5289 GB, free: 68.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/1.078, allocations: 345.5 kB / 0.5292 GB, free: 68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.08, allocations: 463.8 kB / 0.5297 GB, free: 67.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03102/1.111, allocations: 12.7 MB / 0.5421 GB, free: 53.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.111, allocations: 67.41 kB / 0.5421 GB, free: 53.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/1.113, allocations: 219.9 kB / 0.5423 GB, free: 53.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/1.115, allocations: 1.261 MB / 0.5436 GB, free: 52.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/1.142, allocations: 10.94 MB / 0.5542 GB, free: 41.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07315/1.215, allocations: 55.74 MB / 0.6087 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02155/1.236, allocations: 5.959 MB / 0.6145 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2755/1.512, allocations: 13.06 MB / 0.6273 GB, free: 106.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.512, allocations: 60.27 kB / 0.6273 GB, free: 106.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.513e-06/1.512, allocations: 5.031 kB / 0.6273 GB, free: 106.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1352/1.647, allocations: 36.15 MB / 0.6626 GB, free: 100.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/1.647, allocations: 209 kB / 0.6628 GB, free: 100.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007869/1.655, allocations: 3.888 MB / 0.6666 GB, free: 99.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005537/1.656, allocations: 64.2 kB / 0.6667 GB, free: 99.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.658, allocations: 3.326 MB / 0.6699 GB, free: 96.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.659, allocations: 0.9542 MB / 0.6708 GB, free: 95.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006987/1.66, allocations: 136.3 kB / 0.671 GB, free: 95.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004141/1.661, allocations: 0.5947 MB / 0.6716 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006325/1.667, allocations: 3.074 MB / 0.6746 GB, free: 94.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008661/1.676, allocations: 6.959 MB / 0.6814 GB, free: 88.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008675/1.684, allocations: 4.518 MB / 0.6858 GB, free: 85.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.684, allocations: 39.39 kB / 0.6858 GB, free: 85.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.02994/1.714, allocations: 12.42 MB / 0.6979 GB, free: 75.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.715, allocations: 67.95 kB / 0.698 GB, free: 75.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.715, allocations: 139.9 kB / 0.6981 GB, free: 75.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/1.726, allocations: 3.216 MB / 0.7013 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006436/1.733, allocations: 1.547 MB / 0.7028 GB, free: 71.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.76, allocations: 15.54 MB / 0.718 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007016/1.768, allocations: 471.3 kB / 0.7184 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.769, allocations: 409.1 kB / 0.7188 GB, free: 57.27 MB / 426.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 () * Number of clocked 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.00514/1.774, allocations: 2.329 MB / 0.7211 GB, free: 54.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/1.775, allocations: 410.8 kB / 0.7215 GB, free: 54.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/1.793, allocations: 7.41 MB / 0.7287 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/1.793, allocations: 27.95 kB / 0.7287 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/1.793, allocations: 12 kB / 0.7287 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/1.793, allocations: 11.95 kB / 0.7288 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03405/1.827, allocations: 15.02 MB / 0.7434 GB, free: 31.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/1.827, allocations: 0 / 0.7434 GB, free: 31.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.83, allocations: 383.4 kB / 0.7438 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/1.841, allocations: 2.878 MB / 0.7466 GB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005712/1.841, allocations: 51.94 kB / 0.7466 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02555/1.867, allocations: 13.85 MB / 0.7602 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.832e-06/1.867, allocations: 0 / 0.7602 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02393/1.891, allocations: 11.38 MB / 0.7713 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.894, allocations: 0.9213 MB / 0.7722 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.895, allocations: 43.14 kB / 0.7722 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.899, allocations: 203.7 kB / 0.7724 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009003/1.9, allocations: 152.8 kB / 0.7726 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/1.9, allocations: 63.98 kB / 0.7726 GB, free: 1.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006812/1.907, allocations: 2.731 MB / 0.7753 GB, free: 15.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.729e-06/1.907, allocations: 0 / 0.7753 GB, free: 15.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008305/1.915, allocations: 1.312 MB / 0.7766 GB, free: 13.77 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 () * Number of clocked 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.0008155/1.916, allocations: 184.4 kB / 0.7768 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3057/2.222, allocations: 7.763 MB / 0.7843 GB, free: 118 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.335e-06/2.222, allocations: 3.969 kB / 0.7843 GB, free: 118 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007003/2.229, allocations: 3.073 MB / 0.7873 GB, free: 117.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/2.232, allocations: 464.3 kB / 0.7878 GB, free: 117.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/2.262, allocations: 14.08 MB / 0.8015 GB, free: 113.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/2.268, allocations: 3.763 MB / 0.8052 GB, free: 112.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.27, allocations: 333.7 kB / 0.8055 GB, free: 112.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.6e-06/2.27, allocations: 0 / 0.8055 GB, free: 112.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1205/2.391, allocations: 87.81 MB / 0.8913 GB, free: 53.55 MB / 442.7 MB