Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.963/1.963, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08051, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3413/0.4218, allocations: 83.29 MB / 391.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04392/0.4658, allocations: 19.27 MB / 410.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01941/0.4853, allocations: 434.9 kB / 411.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.4975, allocations: 4.3 MB / 415.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03836/0.5359, allocations: 11.66 MB / 427.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006692/0.5426, allocations: 1.295 MB / 428.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00969/0.5524, allocations: 4.089 MB / 432.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.5725, allocations: 10.6 MB / 443.3 MB, free: 308 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.5766, allocations: 1.895 MB / 445.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.5811, allocations: 2.278 MB / 447.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.5822, allocations: 256 kB / 447.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.5861, allocations: 1.377 MB / 449.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.5906, allocations: 2.844 MB / 451.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.5932, allocations: 1.501 MB / 453.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.6092, allocations: 10.61 MB / 464 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.965e-06/0.6092, allocations: 4 kB / 464 MB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.972e-06/0.6092, allocations: 0 / 464 MB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002638/0.6095, allocations: 0 / 464 MB, free: 11.5 MB / 362.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.02238/0.6319, allocations: 8.023 MB / 472.1 MB, free: 3.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.632, allocations: 8.031 kB / 472.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.6443, allocations: 2.712 MB / 474.8 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.6571, allocations: 4.949 MB / 479.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/0.6577, allocations: 484.5 kB / 480.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/0.6604, allocations: 0.648 MB / 480.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04836/0.7088, allocations: 18.94 MB / 499.8 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/0.7091, allocations: 63.31 kB / 499.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.7107, allocations: 299.8 kB / 0.4884 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005746/0.7165, allocations: 2.859 MB / 0.4912 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04569/0.7622, allocations: 16.28 MB / 0.5071 GB, free: 3.055 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.5474/1.31, allocations: 70.32 MB / 0.5758 GB, free: 108.7 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/1.342, allocations: 8.969 MB / 0.5845 GB, free: 103.3 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03549/1.378, allocations: 19.79 MB / 0.6039 GB, free: 83.23 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/1.378, allocations: 68.5 kB / 0.6039 GB, free: 83.15 MB / 426.8 MB Notification: Performance of pre-optimization done (n=308): time 7.732e-06/1.378, allocations: 0 / 0.6039 GB, free: 83.15 MB / 426.8 MB Notification: Performance of matching and sorting (n=366): time 0.1433/1.521, allocations: 45.18 MB / 0.6481 GB, free: 37.57 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01769/1.539, allocations: 12.92 MB / 0.6607 GB, free: 23.86 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.549, allocations: 6.296 MB / 0.6668 GB, free: 17.55 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007986/1.55, allocations: 79.27 kB / 0.6669 GB, free: 17.47 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003098/1.553, allocations: 4.938 MB / 0.6717 GB, free: 12.54 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001806/1.555, allocations: 1.371 MB / 0.6731 GB, free: 11.18 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008906/1.556, allocations: 191.8 kB / 0.6732 GB, free: 10.99 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005588/1.557, allocations: 0.7159 MB / 0.6739 GB, free: 10.27 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008418/1.565, allocations: 4.395 MB / 0.6782 GB, free: 5.863 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2376/1.803, allocations: 9.795 MB / 0.6878 GB, free: 136.3 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/1.817, allocations: 6.422 MB / 0.6941 GB, free: 135.3 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003278/1.817, allocations: 54.25 kB / 0.6941 GB, free: 135.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.04424/1.862, allocations: 17.22 MB / 0.7109 GB, free: 129.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/1.862, allocations: 87.66 kB / 0.711 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/1.862, allocations: 189.9 kB / 0.7112 GB, free: 129.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01357/1.876, allocations: 3.574 MB / 0.7147 GB, free: 128.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009971/1.886, allocations: 2.207 MB / 0.7168 GB, free: 128.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04813/1.934, allocations: 27.85 MB / 0.744 GB, free: 103.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/1.952, allocations: 0.6132 MB / 0.7446 GB, free: 102.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003039/1.955, allocations: 0.579 MB / 0.7452 GB, free: 102.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * 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 (1144): * Single equations (assignments): 1127 * Array equations: 10 * 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.01276/1.967, allocations: 3.538 MB / 0.7487 GB, free: 98.66 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/1.97, allocations: 0.5634 MB / 0.7492 GB, free: 98.4 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0457/2.016, allocations: 10.31 MB / 0.7593 GB, free: 87.97 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02838/2.044, allocations: 9.01 MB / 0.7681 GB, free: 78.84 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02099/2.065, allocations: 8.873 MB / 0.7767 GB, free: 69.85 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-05/2.065, allocations: 15.94 kB / 0.7768 GB, free: 69.83 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05409/2.119, allocations: 24.36 MB / 0.8005 GB, free: 45.39 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/2.119, allocations: 5.641 kB / 0.8005 GB, free: 45.39 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003997/2.123, allocations: 0.6123 MB / 0.8011 GB, free: 44.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/2.135, allocations: 2.995 MB / 0.8041 GB, free: 41.77 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008247/2.135, allocations: 67.98 kB / 0.8041 GB, free: 41.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03509/2.171, allocations: 21.69 MB / 0.8253 GB, free: 19.64 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008552/2.179, allocations: 6.027 MB / 0.8312 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2674/2.447, allocations: 14.93 MB / 0.8458 GB, free: 128 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/2.45, allocations: 1.255 MB / 0.847 GB, free: 127.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/2.452, allocations: 77.84 kB / 0.8471 GB, free: 127.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004623/2.457, allocations: 268.5 kB / 0.8473 GB, free: 127.6 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001233/2.458, allocations: 236.3 kB / 0.8476 GB, free: 127.5 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005882/2.459, allocations: 108.6 kB / 0.8477 GB, free: 127.5 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007837/2.466, allocations: 3.965 MB / 0.8515 GB, free: 126.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.277e-06/2.466, allocations: 0 / 0.8515 GB, free: 126.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01117/2.478, allocations: 2.096 MB / 0.8536 GB, free: 126 MB / 426.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.001399/2.479, allocations: 279.2 kB / 0.8538 GB, free: 125.8 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02153/2.501, allocations: 11.36 MB / 0.8649 GB, free: 121.3 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/2.501, allocations: 0 / 0.8649 GB, free: 121.3 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01003/2.511, allocations: 4.726 MB / 0.8696 GB, free: 119.3 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/2.516, allocations: 0.7962 MB / 0.8703 GB, free: 119 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/2.554, allocations: 21.72 MB / 0.8915 GB, free: 99.59 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/2.565, allocations: 5.566 MB / 0.897 GB, free: 94.79 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/2.567, allocations: 471.3 kB / 0.8974 GB, free: 94.32 MB / 426.8 MB Notification: Performance of SimCode: time 1.822e-06/2.567, allocations: 4 kB / 0.8974 GB, free: 94.32 MB / 426.8 MB Notification: Performance of Templates: time 0.8364/3.404, allocations: 270.7 MB / 1.162 GB, free: 166.4 MB / 474.8 MB