Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.368/2.368, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000586/0.0005861, allocations: 12 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.338, allocations: 54.87 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5165, allocations: 102.1 MB / 471.9 MB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5169, allocations: 79.95 kB / 472 MB, free: 4.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6873/1.204, allocations: 99.61 MB / 0.5582 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.126e-06/1.204, allocations: 0 / 0.5582 GB, free: 14.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002744/1.205, allocations: 91.94 kB / 0.5583 GB, free: 13.93 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.02293/1.228, allocations: 5.466 MB / 0.5636 GB, free: 8.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.228, allocations: 8.031 kB / 0.5636 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03339/1.261, allocations: 4.603 MB / 0.5681 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/1.283, allocations: 6.086 MB / 0.5741 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/1.284, allocations: 349 kB / 0.5744 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003082/1.287, allocations: 463.8 kB / 0.5748 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04407/1.331, allocations: 12.74 MB / 0.5873 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004265/1.332, allocations: 71.3 kB / 0.5873 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002912/1.335, allocations: 227.9 kB / 0.5876 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003339/1.338, allocations: 1.261 MB / 0.5888 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03821/1.376, allocations: 10.94 MB / 0.5995 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4557/1.832, allocations: 55.77 MB / 0.6539 GB, free: 73.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0255/1.858, allocations: 5.94 MB / 0.6597 GB, free: 72.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03153/1.889, allocations: 13.08 MB / 0.6725 GB, free: 70.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.889, allocations: 56.5 kB / 0.6726 GB, free: 70.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.501e-06/1.889, allocations: 3.375 kB / 0.6726 GB, free: 70.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.1793/2.069, allocations: 36.51 MB / 0.7082 GB, free: 64.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/2.069, allocations: 207.1 kB / 0.7084 GB, free: 64.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009895/2.079, allocations: 4.37 MB / 0.7127 GB, free: 62.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007867/2.08, allocations: 64.7 kB / 0.7127 GB, free: 62.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002863/2.082, allocations: 3.323 MB / 0.716 GB, free: 60.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001622/2.084, allocations: 0.9488 MB / 0.7169 GB, free: 59.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009256/2.085, allocations: 136.6 kB / 0.717 GB, free: 59.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004538/2.086, allocations: 0.5954 MB / 0.7176 GB, free: 59.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007706/2.093, allocations: 3.073 MB / 0.7206 GB, free: 58.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/2.104, allocations: 6.99 MB / 0.7275 GB, free: 51.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/2.114, allocations: 4.523 MB / 0.7319 GB, free: 48.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/2.115, allocations: 40 kB / 0.7319 GB, free: 48.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03863/2.153, allocations: 12.39 MB / 0.744 GB, free: 38.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.153, allocations: 60 kB / 0.7441 GB, free: 38.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002427/2.154, allocations: 143.4 kB / 0.7442 GB, free: 38.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/2.17, allocations: 3.204 MB / 0.7473 GB, free: 36.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009763/2.18, allocations: 1.546 MB / 0.7488 GB, free: 35.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03616/2.216, allocations: 15.54 MB / 0.764 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008776/2.225, allocations: 477.6 kB / 0.7645 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/2.226, allocations: 407.1 kB / 0.7649 GB, free: 21.23 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.006874/2.233, allocations: 2.338 MB / 0.7671 GB, free: 19.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/2.234, allocations: 406.8 kB / 0.7675 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02532/2.26, allocations: 7.395 MB / 0.7747 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-05/2.26, allocations: 30.66 kB / 0.7748 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/2.26, allocations: 8 kB / 0.7748 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.88e-05/2.26, allocations: 15.95 kB / 0.7748 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04475/2.305, allocations: 14.99 MB / 0.7894 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/2.305, allocations: 0 / 0.7894 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004214/2.309, allocations: 387.4 kB / 0.7898 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01676/2.326, allocations: 2.86 MB / 0.7926 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007465/2.327, allocations: 40 kB / 0.7926 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03821/2.365, allocations: 13.86 MB / 0.8062 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.365, allocations: 0 / 0.8062 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03659/2.402, allocations: 11.28 MB / 0.8172 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003694/2.405, allocations: 0.9176 MB / 0.8181 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/2.407, allocations: 43.78 kB / 0.8181 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004112/2.411, allocations: 199.7 kB / 0.8183 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/2.412, allocations: 149.7 kB / 0.8185 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003376/2.412, allocations: 69.16 kB / 0.8185 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008065/2.42, allocations: 2.735 MB / 0.8212 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/2.42, allocations: 0 / 0.8212 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009008/2.429, allocations: 1.312 MB / 0.8225 GB, free: 10.9 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.001149/2.431, allocations: 183.5 kB / 0.8227 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02301/2.454, allocations: 7.76 MB / 0.8302 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/2.454, allocations: 4 kB / 0.8302 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009565/2.463, allocations: 3.072 MB / 0.8332 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/2.468, allocations: 458.6 kB / 0.8337 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/2.507, allocations: 14.13 MB / 0.8475 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3656/2.873, allocations: 3.761 MB / 0.8511 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/2.875, allocations: 327.4 kB / 0.8515 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/2.875, allocations: 2.594 kB / 0.8515 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1696/3.045, allocations: 87.87 MB / 0.9373 GB, free: 125.6 MB / 0.5261 GB