Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.679/1.679, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08263/0.08301, allocations: 38.77 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5281, allocations: 101.1 MB / 373.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.5285, allocations: 96.17 kB / 373.8 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8335/1.362, allocations: 128.1 MB / 0.4902 GB, free: 61.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.362, allocations: 0 / 0.4902 GB, free: 61.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004699/1.363, allocations: 143.4 kB / 0.4903 GB, free: 61.34 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: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.03796/1.401, allocations: 7.522 MB / 0.4976 GB, free: 53.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.401, allocations: 8.031 kB / 0.4977 GB, free: 53.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02108/1.422, allocations: 2.766 MB / 0.5004 GB, free: 50.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03246/1.454, allocations: 7.529 MB / 0.5077 GB, free: 43.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008435/1.455, allocations: 0.518 MB / 0.5082 GB, free: 42.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004555/1.46, allocations: 0.6896 MB / 0.5089 GB, free: 42.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1034/1.563, allocations: 17.25 MB / 0.5257 GB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007433/1.564, allocations: 87.27 kB / 0.5258 GB, free: 23.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004982/1.569, allocations: 327.9 kB / 0.5261 GB, free: 23.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005339/1.574, allocations: 1.491 MB / 0.5276 GB, free: 21.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06189/1.636, allocations: 14.52 MB / 0.5418 GB, free: 7.359 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.6364/2.273, allocations: 73.21 MB / 0.6133 GB, free: 26.91 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03743/2.31, allocations: 7.633 MB / 0.6207 GB, free: 25.18 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04205/2.352, allocations: 15.92 MB / 0.6363 GB, free: 17.34 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/2.352, allocations: 59.88 kB / 0.6363 GB, free: 17.29 MB / 362.8 MB Notification: Performance of pre-optimization done (n=261): time 7.634e-06/2.352, allocations: 0 / 0.6363 GB, free: 17.29 MB / 362.8 MB Notification: Performance of matching and sorting (n=335): time 0.3346/2.687, allocations: 45.55 MB / 0.6808 GB, free: 5.598 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3118/2.999, allocations: 16.09 MB / 0.6965 GB, free: 83.84 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/3.014, allocations: 5.703 MB / 0.7021 GB, free: 83.53 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001112/3.015, allocations: 82.78 kB / 0.7022 GB, free: 83.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/3.019, allocations: 4.73 MB / 0.7068 GB, free: 81.5 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002288/3.022, allocations: 1.265 MB / 0.708 GB, free: 80.77 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/3.023, allocations: 177.8 kB / 0.7082 GB, free: 80.77 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0006939/3.024, allocations: 0.6902 MB / 0.7089 GB, free: 80.44 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/3.034, allocations: 4.103 MB / 0.7129 GB, free: 80.42 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/3.049, allocations: 9.31 MB / 0.722 GB, free: 72.7 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/3.069, allocations: 6.049 MB / 0.7279 GB, free: 70.53 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002911/3.07, allocations: 54.66 kB / 0.7279 GB, free: 70.53 MB / 378.8 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06612/3.136, allocations: 17.94 MB / 0.7454 GB, free: 64.54 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/3.136, allocations: 82.06 kB / 0.7455 GB, free: 64.54 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000353/3.136, allocations: 193 kB / 0.7457 GB, free: 64.54 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03015/3.166, allocations: 4.993 MB / 0.7506 GB, free: 63.61 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/3.179, allocations: 2.002 MB / 0.7525 GB, free: 63.37 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09106/3.27, allocations: 38.29 MB / 0.7899 GB, free: 33 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/3.283, allocations: 0.5464 MB / 0.7905 GB, free: 32.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002469/3.286, allocations: 0.5629 MB / 0.791 GB, free: 32.02 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1047): * Single equations (assignments): 1036 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.009766/3.295, allocations: 3.254 MB / 0.7942 GB, free: 29.15 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/3.297, allocations: 0.5206 MB / 0.7947 GB, free: 28.62 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04019/3.337, allocations: 10.48 MB / 0.8049 GB, free: 19.31 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/3.337, allocations: 51.98 kB / 0.805 GB, free: 19.26 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03592/3.373, allocations: 9.569 MB / 0.8143 GB, free: 9.551 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.48e-05/3.374, allocations: 11.95 kB / 0.8143 GB, free: 9.539 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4602/3.834, allocations: 23.51 MB / 0.8373 GB, free: 70.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.101e-05/3.834, allocations: 5.938 kB / 0.8373 GB, free: 70.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007383/3.841, allocations: 452.9 kB / 0.8377 GB, free: 70.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03198/3.873, allocations: 3.688 MB / 0.8413 GB, free: 70.46 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001433/3.875, allocations: 71.48 kB / 0.8414 GB, free: 70.46 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0674/3.942, allocations: 28.22 MB / 0.869 GB, free: 61.16 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02964/3.972, allocations: 12.66 MB / 0.8813 GB, free: 54.58 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04715/4.019, allocations: 14.27 MB / 0.8953 GB, free: 49.48 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007966/4.027, allocations: 1.148 MB / 0.8964 GB, free: 49.08 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00279/4.03, allocations: 56.05 kB / 0.8964 GB, free: 49.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006725/4.037, allocations: 222.1 kB / 0.8966 GB, free: 49 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/4.039, allocations: 253.4 kB / 0.8969 GB, free: 48.96 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000571/4.039, allocations: 93.91 kB / 0.897 GB, free: 48.94 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0095/4.049, allocations: 3.548 MB / 0.9004 GB, free: 47.29 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.806e-06/4.049, allocations: 4 kB / 0.9004 GB, free: 47.29 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01356/4.062, allocations: 2.035 MB / 0.9024 GB, free: 45.28 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,bodyOfJoint.body.w_a[2]) * 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 (204): * Single equations (assignments): 196 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/4.064, allocations: 266.1 kB / 0.9027 GB, free: 45.09 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02463/4.089, allocations: 10.81 MB / 0.9132 GB, free: 35.86 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/4.089, allocations: 0 / 0.9132 GB, free: 35.86 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01012/4.099, allocations: 4.219 MB / 0.9174 GB, free: 32.05 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006588/4.106, allocations: 0.7554 MB / 0.9181 GB, free: 31.44 MB / 378.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05283/4.159, allocations: 18.96 MB / 0.9366 GB, free: 14.18 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01616/4.175, allocations: 5.112 MB / 0.9416 GB, free: 10.41 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.01787/4.193, allocations: 2.744 MB / 0.9443 GB, free: 8.281 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/4.196, allocations: 355.4 kB / 0.9446 GB, free: 7.934 MB / 378.8 MB Notification: Performance of SimCode: time 1.413e-06/4.196, allocations: 0 / 0.9446 GB, free: 7.934 MB / 378.8 MB Notification: Performance of Templates: time 0.5258/4.722, allocations: 88.04 MB / 1.031 GB, free: 63.27 MB / 394.8 MB