Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08464, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5045, allocations: 101.6 MB / 374.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.5049, allocations: 91.14 kB / 374.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8035/1.308, allocations: 140.9 MB / 0.5031 GB, free: 49.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.308, allocations: 0 / 0.5031 GB, free: 49.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005229/1.309, allocations: 164 kB / 0.5032 GB, free: 49.01 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.03951/1.349, allocations: 8.337 MB / 0.5114 GB, free: 40.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.349, allocations: 12.03 kB / 0.5114 GB, free: 40.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02235/1.371, allocations: 2.907 MB / 0.5142 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02857/1.4, allocations: 8.053 MB / 0.5221 GB, free: 29.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007246/1.4, allocations: 0.5817 MB / 0.5226 GB, free: 28.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/1.405, allocations: 0.7731 MB / 0.5234 GB, free: 28.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06364/1.468, allocations: 19.34 MB / 0.5423 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006542/1.469, allocations: 83.27 kB / 0.5424 GB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004199/1.473, allocations: 367.8 kB / 0.5427 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/1.478, allocations: 1.7 MB / 0.5444 GB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3218/1.799, allocations: 16.34 MB / 0.5603 GB, free: 46.98 MB / 346.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.1452/1.945, allocations: 80.57 MB / 0.639 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04501/1.99, allocations: 8.924 MB / 0.6477 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05389/2.044, allocations: 19.65 MB / 0.6669 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.232e-05/2.044, allocations: 71.69 kB / 0.667 GB, free: 15.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=308): time 7.675e-06/2.044, allocations: 0 / 0.667 GB, free: 15.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.4865/2.53, allocations: 44.94 MB / 0.7109 GB, free: 76.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02446/2.555, allocations: 12.92 MB / 0.7235 GB, free: 69.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0163/2.571, allocations: 6.053 MB / 0.7294 GB, free: 68.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00125/2.573, allocations: 84.12 kB / 0.7295 GB, free: 68.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004859/2.577, allocations: 4.944 MB / 0.7343 GB, free: 65.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002904/2.58, allocations: 1.364 MB / 0.7356 GB, free: 64.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/2.583, allocations: 194.6 kB / 0.7358 GB, free: 63.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0009656/2.584, allocations: 0.7164 MB / 0.7365 GB, free: 63.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/2.595, allocations: 4.354 MB / 0.7408 GB, free: 61.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01571/2.611, allocations: 9.777 MB / 0.7503 GB, free: 53.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/2.627, allocations: 6.388 MB / 0.7566 GB, free: 50.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002572/2.627, allocations: 55.84 kB / 0.7566 GB, free: 50.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.05675/2.684, allocations: 17.16 MB / 0.7734 GB, free: 44.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/2.684, allocations: 88 kB / 0.7735 GB, free: 44.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003438/2.685, allocations: 191.7 kB / 0.7736 GB, free: 44.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01913/2.704, allocations: 3.578 MB / 0.7771 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/2.719, allocations: 2.226 MB / 0.7793 GB, free: 40.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05244/2.771, allocations: 27.81 MB / 0.8065 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/2.784, allocations: 0.626 MB / 0.8071 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00261/2.787, allocations: 0.5705 MB / 0.8076 GB, free: 13.94 MB / 378.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.01115/2.798, allocations: 3.541 MB / 0.8111 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002118/2.8, allocations: 0.5705 MB / 0.8116 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04175/2.842, allocations: 10.27 MB / 0.8217 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3099/3.152, allocations: 8.968 MB / 0.8304 GB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03277/3.185, allocations: 9.376 MB / 0.8396 GB, free: 66.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.861e-05/3.185, allocations: 19.69 kB / 0.8396 GB, free: 66.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07586/3.261, allocations: 24.36 MB / 0.8634 GB, free: 62.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.16e-05/3.261, allocations: 3.562 kB / 0.8634 GB, free: 62.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/3.267, allocations: 0.6127 MB / 0.864 GB, free: 62.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/3.284, allocations: 2.98 MB / 0.8669 GB, free: 61.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/3.285, allocations: 75.8 kB / 0.867 GB, free: 61.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04865/3.333, allocations: 21.57 MB / 0.888 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01223/3.346, allocations: 6.017 MB / 0.8939 GB, free: 46.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04671/3.393, allocations: 14.66 MB / 0.9082 GB, free: 39.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005587/3.398, allocations: 1.249 MB / 0.9095 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003112/3.401, allocations: 68.45 kB / 0.9095 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007391/3.409, allocations: 271.7 kB / 0.9098 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/3.411, allocations: 244.7 kB / 0.91 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008745/3.412, allocations: 100.9 kB / 0.9101 GB, free: 38.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01085/3.422, allocations: 3.776 MB / 0.9138 GB, free: 35.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/3.422, allocations: 2.469 kB / 0.9138 GB, free: 35.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0147/3.437, allocations: 2.081 MB / 0.9158 GB, free: 33.12 MB / 378.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.002084/3.439, allocations: 274.7 kB / 0.9161 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02847/3.468, allocations: 11.29 MB / 0.9271 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/3.468, allocations: 0 / 0.9271 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01429/3.482, allocations: 4.749 MB / 0.9318 GB, free: 19.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008139/3.49, allocations: 0.797 MB / 0.9325 GB, free: 18.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05382/3.544, allocations: 21.66 MB / 0.9537 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01556/3.56, allocations: 5.561 MB / 0.9591 GB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003641/3.564, allocations: 475.3 kB / 0.9596 GB, free: 7.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/3.564, allocations: 0 / 0.9596 GB, free: 7.418 MB / 394.7 MB Notification: Performance of Templates: time 1.049/4.613, allocations: 270.3 MB / 1.224 GB, free: 41.91 MB / 426.7 MB