Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.113, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.5847, allocations: 107.4 MB / 416.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.5851, allocations: 100.3 kB / 416.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9592/1.544, allocations: 141 MB / 0.5444 GB, free: 67.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.035e-06/1.544, allocations: 0 / 0.5444 GB, free: 67.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005328/1.545, allocations: 158 kB / 0.5445 GB, free: 67.21 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.04301/1.588, allocations: 8.343 MB / 0.5527 GB, free: 64.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.588, allocations: 10.94 kB / 0.5527 GB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/1.611, allocations: 2.897 MB / 0.5555 GB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02926/1.64, allocations: 8.062 MB / 0.5634 GB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007348/1.641, allocations: 0.584 MB / 0.564 GB, free: 62.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004314/1.646, allocations: 0.7783 MB / 0.5647 GB, free: 62.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06318/1.709, allocations: 19.35 MB / 0.5836 GB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006058/1.709, allocations: 91.27 kB / 0.5837 GB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004031/1.713, allocations: 362.5 kB / 0.5841 GB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004063/1.718, allocations: 1.687 MB / 0.5857 GB, free: 58.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05384/1.771, allocations: 16.35 MB / 0.6017 GB, free: 55.79 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.1414/1.913, allocations: 80.59 MB / 0.6804 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4404/2.353, allocations: 9.597 MB / 0.6897 GB, free: 78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05464/2.408, allocations: 19.65 MB / 0.7089 GB, free: 74.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/2.408, allocations: 62.81 kB / 0.709 GB, free: 74.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 7.304e-06/2.408, allocations: 2.406 kB / 0.709 GB, free: 74.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.2129/2.621, allocations: 44.79 MB / 0.7527 GB, free: 65.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02368/2.645, allocations: 12.91 MB / 0.7653 GB, free: 56.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/2.659, allocations: 6.054 MB / 0.7712 GB, free: 54.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/2.66, allocations: 81.7 kB / 0.7713 GB, free: 54.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004486/2.665, allocations: 4.942 MB / 0.7761 GB, free: 50.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002736/2.667, allocations: 1.372 MB / 0.7775 GB, free: 49.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/2.669, allocations: 190.4 kB / 0.7777 GB, free: 49.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00113/2.67, allocations: 0.7188 MB / 0.7784 GB, free: 49.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/2.682, allocations: 4.351 MB / 0.7826 GB, free: 47.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01579/2.698, allocations: 9.786 MB / 0.7922 GB, free: 38.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/2.714, allocations: 6.378 MB / 0.7984 GB, free: 35.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002504/2.714, allocations: 56 kB / 0.7985 GB, free: 35.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.05567/2.77, allocations: 17.16 MB / 0.8152 GB, free: 21.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/2.77, allocations: 88 kB / 0.8153 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003425/2.77, allocations: 190.4 kB / 0.8155 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01958/2.79, allocations: 3.576 MB / 0.819 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/2.805, allocations: 2.217 MB / 0.8211 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4001/3.205, allocations: 27.82 MB / 0.8483 GB, free: 77.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/3.218, allocations: 0.6192 MB / 0.8489 GB, free: 77.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/3.221, allocations: 0.5746 MB / 0.8495 GB, free: 77.28 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.01294/3.234, allocations: 3.546 MB / 0.8529 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002618/3.237, allocations: 0.5621 MB / 0.8535 GB, free: 77.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03849/3.275, allocations: 10.27 MB / 0.8635 GB, free: 76.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03161/3.307, allocations: 8.975 MB / 0.8723 GB, free: 76.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.04477/3.352, allocations: 9.38 MB / 0.8814 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/3.352, allocations: 23.19 kB / 0.8815 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1069/3.459, allocations: 24.37 MB / 0.9053 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.967e-05/3.459, allocations: 3.531 kB / 0.9053 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006445/3.465, allocations: 0.6201 MB / 0.9059 GB, free: 67.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/3.482, allocations: 2.982 MB / 0.9088 GB, free: 67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001216/3.484, allocations: 71.12 kB / 0.9088 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05393/3.537, allocations: 21.57 MB / 0.9299 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01105/3.549, allocations: 6.027 MB / 0.9358 GB, free: 51.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0429/3.592, allocations: 14.64 MB / 0.9501 GB, free: 45.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005043/3.597, allocations: 1.248 MB / 0.9513 GB, free: 44.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002708/3.599, allocations: 71.41 kB / 0.9514 GB, free: 44.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006958/3.606, allocations: 272.3 kB / 0.9516 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001678/3.608, allocations: 245.5 kB / 0.9519 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005503/3.609, allocations: 99.17 kB / 0.952 GB, free: 43.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0102/3.619, allocations: 3.778 MB / 0.9557 GB, free: 40.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/3.619, allocations: 0 / 0.9557 GB, free: 40.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01555/3.635, allocations: 2.089 MB / 0.9577 GB, free: 38.59 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.00251/3.637, allocations: 279.8 kB / 0.958 GB, free: 38.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03764/3.675, allocations: 11.29 MB / 0.969 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/3.675, allocations: 0 / 0.969 GB, free: 28.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01878/3.694, allocations: 4.738 MB / 0.9736 GB, free: 24.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009916/3.704, allocations: 0.8105 MB / 0.9744 GB, free: 24.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07292/3.777, allocations: 21.68 MB / 0.9956 GB, free: 4.465 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4666/4.243, allocations: 5.557 MB / 1.001 GB, free: 71.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00484/4.248, allocations: 472.4 kB / 1.001 GB, free: 71.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/4.248, allocations: 0 / 1.001 GB, free: 71.05 MB / 442.7 MB Notification: Performance of Templates: time 0.9009/5.149, allocations: 270.5 MB / 1.266 GB, free: 64.01 MB / 474.7 MB