Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 11.98 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07239, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4475, allocations: 101.6 MB / 373.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4478, allocations: 89.58 kB / 373.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6929/1.141, allocations: 140.1 MB / 0.5017 GB, free: 49.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.141, allocations: 0 / 0.5017 GB, free: 49.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004119/1.141, allocations: 156 kB / 0.5019 GB, free: 49.69 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.02831/1.17, allocations: 8.345 MB / 0.51 GB, free: 41.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.17, allocations: 8.031 kB / 0.51 GB, free: 41.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/1.186, allocations: 2.907 MB / 0.5129 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02234/1.208, allocations: 8.049 MB / 0.5207 GB, free: 30.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/1.209, allocations: 0.5778 MB / 0.5213 GB, free: 29.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003199/1.212, allocations: 0.7809 MB / 0.5221 GB, free: 28.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04744/1.259, allocations: 19.27 MB / 0.5409 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/1.26, allocations: 83.27 kB / 0.541 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002782/1.263, allocations: 371.8 kB / 0.5413 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002915/1.266, allocations: 1.696 MB / 0.543 GB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5056/1.771, allocations: 16.33 MB / 0.5589 GB, free: 45.66 MB / 346.8 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.1249/1.896, allocations: 80.57 MB / 0.6376 GB, free: 13.48 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03241/1.929, allocations: 8.933 MB / 0.6463 GB, free: 10.85 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04451/1.973, allocations: 19.76 MB / 0.6656 GB, free: 14.49 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.734e-05/1.973, allocations: 60.56 kB / 0.6657 GB, free: 14.42 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 7.966e-06/1.974, allocations: 1.781 kB / 0.6657 GB, free: 14.42 MB / 378.8 MB Notification: Performance of matching and sorting (n=366): time 0.4123/2.386, allocations: 44.96 MB / 0.7096 GB, free: 90.15 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02026/2.406, allocations: 12.92 MB / 0.7222 GB, free: 83.54 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/2.418, allocations: 5.386 MB / 0.7275 GB, free: 83.06 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009044/2.419, allocations: 84.75 kB / 0.7276 GB, free: 83.03 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003654/2.422, allocations: 4.936 MB / 0.7324 GB, free: 80.52 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002035/2.424, allocations: 1.368 MB / 0.7337 GB, free: 79.73 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/2.426, allocations: 193.6 kB / 0.7339 GB, free: 79.73 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0009155/2.427, allocations: 0.7141 MB / 0.7346 GB, free: 79.4 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009802/2.437, allocations: 4.355 MB / 0.7388 GB, free: 79.38 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/2.449, allocations: 9.748 MB / 0.7484 GB, free: 71.66 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/2.461, allocations: 6.392 MB / 0.7546 GB, free: 69.35 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/2.462, allocations: 53.78 kB / 0.7547 GB, free: 69.35 MB / 394.8 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.04315/2.505, allocations: 17.18 MB / 0.7714 GB, free: 63.41 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.505, allocations: 89.38 kB / 0.7715 GB, free: 63.41 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/2.505, allocations: 191 kB / 0.7717 GB, free: 63.41 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01326/2.519, allocations: 3.587 MB / 0.7752 GB, free: 62.72 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/2.529, allocations: 2.23 MB / 0.7774 GB, free: 62.46 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04211/2.571, allocations: 27.81 MB / 0.8045 GB, free: 41.95 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/2.581, allocations: 0.6236 MB / 0.8051 GB, free: 41.45 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/2.583, allocations: 0.5742 MB / 0.8057 GB, free: 40.91 MB / 394.8 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.008073/2.591, allocations: 3.544 MB / 0.8092 GB, free: 37.79 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.593, allocations: 0.5669 MB / 0.8097 GB, free: 37.21 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02423/2.617, allocations: 10.3 MB / 0.8198 GB, free: 28.97 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02201/2.639, allocations: 8.983 MB / 0.8285 GB, free: 21.64 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2576/2.897, allocations: 9.402 MB / 0.8377 GB, free: 78.5 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.335e-05/2.897, allocations: 17.69 kB / 0.8377 GB, free: 78.5 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06365/2.96, allocations: 24.39 MB / 0.8616 GB, free: 77.29 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/2.96, allocations: 3.938 kB / 0.8616 GB, free: 77.29 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004551/2.965, allocations: 0.6138 MB / 0.8622 GB, free: 77.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/2.977, allocations: 2.991 MB / 0.8651 GB, free: 77.26 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009501/2.978, allocations: 79.61 kB / 0.8652 GB, free: 77.25 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03811/3.017, allocations: 21.59 MB / 0.8862 GB, free: 67.8 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009738/3.026, allocations: 6.014 MB / 0.8921 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03357/3.06, allocations: 15.55 MB / 0.9073 GB, free: 57.35 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003991/3.064, allocations: 1.252 MB / 0.9085 GB, free: 56.96 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001732/3.066, allocations: 72.88 kB / 0.9086 GB, free: 56.92 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005013/3.071, allocations: 269.3 kB / 0.9089 GB, free: 56.88 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/3.072, allocations: 244.7 kB / 0.9091 GB, free: 56.84 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005948/3.073, allocations: 103.7 kB / 0.9092 GB, free: 56.82 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.009137/3.082, allocations: 3.776 MB / 0.9129 GB, free: 55.54 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.527e-06/3.082, allocations: 0 / 0.9129 GB, free: 55.54 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01236/3.094, allocations: 2.086 MB / 0.9149 GB, free: 55.33 MB / 394.8 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.001419/3.096, allocations: 283 kB / 0.9152 GB, free: 55.2 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0212/3.117, allocations: 11.29 MB / 0.9262 GB, free: 48.79 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/3.117, allocations: 0 / 0.9262 GB, free: 48.79 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01156/3.129, allocations: 4.748 MB / 0.9308 GB, free: 44.65 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00533/3.134, allocations: 0.7871 MB / 0.9316 GB, free: 44.01 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/3.174, allocations: 21.61 MB / 0.9527 GB, free: 24.44 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/3.185, allocations: 5.554 MB / 0.9581 GB, free: 20.36 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002596/3.188, allocations: 474.6 kB / 0.9586 GB, free: 19.92 MB / 394.8 MB Notification: Performance of SimCode: time 2.235e-06/3.188, allocations: 0 / 0.9586 GB, free: 19.92 MB / 394.8 MB Notification: Performance of Templates: time 0.8539/4.042, allocations: 270.3 MB / 1.223 GB, free: 58.86 MB / 426.8 MB