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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.592/1.592, allocations: 171.3 MB / 179.2 MB, free: 7.566 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.563e-05, allocations: 0 / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.434, allocations: 100.9 MB / 362.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4343, allocations: 92.62 kB / 362.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6785/1.113, allocations: 136.5 MB / 498.8 MB, free: 53.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.303e-06/1.113, allocations: 0 / 498.8 MB, free: 53.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00043/1.113, allocations: 167.8 kB / 498.9 MB, free: 53.05 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.02876/1.142, allocations: 7.858 MB / 0.4949 GB, free: 45.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.142, allocations: 12.03 kB / 0.4949 GB, free: 45.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/1.159, allocations: 2.903 MB / 0.4978 GB, free: 42.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02276/1.182, allocations: 8.01 MB / 0.5056 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.182, allocations: 256 kB / 0.5058 GB, free: 33.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003067/1.185, allocations: 463.8 kB / 0.5063 GB, free: 33.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02397/1.209, allocations: 11.38 MB / 0.5174 GB, free: 22.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03599/1.245, allocations: 16.31 MB / 0.5333 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004317/1.246, allocations: 79.28 kB / 0.5334 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002707/1.248, allocations: 47.95 kB / 0.5334 GB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/1.251, allocations: 1.697 MB / 0.5351 GB, free: 2.605 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.5375/1.789, allocations: 79.79 MB / 0.613 GB, free: 6.844 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/1.798, allocations: 6.007 MB / 0.6189 GB, free: 3.965 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007063/1.805, allocations: 4.468 MB / 0.6232 GB, free: 2.051 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/1.807, allocations: 1.149 MB / 0.6244 GB, free: 1.062 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/1.807, allocations: 63.89 kB / 0.6244 GB, free: 1 MB / 346.8 MB Notification: Performance of pre-optimization done (n=318): time 8.831e-06/1.807, allocations: 0 / 0.6244 GB, free: 1 MB / 346.8 MB Notification: Performance of matching and sorting (n=388): time 0.1326/1.94, allocations: 40.52 MB / 0.664 GB, free: 8.969 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.94, allocations: 170.1 kB / 0.6642 GB, free: 8.773 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.951, allocations: 4.671 MB / 0.6687 GB, free: 4.738 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009557/1.952, allocations: 25.7 kB / 0.6687 GB, free: 4.707 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005333/1.958, allocations: 5.028 MB / 0.6737 GB, free: 116 kB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.2386/2.196, allocations: 1.394 MB / 0.675 GB, free: 82.35 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/2.198, allocations: 2.25 kB / 0.675 GB, free: 82.35 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.000998/2.199, allocations: 0.7298 MB / 0.6757 GB, free: 82.02 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009747/2.209, allocations: 4.318 MB / 0.6799 GB, free: 82 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.222, allocations: 9.802 MB / 0.6895 GB, free: 74.93 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/2.235, allocations: 6.445 MB / 0.6958 GB, free: 74.87 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00033/2.235, allocations: 55.91 kB / 0.6959 GB, free: 74.87 MB / 378.8 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.04637/2.282, allocations: 16.55 MB / 0.712 GB, free: 73.88 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/2.282, allocations: 89.25 kB / 0.7121 GB, free: 73.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000282/2.282, allocations: 196.6 kB / 0.7123 GB, free: 73.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/2.298, allocations: 3.785 MB / 0.716 GB, free: 73.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.309, allocations: 2.332 MB / 0.7183 GB, free: 73.6 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04152/2.351, allocations: 25.75 MB / 0.7434 GB, free: 58.72 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.361, allocations: 485 kB / 0.7439 GB, free: 58.69 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.364, allocations: 0.6042 MB / 0.7445 GB, free: 58.61 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1198): * Single equations (assignments): 1183 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002624/2.367, allocations: 0.6019 MB / 0.7451 GB, free: 58.12 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/2.368, allocations: 0.5322 MB / 0.7456 GB, free: 57.83 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/2.394, allocations: 10.32 MB / 0.7557 GB, free: 51.92 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02296/2.417, allocations: 9.014 MB / 0.7645 GB, free: 44.6 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02246/2.44, allocations: 8.907 MB / 0.7732 GB, free: 37.35 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-05/2.44, allocations: 16.36 kB / 0.7732 GB, free: 37.35 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08367/2.524, allocations: 23.74 MB / 0.7964 GB, free: 16.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.876e-05/2.524, allocations: 7.25 kB / 0.7964 GB, free: 16.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008874/2.533, allocations: 0.6591 MB / 0.797 GB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02313/2.556, allocations: 2.977 MB / 0.7999 GB, free: 12.74 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009194/2.557, allocations: 23.98 kB / 0.7999 GB, free: 12.72 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2656/2.823, allocations: 19.77 MB / 0.8192 GB, free: 67.03 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008621/2.831, allocations: 5.505 MB / 0.8246 GB, free: 64.41 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03532/2.867, allocations: 15.97 MB / 0.8402 GB, free: 62.46 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/2.87, allocations: 1.244 MB / 0.8414 GB, free: 62.37 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/2.872, allocations: 19.3 kB / 0.8414 GB, free: 62.37 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005379/2.877, allocations: 229.1 kB / 0.8417 GB, free: 62.37 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/2.879, allocations: 255.4 kB / 0.8419 GB, free: 62.36 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005038/2.879, allocations: 100.2 kB / 0.842 GB, free: 62.36 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.007188/2.887, allocations: 3.137 MB / 0.8451 GB, free: 62.18 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.156e-06/2.887, allocations: 3.625 kB / 0.8451 GB, free: 62.18 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01257/2.899, allocations: 1.894 MB / 0.8469 GB, free: 62.18 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[2],$STATESET0.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * 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%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/2.901, allocations: 225 kB / 0.8471 GB, free: 62.09 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02268/2.923, allocations: 11.27 MB / 0.8581 GB, free: 58.88 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.923, allocations: 0.9844 kB / 0.8581 GB, free: 58.88 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/2.934, allocations: 4.72 MB / 0.8627 GB, free: 56.94 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/2.939, allocations: 0.6657 MB / 0.8634 GB, free: 56.7 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/2.977, allocations: 15.77 MB / 0.8788 GB, free: 50.53 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/2.99, allocations: 5.585 MB / 0.8842 GB, free: 46.97 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/2.993, allocations: 474.2 kB / 0.8847 GB, free: 46.54 MB / 378.8 MB Notification: Performance of SimCode: time 2.06e-06/2.993, allocations: 0 / 0.8847 GB, free: 46.54 MB / 378.8 MB Notification: Performance of Templates: time 0.8459/3.839, allocations: 269.5 MB / 1.148 GB, free: 103.8 MB / 426.8 MB