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.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.208e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3144, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4688, allocations: 99.46 MB / 464 MB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.4691, allocations: 71.97 kB / 464.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5841/1.053, allocations: 80.54 MB / 0.5318 GB, free: 105.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.378e-06/1.053, allocations: 0 / 0.5318 GB, free: 105.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002163/1.054, allocations: 73.59 kB / 0.5319 GB, free: 105.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01161/1.065, allocations: 3.782 MB / 0.5356 GB, free: 104.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.065, allocations: 9.625 kB / 0.5356 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/1.088, allocations: 4.289 MB / 0.5398 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/1.102, allocations: 4.488 MB / 0.5442 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/1.102, allocations: 286.5 kB / 0.5445 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/1.104, allocations: 390.2 kB / 0.5448 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/1.125, allocations: 9.549 MB / 0.5542 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/1.125, allocations: 56.06 kB / 0.5542 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008556/1.126, allocations: 190.7 kB / 0.5544 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/1.127, allocations: 0.9473 MB / 0.5553 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/1.146, allocations: 8.01 MB / 0.5631 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04902/1.195, allocations: 43.69 MB / 0.6058 GB, free: 67.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009995/1.205, allocations: 3.66 MB / 0.6094 GB, free: 66.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.208, allocations: 1.949 MB / 0.6113 GB, free: 65.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/1.208, allocations: 334.4 kB / 0.6116 GB, free: 65.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.209, allocations: 50.5 kB / 0.6117 GB, free: 65.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 5.852e-06/1.209, allocations: 3.938 kB / 0.6117 GB, free: 65.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.04039/1.249, allocations: 12.89 MB / 0.6242 GB, free: 58.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.249, allocations: 171.2 kB / 0.6244 GB, free: 57.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/1.255, allocations: 3.192 MB / 0.6275 GB, free: 55.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003741/1.256, allocations: 49.61 kB / 0.6276 GB, free: 55.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.257, allocations: 2.765 MB / 0.6303 GB, free: 52.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007875/1.258, allocations: 0.6785 MB / 0.6309 GB, free: 51.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/1.259, allocations: 108 kB / 0.631 GB, free: 51.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/1.259, allocations: 0.5409 MB / 0.6316 GB, free: 51.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.263, allocations: 2.086 MB / 0.6336 GB, free: 49.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005825/1.269, allocations: 5.384 MB / 0.6389 GB, free: 42.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005898/1.275, allocations: 3.346 MB / 0.6421 GB, free: 39.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/1.275, allocations: 32 kB / 0.6422 GB, free: 39.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01748/1.293, allocations: 7.92 MB / 0.6499 GB, free: 32.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/1.293, allocations: 60.03 kB / 0.6499 GB, free: 32.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/1.293, allocations: 116 kB / 0.6501 GB, free: 32.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/1.296, allocations: 0.9285 MB / 0.651 GB, free: 32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/1.301, allocations: 1.286 MB / 0.6522 GB, free: 30.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/1.31, allocations: 6.091 MB / 0.6582 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/1.316, allocations: 320.9 kB / 0.6585 GB, free: 25.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009996/1.317, allocations: 339.6 kB / 0.6588 GB, free: 24.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001076/1.318, allocations: 0.5128 MB / 0.6593 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/1.318, allocations: 319.5 kB / 0.6596 GB, free: 23.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/1.326, allocations: 3.434 MB / 0.663 GB, free: 20.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/1.326, allocations: 20 kB / 0.663 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.326, allocations: 4 kB / 0.663 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/1.326, allocations: 7.969 kB / 0.663 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.345, allocations: 8.46 MB / 0.6713 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.345, allocations: 1.875 kB / 0.6713 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.347, allocations: 283.6 kB / 0.6715 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/1.349, allocations: 0.7529 MB / 0.6723 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003653/1.349, allocations: 31.95 kB / 0.6723 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00886/1.358, allocations: 5.621 MB / 0.6778 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.012e-06/1.358, allocations: 3.625 kB / 0.6778 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.369, allocations: 6.228 MB / 0.6839 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.372, allocations: 0.6568 MB / 0.6845 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006854/1.372, allocations: 31.98 kB / 0.6845 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.374, allocations: 107.8 kB / 0.6846 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.375, allocations: 96.81 kB / 0.6847 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.375, allocations: 48 kB / 0.6848 GB, free: 14.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005291/1.38, allocations: 2.214 MB / 0.6869 GB, free: 11.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.13e-06/1.38, allocations: 0 / 0.6869 GB, free: 11.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006481/1.387, allocations: 0.9374 MB / 0.6879 GB, free: 10.91 MB / 474.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 (137): * Single equations (assignments): 133 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006384/1.387, allocations: 166.8 kB / 0.688 GB, free: 10.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01123/1.399, allocations: 5.087 MB / 0.693 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.197e-06/1.399, allocations: 0 / 0.693 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00439/1.403, allocations: 1.873 MB / 0.6948 GB, free: 3.777 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.406, allocations: 357.1 kB / 0.6952 GB, free: 3.434 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.425, allocations: 7.737 MB / 0.7027 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006504/1.432, allocations: 3.148 MB / 0.7058 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.433, allocations: 263.4 kB / 0.706 GB, free: 8.266 MB / 490.7 MB Notification: Performance of SimCode: time 1.72e-06/1.433, allocations: 0 / 0.706 GB, free: 8.266 MB / 490.7 MB Notification: Performance of Templates: time 0.3827/1.816, allocations: 69.01 MB / 0.7734 GB, free: 107.7 MB / 490.7 MB