Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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) 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_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 2.298/2.298, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09849, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6614/0.7599, allocations: 107.4 MB / 416.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/0.7604, allocations: 98.8 kB / 416.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8914/1.652, allocations: 141 MB / 0.5445 GB, free: 67.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.652, allocations: 0 / 0.5445 GB, free: 67.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005302/1.652, allocations: 161.3 kB / 0.5446 GB, free: 67.71 MB / 410.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.03953/1.692, allocations: 8.339 MB / 0.5528 GB, free: 64.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.692, allocations: 7.688 kB / 0.5528 GB, free: 64.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/1.714, allocations: 2.902 MB / 0.5556 GB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02878/1.743, allocations: 8.064 MB / 0.5635 GB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/1.744, allocations: 0.58 MB / 0.5641 GB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005337/1.749, allocations: 0.7749 MB / 0.5648 GB, free: 63.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08493/1.834, allocations: 19.28 MB / 0.5836 GB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007251/1.835, allocations: 89.34 kB / 0.5837 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00496/1.84, allocations: 371.2 kB / 0.5841 GB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005147/1.845, allocations: 1.685 MB / 0.5857 GB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06821/1.913, allocations: 16.35 MB / 0.6017 GB, free: 55.93 MB / 410.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.1366/2.05, allocations: 80.59 MB / 0.6804 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3972/2.447, allocations: 9.539 MB / 0.6897 GB, free: 78.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05179/2.499, allocations: 19.65 MB / 0.7089 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/2.499, allocations: 62.66 kB / 0.709 GB, free: 74.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 7.614e-06/2.499, allocations: 2.906 kB / 0.709 GB, free: 74.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.2636/2.763, allocations: 44.78 MB / 0.7527 GB, free: 65.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02345/2.786, allocations: 12.92 MB / 0.7653 GB, free: 56.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/2.801, allocations: 6.055 MB / 0.7712 GB, free: 54.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001227/2.802, allocations: 76.8 kB / 0.7713 GB, free: 54.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004847/2.807, allocations: 5.135 MB / 0.7763 GB, free: 50.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002695/2.81, allocations: 1.367 MB / 0.7776 GB, free: 49.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002077/2.812, allocations: 193.9 kB / 0.7778 GB, free: 49.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000896/2.813, allocations: 0.7091 MB / 0.7785 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/2.824, allocations: 4.352 MB / 0.7828 GB, free: 47.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/2.84, allocations: 9.745 MB / 0.7923 GB, free: 38.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/2.855, allocations: 6.382 MB / 0.7985 GB, free: 35.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002153/2.856, allocations: 52 kB / 0.7986 GB, free: 34.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.07149/2.927, allocations: 17.38 MB / 0.8155 GB, free: 20.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002121/2.927, allocations: 84.19 kB / 0.8156 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004101/2.928, allocations: 196 kB / 0.8158 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02623/2.954, allocations: 3.574 MB / 0.8193 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/2.973, allocations: 2.221 MB / 0.8215 GB, free: 16.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4284/3.402, allocations: 27.89 MB / 0.8487 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/3.415, allocations: 0.6156 MB / 0.8493 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002924/3.418, allocations: 0.5746 MB / 0.8499 GB, free: 77.48 MB / 442.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.01194/3.43, allocations: 3.549 MB / 0.8533 GB, free: 77.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/3.432, allocations: 0.5643 MB / 0.8539 GB, free: 77.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/3.469, allocations: 10.28 MB / 0.8639 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03247/3.502, allocations: 8.976 MB / 0.8727 GB, free: 76.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03901/3.541, allocations: 9.376 MB / 0.8818 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/3.541, allocations: 19.83 kB / 0.8819 GB, free: 75.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07829/3.62, allocations: 24.37 MB / 0.9057 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.876e-05/3.62, allocations: 3.781 kB / 0.9057 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006596/3.626, allocations: 0.619 MB / 0.9063 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01668/3.643, allocations: 2.978 MB / 0.9092 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/3.644, allocations: 71.92 kB / 0.9092 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04651/3.691, allocations: 21.57 MB / 0.9303 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01144/3.702, allocations: 6.015 MB / 0.9362 GB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05733/3.76, allocations: 14.65 MB / 0.9505 GB, free: 44.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007076/3.767, allocations: 1.251 MB / 0.9517 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003842/3.771, allocations: 67.66 kB / 0.9518 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009487/3.78, allocations: 271.5 kB / 0.952 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002588/3.783, allocations: 246.1 kB / 0.9523 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001434/3.784, allocations: 102.2 kB / 0.9524 GB, free: 43.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01435/3.799, allocations: 3.773 MB / 0.956 GB, free: 40.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/3.799, allocations: 0 / 0.956 GB, free: 40.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01797/3.817, allocations: 2.082 MB / 0.9581 GB, free: 38.24 MB / 442.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.002621/3.82, allocations: 286.9 kB / 0.9584 GB, free: 38.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02821/3.848, allocations: 11.29 MB / 0.9694 GB, free: 28.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/3.848, allocations: 0 / 0.9694 GB, free: 28.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01388/3.862, allocations: 4.746 MB / 0.974 GB, free: 24.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/3.872, allocations: 0.7956 MB / 0.9748 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05358/3.926, allocations: 20.83 MB / 0.9951 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3591/4.285, allocations: 5.556 MB / 1.001 GB, free: 87.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01651/4.302, allocations: 3.097 MB / 1.004 GB, free: 87.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003356/4.305, allocations: 405.6 kB / 1.004 GB, free: 87.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/4.305, allocations: 0.9062 kB / 1.004 GB, free: 87.23 MB / 458.7 MB Notification: Performance of Templates: time 0.2851/4.59, allocations: 80.88 MB / 1.083 GB, free: 73.23 MB / 458.7 MB