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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.288/2.288, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.977e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 54.87 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.4207, allocations: 98.78 MB / 456.8 MB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4211, allocations: 75.95 kB / 456.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5147/0.9358, allocations: 78.88 MB / 0.5232 GB, free: 45.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.959e-06/0.9359, allocations: 0 / 0.5232 GB, free: 45.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.936, allocations: 68 kB / 0.5233 GB, free: 45.34 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.0112/0.9473, allocations: 3.777 MB / 0.527 GB, free: 41.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.9473, allocations: 8.031 kB / 0.527 GB, free: 41.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/0.9685, allocations: 4.281 MB / 0.5312 GB, free: 37.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.9813, allocations: 4.502 MB / 0.5356 GB, free: 32.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.9815, allocations: 128.5 kB / 0.5357 GB, free: 32.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.9829, allocations: 228.2 kB / 0.5359 GB, free: 32.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01098/0.9939, allocations: 5.629 MB / 0.5414 GB, free: 26.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/1.011, allocations: 8.678 MB / 0.5499 GB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/1.011, allocations: 59.52 kB / 0.5499 GB, free: 17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009782/1.012, allocations: 28 kB / 0.55 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/1.013, allocations: 0.9435 MB / 0.5509 GB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05556/1.069, allocations: 41.86 MB / 0.5918 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/1.074, allocations: 3.231 MB / 0.5949 GB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/1.078, allocations: 1.911 MB / 0.5968 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/1.078, allocations: 340.3 kB / 0.5971 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/1.079, allocations: 47.34 kB / 0.5971 GB, free: 15.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 8.108e-06/1.079, allocations: 3.984 kB / 0.5971 GB, free: 15.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.03679/1.115, allocations: 13.1 MB / 0.6099 GB, free: 2.004 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.116, allocations: 179.5 kB / 0.6101 GB, free: 1.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/1.121, allocations: 2.741 MB / 0.6128 GB, free: 15.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.121, allocations: 25.7 kB / 0.6128 GB, free: 15.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002783/1.124, allocations: 2.872 MB / 0.6156 GB, free: 12.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.125, allocations: 0.667 MB / 0.6163 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/1.126, allocations: 0 / 0.6163 GB, free: 11.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005473/1.126, allocations: 0.5544 MB / 0.6168 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004454/1.131, allocations: 2.022 MB / 0.6188 GB, free: 8.832 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008038/1.139, allocations: 5.475 MB / 0.6241 GB, free: 1.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3004/1.439, allocations: 3.31 MB / 0.6274 GB, free: 107.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.439, allocations: 34.97 kB / 0.6274 GB, free: 107.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=748) (initialization): time 0.02026/1.46, allocations: 7.4 MB / 0.6346 GB, free: 107.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/1.46, allocations: 56.06 kB / 0.6347 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.46, allocations: 123.9 kB / 0.6348 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004431/1.465, allocations: 0.9366 MB / 0.6357 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/1.47, allocations: 1.334 MB / 0.637 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009183/1.479, allocations: 5.747 MB / 0.6426 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/1.488, allocations: 221.8 kB / 0.6428 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.49, allocations: 353.3 kB / 0.6432 GB, free: 105.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (700): * Single equations (assignments): 696 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001549/1.491, allocations: 411.2 kB / 0.6436 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.492, allocations: 285.2 kB / 0.6438 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009721/1.502, allocations: 3.302 MB / 0.6471 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/1.502, allocations: 20.36 kB / 0.6471 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.502, allocations: 3.062 kB / 0.6471 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/1.502, allocations: 12.42 kB / 0.6471 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/1.519, allocations: 7.649 MB / 0.6546 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.519, allocations: 4.781 kB / 0.6546 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.521, allocations: 287.1 kB / 0.6548 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/1.523, allocations: 0.7386 MB / 0.6556 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/1.524, allocations: 11.88 kB / 0.6556 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008557/1.532, allocations: 5.267 MB / 0.6607 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.951e-06/1.532, allocations: 3.953 kB / 0.6607 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.542, allocations: 6.088 MB / 0.6667 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.544, allocations: 0.6175 MB / 0.6673 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/1.544, allocations: 7.188 kB / 0.6673 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.546, allocations: 81.41 kB / 0.6674 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/1.546, allocations: 94.61 kB / 0.6674 GB, free: 98.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.547, allocations: 42.94 kB / 0.6675 GB, free: 98.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003124/1.55, allocations: 1.834 MB / 0.6693 GB, free: 97.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.55, allocations: 3 kB / 0.6693 GB, free: 97.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005711/1.556, allocations: 0.8021 MB / 0.6701 GB, free: 97.73 MB / 458.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.000467/1.556, allocations: 141.2 kB / 0.6702 GB, free: 97.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009017/1.565, allocations: 5.011 MB / 0.6751 GB, free: 95.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.327e-06/1.565, allocations: 2.438 kB / 0.6751 GB, free: 95.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.569, allocations: 1.824 MB / 0.6769 GB, free: 95.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.571, allocations: 299.8 kB / 0.6772 GB, free: 94.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.585, allocations: 7.64 MB / 0.6846 GB, free: 88.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003995/1.589, allocations: 3.134 MB / 0.6877 GB, free: 85.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.59, allocations: 258.6 kB / 0.6879 GB, free: 85.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.051e-06/1.59, allocations: 0 / 0.6879 GB, free: 85.46 MB / 458.7 MB Notification: Performance of Templates: time 0.08538/1.675, allocations: 67.01 MB / 0.7534 GB, free: 25.93 MB / 458.7 MB