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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.585/1.585, allocations: 171.1 MB / 186.7 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 15.98 kB / 233.2 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06859/0.06898, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2922/0.3612, allocations: 83.27 MB / 355.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05079/0.412, allocations: 19.23 MB / 374.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01896/0.431, allocations: 438.9 kB / 374.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.4454, allocations: 4.297 MB / 379.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03962/0.4851, allocations: 11.66 MB / 390.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.4919, allocations: 1.307 MB / 392.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009232/0.5012, allocations: 4.085 MB / 396.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01979/0.521, allocations: 10.59 MB / 406.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.5252, allocations: 1.9 MB / 408.7 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.5296, allocations: 2.27 MB / 411 MB, free: 2.043 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.531, allocations: 256 kB / 411.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.535, allocations: 1.377 MB / 412.6 MB, free: 424 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004257/0.5393, allocations: 2.833 MB / 415.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002641/0.5419, allocations: 1.505 MB / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.5574, allocations: 10.6 MB / 427.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.208e-06/0.5575, allocations: 0 / 427.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5575, allocations: 3.938 kB / 427.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002838/0.5578, allocations: 0 / 427.5 MB, free: 1.434 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.02243/0.5802, allocations: 8.019 MB / 435.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5803, allocations: 12.03 kB / 435.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.5928, allocations: 2.712 MB / 438.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.6055, allocations: 4.945 MB / 443.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/0.6061, allocations: 480.5 kB / 443.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/0.6086, allocations: 0.6479 MB / 444.3 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4092/1.018, allocations: 18.93 MB / 463.3 MB, free: 118 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003295/1.018, allocations: 73.55 kB / 463.3 MB, free: 118 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/1.02, allocations: 293.1 kB / 463.6 MB, free: 117.9 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004858/1.025, allocations: 2.865 MB / 466.5 MB, free: 116.8 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/1.064, allocations: 16.27 MB / 482.8 MB, free: 101.2 MB / 362.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.09737/1.161, allocations: 70.3 MB / 0.5401 GB, free: 29.86 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08849/1.25, allocations: 8.98 MB / 0.5489 GB, free: 20.72 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04561/1.295, allocations: 19.75 MB / 0.5682 GB, free: 0.5898 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.295, allocations: 76.48 kB / 0.5682 GB, free: 0.5039 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 7.977e-06/1.295, allocations: 3.938 kB / 0.5682 GB, free: 0.5 MB / 362.8 MB Notification: Performance of matching and sorting (n=366): time 0.3506/1.646, allocations: 45.18 MB / 0.6124 GB, free: 93.69 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01806/1.664, allocations: 12.92 MB / 0.625 GB, free: 80.03 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.675, allocations: 6.299 MB / 0.6311 GB, free: 73.72 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007998/1.676, allocations: 79.03 kB / 0.6312 GB, free: 73.64 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003144/1.679, allocations: 4.938 MB / 0.636 GB, free: 68.7 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001925/1.681, allocations: 1.359 MB / 0.6374 GB, free: 67.36 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009113/1.682, allocations: 196.6 kB / 0.6375 GB, free: 67.17 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0005575/1.682, allocations: 0.7158 MB / 0.6382 GB, free: 66.44 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00858/1.691, allocations: 4.395 MB / 0.6425 GB, free: 62.04 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/1.702, allocations: 9.798 MB / 0.6521 GB, free: 49.7 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.714, allocations: 6.418 MB / 0.6584 GB, free: 43.26 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/1.714, allocations: 56 kB / 0.6584 GB, free: 43.21 MB / 362.8 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.04045/1.754, allocations: 17.23 MB / 0.6753 GB, free: 25.88 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.755, allocations: 96 kB / 0.6753 GB, free: 25.79 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/1.755, allocations: 188.7 kB / 0.6755 GB, free: 25.61 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/1.768, allocations: 3.577 MB / 0.679 GB, free: 22.03 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009206/1.777, allocations: 2.203 MB / 0.6812 GB, free: 19.82 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2505/2.028, allocations: 27.83 MB / 0.7084 GB, free: 106 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009885/2.038, allocations: 0.6133 MB / 0.709 GB, free: 106 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.04, allocations: 0.5739 MB / 0.7095 GB, free: 106 MB / 378.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.008573/2.048, allocations: 3.543 MB / 0.713 GB, free: 104.8 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/2.05, allocations: 0.5633 MB / 0.7135 GB, free: 104.8 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02748/2.077, allocations: 10.31 MB / 0.7236 GB, free: 101.1 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02361/2.101, allocations: 9.008 MB / 0.7324 GB, free: 97.93 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02252/2.123, allocations: 8.875 MB / 0.7411 GB, free: 94.8 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.201e-05/2.124, allocations: 15.98 kB / 0.7411 GB, free: 94.8 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05605/2.18, allocations: 24.36 MB / 0.7649 GB, free: 76.32 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/2.18, allocations: 4 kB / 0.7649 GB, free: 76.31 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/2.184, allocations: 0.6045 MB / 0.7655 GB, free: 75.71 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/2.195, allocations: 2.984 MB / 0.7684 GB, free: 72.73 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008958/2.196, allocations: 78.09 kB / 0.7684 GB, free: 72.65 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03544/2.232, allocations: 21.7 MB / 0.7896 GB, free: 50.64 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008793/2.24, allocations: 6.011 MB / 0.7955 GB, free: 44.41 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/2.272, allocations: 14.94 MB / 0.8101 GB, free: 29.63 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/2.275, allocations: 1.269 MB / 0.8113 GB, free: 28.41 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/2.277, allocations: 60 kB / 0.8114 GB, free: 28.36 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004581/2.281, allocations: 275.5 kB / 0.8117 GB, free: 28.09 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/2.283, allocations: 237.6 kB / 0.8119 GB, free: 27.86 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005229/2.283, allocations: 104.8 kB / 0.812 GB, free: 27.76 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00763/2.291, allocations: 3.967 MB / 0.8159 GB, free: 23.8 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.325e-06/2.291, allocations: 0 / 0.8159 GB, free: 23.8 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01096/2.302, allocations: 2.088 MB / 0.8179 GB, free: 21.72 MB / 378.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.001388/2.303, allocations: 293.4 kB / 0.8182 GB, free: 21.44 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02268/2.326, allocations: 11.34 MB / 0.8292 GB, free: 10.07 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.326, allocations: 0 / 0.8292 GB, free: 10.07 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01198/2.338, allocations: 4.737 MB / 0.8339 GB, free: 5.285 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005445/2.344, allocations: 0.7939 MB / 0.8346 GB, free: 4.5 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2468/2.59, allocations: 21.7 MB / 0.8558 GB, free: 123 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/2.602, allocations: 5.571 MB / 0.8613 GB, free: 122.1 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/2.605, allocations: 487 kB / 0.8617 GB, free: 122.1 MB / 394.8 MB Notification: Performance of SimCode: time 1.63e-06/2.605, allocations: 0 / 0.8617 GB, free: 122.1 MB / 394.8 MB Notification: Performance of Templates: time 0.7834/3.389, allocations: 270.5 MB / 1.126 GB, free: 123.1 MB / 394.8 MB