Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004337, allocations: 20 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4236, allocations: 102.1 MB / 471.4 MB, free: 4.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4239, allocations: 79.91 kB / 471.5 MB, free: 4.391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5734/0.9973, allocations: 98.84 MB / 0.5569 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.578e-06/0.9973, allocations: 0 / 0.5569 GB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.9976, allocations: 92 kB / 0.557 GB, free: 14.62 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01654/1.014, allocations: 5.462 MB / 0.5623 GB, free: 9.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.014, allocations: 12.03 kB / 0.5624 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02294/1.037, allocations: 4.599 MB / 0.5668 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/1.055, allocations: 6.08 MB / 0.5728 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/1.055, allocations: 356.9 kB / 0.5731 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/1.057, allocations: 467.6 kB / 0.5736 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/1.092, allocations: 12.71 MB / 0.586 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/1.092, allocations: 67.31 kB / 0.586 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/1.094, allocations: 223.9 kB / 0.5863 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002531/1.097, allocations: 1.261 MB / 0.5875 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03005/1.127, allocations: 10.94 MB / 0.5982 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3868/1.514, allocations: 55.76 MB / 0.6526 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/1.533, allocations: 5.957 MB / 0.6584 GB, free: 73.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02316/1.556, allocations: 13.08 MB / 0.6712 GB, free: 71.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/1.556, allocations: 57.38 kB / 0.6713 GB, free: 71.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.921e-06/1.556, allocations: 3.156 kB / 0.6713 GB, free: 71.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.1511/1.708, allocations: 36.14 MB / 0.7066 GB, free: 65.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.708, allocations: 208.5 kB / 0.7068 GB, free: 65.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/1.721, allocations: 3.889 MB / 0.7106 GB, free: 64.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008661/1.722, allocations: 60.88 kB / 0.7106 GB, free: 64.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003724/1.726, allocations: 3.331 MB / 0.7139 GB, free: 61.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.728, allocations: 0.9436 MB / 0.7148 GB, free: 61.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/1.729, allocations: 142.4 kB / 0.7149 GB, free: 60.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007257/1.73, allocations: 0.6011 MB / 0.7155 GB, free: 60.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0113/1.741, allocations: 3.074 MB / 0.7185 GB, free: 59.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/1.755, allocations: 6.96 MB / 0.7253 GB, free: 53.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/1.763, allocations: 4.522 MB / 0.7297 GB, free: 50.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.926e-05/1.763, allocations: 40 kB / 0.7298 GB, free: 50.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.028/1.791, allocations: 12.41 MB / 0.7419 GB, free: 40.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.791, allocations: 64 kB / 0.742 GB, free: 40.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.791, allocations: 136 kB / 0.7421 GB, free: 40.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/1.802, allocations: 3.222 MB / 0.7452 GB, free: 38.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006148/1.808, allocations: 1.547 MB / 0.7467 GB, free: 37.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02719/1.836, allocations: 15.54 MB / 0.7619 GB, free: 23.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006975/1.843, allocations: 473.7 kB / 0.7624 GB, free: 23.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.844, allocations: 402.6 kB / 0.7628 GB, free: 23.1 MB / 474.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.005312/1.849, allocations: 2.341 MB / 0.765 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009775/1.85, allocations: 402.8 kB / 0.7654 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/1.869, allocations: 7.415 MB / 0.7727 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.869, allocations: 31.39 kB / 0.7727 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/1.869, allocations: 14.42 kB / 0.7727 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.303e-05/1.869, allocations: 15.34 kB / 0.7727 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03442/1.903, allocations: 15.02 MB / 0.7874 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-05/1.903, allocations: 0 / 0.7874 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.906, allocations: 383.5 kB / 0.7878 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/1.918, allocations: 2.88 MB / 0.7906 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005717/1.919, allocations: 39.98 kB / 0.7906 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/1.949, allocations: 13.86 MB / 0.8041 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.195e-06/1.949, allocations: 3.375 kB / 0.8041 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/1.977, allocations: 11.39 MB / 0.8153 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002895/1.98, allocations: 0.9135 MB / 0.8162 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007449/1.98, allocations: 40 kB / 0.8162 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.983, allocations: 209.6 kB / 0.8164 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007544/1.984, allocations: 149.7 kB / 0.8165 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/1.985, allocations: 67.98 kB / 0.8166 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006596/1.991, allocations: 2.735 MB / 0.8193 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.066e-06/1.991, allocations: 0 / 0.8193 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007899/1.999, allocations: 1.306 MB / 0.8206 GB, free: 12.75 MB / 0.5105 GB 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.0006495/2, allocations: 181.8 kB / 0.8207 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01775/2.018, allocations: 7.775 MB / 0.8283 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.909e-06/2.018, allocations: 0 / 0.8283 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007051/2.025, allocations: 3.069 MB / 0.8313 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/2.028, allocations: 460.3 kB / 0.8318 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/2.058, allocations: 14.09 MB / 0.8455 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2843/2.342, allocations: 3.768 MB / 0.8492 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/2.344, allocations: 326.5 kB / 0.8495 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.965e-06/2.344, allocations: 0 / 0.8495 GB, free: 161.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.1301/2.474, allocations: 87.87 MB / 0.9353 GB, free: 127.7 MB / 0.5261 GB