Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003598, allocations: 8 kB / 264 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08084, allocations: 44.49 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4443, allocations: 107.4 MB / 415.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4446, allocations: 92.83 kB / 415.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7614/1.206, allocations: 140.1 MB / 0.5431 GB, free: 60.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.572e-06/1.206, allocations: 0 / 0.5431 GB, free: 60.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004758/1.207, allocations: 158.7 kB / 0.5432 GB, free: 60.5 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.03078/1.237, allocations: 8.345 MB / 0.5514 GB, free: 57.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.237, allocations: 7.188 kB / 0.5514 GB, free: 57.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.254, allocations: 2.902 MB / 0.5542 GB, free: 56.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02371/1.278, allocations: 8.047 MB / 0.5621 GB, free: 55.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.279, allocations: 0.5904 MB / 0.5626 GB, free: 55.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003348/1.282, allocations: 0.7784 MB / 0.5634 GB, free: 55.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05082/1.333, allocations: 19.29 MB / 0.5822 GB, free: 50.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004563/1.334, allocations: 88.97 kB / 0.5823 GB, free: 50.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003076/1.337, allocations: 363.2 kB / 0.5827 GB, free: 50.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003063/1.34, allocations: 1.693 MB / 0.5843 GB, free: 50.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04175/1.382, allocations: 16.35 MB / 0.6003 GB, free: 42.26 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4467/1.828, allocations: 80.57 MB / 0.679 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03302/1.861, allocations: 8.931 MB / 0.6877 GB, free: 40.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03901/1.901, allocations: 19.66 MB / 0.7069 GB, free: 37.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.901, allocations: 62.81 kB / 0.7069 GB, free: 37.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 8.47e-06/1.901, allocations: 0 / 0.7069 GB, free: 37.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.1566/2.057, allocations: 44.78 MB / 0.7507 GB, free: 27.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01972/2.077, allocations: 12.92 MB / 0.7633 GB, free: 18.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/2.088, allocations: 5.38 MB / 0.7685 GB, free: 15.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008809/2.089, allocations: 82.52 kB / 0.7686 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003585/2.093, allocations: 4.948 MB / 0.7735 GB, free: 11.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/2.095, allocations: 1.369 MB / 0.7748 GB, free: 9.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/2.096, allocations: 193 kB / 0.775 GB, free: 9.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007582/2.097, allocations: 0.7102 MB / 0.7757 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009822/2.107, allocations: 4.361 MB / 0.7799 GB, free: 5.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01559/2.122, allocations: 9.738 MB / 0.7894 GB, free: 10.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/2.137, allocations: 6.383 MB / 0.7957 GB, free: 4.711 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/2.137, allocations: 52 kB / 0.7957 GB, free: 4.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.04859/2.186, allocations: 17.2 MB / 0.8125 GB, free: 6.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/2.186, allocations: 90.52 kB / 0.8126 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003238/2.186, allocations: 188.8 kB / 0.8128 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/2.201, allocations: 3.588 MB / 0.8163 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/2.211, allocations: 2.231 MB / 0.8185 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3158/2.527, allocations: 27.81 MB / 0.8456 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.538, allocations: 0.621 MB / 0.8462 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/2.54, allocations: 0.5805 MB / 0.8468 GB, free: 114.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1134 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.009648/2.55, allocations: 3.545 MB / 0.8503 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/2.551, allocations: 0.5618 MB / 0.8508 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02757/2.579, allocations: 10.29 MB / 0.8609 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02443/2.603, allocations: 8.994 MB / 0.8696 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02393/2.627, allocations: 9.406 MB / 0.8788 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.883e-05/2.628, allocations: 14.39 kB / 0.8788 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05997/2.688, allocations: 24.39 MB / 0.9027 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/2.688, allocations: 3.844 kB / 0.9027 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0044/2.692, allocations: 0.6156 MB / 0.9033 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/2.704, allocations: 3.002 MB / 0.9062 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009291/2.705, allocations: 73.8 kB / 0.9063 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03794/2.743, allocations: 21.56 MB / 0.9273 GB, free: 90.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009491/2.753, allocations: 6.018 MB / 0.9332 GB, free: 86.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03283/2.785, allocations: 15.56 MB / 0.9484 GB, free: 75.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004032/2.789, allocations: 1.25 MB / 0.9496 GB, free: 74.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001911/2.791, allocations: 66.86 kB / 0.9497 GB, free: 74.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004864/2.796, allocations: 274.9 kB / 0.9499 GB, free: 74.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.798, allocations: 240.7 kB / 0.9502 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006154/2.798, allocations: 109.5 kB / 0.9503 GB, free: 74.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008605/2.807, allocations: 3.771 MB / 0.954 GB, free: 71.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.252e-06/2.807, allocations: 1.594 kB / 0.954 GB, free: 71.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01247/2.819, allocations: 2.08 MB / 0.956 GB, free: 69.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.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 (278): * Single equations (assignments): 270 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/2.821, allocations: 286.9 kB / 0.9563 GB, free: 68.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02142/2.842, allocations: 11.29 MB / 0.9673 GB, free: 59.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.843, allocations: 2.031 kB / 0.9673 GB, free: 59.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01025/2.853, allocations: 4.744 MB / 0.9719 GB, free: 55.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/2.858, allocations: 0.7972 MB / 0.9727 GB, free: 54.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04173/2.9, allocations: 21.63 MB / 0.9938 GB, free: 33.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2729/3.173, allocations: 5.55 MB / 0.9993 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/3.176, allocations: 476.7 kB / 0.9997 GB, free: 112 MB / 474.7 MB Notification: Performance of SimCode: time 2.812e-06/3.176, allocations: 0 / 0.9997 GB, free: 112 MB / 474.7 MB Notification: Performance of Templates: time 0.6272/3.803, allocations: 270.5 MB / 1.264 GB, free: 64.14 MB / 474.7 MB