Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006972/0.0006973, allocations: 12 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1194, allocations: 38.76 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5697, allocations: 101.6 MB / 374.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.5701, allocations: 98.52 kB / 374.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8267/1.397, allocations: 140.9 MB / 0.5032 GB, free: 48.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.397, allocations: 0 / 0.5032 GB, free: 48.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005265/1.397, allocations: 156 kB / 0.5033 GB, free: 48.36 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.04008/1.438, allocations: 8.329 MB / 0.5115 GB, free: 39.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.438, allocations: 11.97 kB / 0.5115 GB, free: 39.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02503/1.463, allocations: 2.915 MB / 0.5143 GB, free: 37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04035/1.503, allocations: 8.045 MB / 0.5222 GB, free: 28.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009443/1.504, allocations: 0.5817 MB / 0.5227 GB, free: 28.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005174/1.509, allocations: 0.777 MB / 0.5235 GB, free: 27.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0712/1.581, allocations: 19.27 MB / 0.5423 GB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005808/1.581, allocations: 83.27 kB / 0.5424 GB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004105/1.585, allocations: 375.8 kB / 0.5428 GB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003893/1.589, allocations: 1.688 MB / 0.5444 GB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5858/2.175, allocations: 16.33 MB / 0.5604 GB, free: 45.46 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.1399/2.315, allocations: 80.57 MB / 0.639 GB, free: 12.92 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04577/2.361, allocations: 8.936 MB / 0.6478 GB, free: 10.3 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05482/2.416, allocations: 19.66 MB / 0.667 GB, free: 12.92 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.976e-05/2.416, allocations: 63.41 kB / 0.667 GB, free: 12.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 7.634e-06/2.416, allocations: 4 kB / 0.667 GB, free: 12.85 MB / 378.8 MB Notification: Performance of matching and sorting (n=366): time 0.4956/2.911, allocations: 44.77 MB / 0.7107 GB, free: 90.3 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02556/2.937, allocations: 12.93 MB / 0.7234 GB, free: 83.7 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01646/2.954, allocations: 6.052 MB / 0.7293 GB, free: 83.18 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001202/2.955, allocations: 81.16 kB / 0.7293 GB, free: 83.15 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00507/2.96, allocations: 5.13 MB / 0.7344 GB, free: 80.53 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002702/2.963, allocations: 1.365 MB / 0.7357 GB, free: 79.73 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/2.965, allocations: 191.5 kB / 0.7359 GB, free: 79.73 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0009263/2.966, allocations: 0.7132 MB / 0.7366 GB, free: 79.41 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/2.977, allocations: 4.352 MB / 0.7408 GB, free: 79.38 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/2.993, allocations: 9.745 MB / 0.7503 GB, free: 71.41 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/3.008, allocations: 6.387 MB / 0.7566 GB, free: 69.11 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002293/3.008, allocations: 56 kB / 0.7566 GB, free: 69.11 MB / 394.8 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.0547/3.063, allocations: 17.37 MB / 0.7736 GB, free: 63.07 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/3.063, allocations: 87 kB / 0.7737 GB, free: 63.07 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003052/3.063, allocations: 188.9 kB / 0.7738 GB, free: 63.07 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01882/3.082, allocations: 3.579 MB / 0.7773 GB, free: 62.38 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/3.096, allocations: 2.22 MB / 0.7795 GB, free: 62.13 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05263/3.149, allocations: 27.82 MB / 0.8067 GB, free: 40.34 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/3.162, allocations: 0.6169 MB / 0.8073 GB, free: 39.85 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/3.165, allocations: 0.5763 MB / 0.8078 GB, free: 39.3 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.01062/3.176, allocations: 3.537 MB / 0.8113 GB, free: 36.19 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/3.178, allocations: 0.5657 MB / 0.8119 GB, free: 35.62 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03632/3.214, allocations: 10.28 MB / 0.8219 GB, free: 27.38 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03246/3.246, allocations: 8.97 MB / 0.8307 GB, free: 20.05 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3268/3.573, allocations: 9.372 MB / 0.8398 GB, free: 79.93 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/3.573, allocations: 23.91 kB / 0.8398 GB, free: 79.93 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08122/3.655, allocations: 24.35 MB / 0.8636 GB, free: 78.7 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.126e-05/3.655, allocations: 5.469 kB / 0.8636 GB, free: 78.7 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006426/3.661, allocations: 0.622 MB / 0.8642 GB, free: 78.7 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0215/3.683, allocations: 2.98 MB / 0.8671 GB, free: 78.66 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/3.684, allocations: 73.58 kB / 0.8672 GB, free: 78.66 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06508/3.749, allocations: 21.57 MB / 0.8883 GB, free: 68.88 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01245/3.762, allocations: 6.017 MB / 0.8941 GB, free: 64.88 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04548/3.807, allocations: 14.65 MB / 0.9084 GB, free: 59.49 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00537/3.813, allocations: 1.256 MB / 0.9097 GB, free: 59.11 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00279/3.816, allocations: 67.06 kB / 0.9097 GB, free: 59.06 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008106/3.824, allocations: 275.6 kB / 0.91 GB, free: 59.02 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002731/3.827, allocations: 241.3 kB / 0.9102 GB, free: 58.98 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0015/3.828, allocations: 107.9 kB / 0.9103 GB, free: 58.96 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01591/3.844, allocations: 3.769 MB / 0.914 GB, free: 57.69 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.242e-06/3.844, allocations: 0 / 0.914 GB, free: 57.69 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01449/3.859, allocations: 2.082 MB / 0.916 GB, free: 57.47 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.001964/3.861, allocations: 279.8 kB / 0.9163 GB, free: 57.34 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02691/3.888, allocations: 11.3 MB / 0.9273 GB, free: 49.04 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/3.888, allocations: 0 / 0.9273 GB, free: 49.04 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01366/3.901, allocations: 4.735 MB / 0.932 GB, free: 44.91 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007618/3.909, allocations: 0.7957 MB / 0.9327 GB, free: 44.27 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04842/3.958, allocations: 20.82 MB / 0.9531 GB, free: 25.33 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/3.971, allocations: 5.561 MB / 0.9585 GB, free: 21.24 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01846/3.99, allocations: 3.095 MB / 0.9615 GB, free: 18.26 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004332/3.994, allocations: 403.3 kB / 0.9619 GB, free: 17.87 MB / 394.8 MB Notification: Performance of SimCode: time 2.545e-06/3.994, allocations: 0 / 0.9619 GB, free: 17.87 MB / 394.8 MB Notification: Performance of Templates: time 0.6273/4.621, allocations: 80.86 MB / 1.041 GB, free: 78.1 MB / 410.8 MB