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.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.8 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.000533, allocations: 8 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08507, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5037, allocations: 101.1 MB / 373.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5041, allocations: 92.94 kB / 373.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7539/1.258, allocations: 127.2 MB / 0.4888 GB, free: 62.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.258, allocations: 0 / 0.4888 GB, free: 62.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004779/1.259, allocations: 147.1 kB / 0.489 GB, free: 62.41 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.03612/1.295, allocations: 7.528 MB / 0.4963 GB, free: 54.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.295, allocations: 8.031 kB / 0.4963 GB, free: 54.84 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005489/1.3, allocations: 1.186 MB / 0.4975 GB, free: 53.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/1.322, allocations: 2.774 MB / 0.5002 GB, free: 50.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02649/1.348, allocations: 7.535 MB / 0.5075 GB, free: 43.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006407/1.349, allocations: 0.5164 MB / 0.508 GB, free: 42.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003979/1.353, allocations: 0.6869 MB / 0.5087 GB, free: 42.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05437/1.407, allocations: 17.26 MB / 0.5256 GB, free: 23.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004948/1.408, allocations: 75.28 kB / 0.5256 GB, free: 23.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003469/1.411, allocations: 331.8 kB / 0.526 GB, free: 23.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/1.415, allocations: 1.499 MB / 0.5274 GB, free: 21.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04618/1.461, allocations: 14.52 MB / 0.5416 GB, free: 7.191 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.6363/2.097, allocations: 73.2 MB / 0.6131 GB, free: 27.23 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.037/2.134, allocations: 7.634 MB / 0.6205 GB, free: 25.73 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03933/2.174, allocations: 15.91 MB / 0.6361 GB, free: 17.9 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.118e-05/2.174, allocations: 61.03 kB / 0.6361 GB, free: 17.84 MB / 362.8 MB Notification: Performance of pre-optimization done (n=261): time 6.783e-06/2.174, allocations: 0 / 0.6361 GB, free: 17.84 MB / 362.8 MB Notification: Performance of matching and sorting (n=335): time 0.245/2.419, allocations: 45.89 MB / 0.681 GB, free: 5.129 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3194/2.738, allocations: 16.09 MB / 0.6967 GB, free: 84.01 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.754, allocations: 5.075 MB / 0.7016 GB, free: 83.73 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/2.755, allocations: 79.42 kB / 0.7017 GB, free: 83.7 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004539/2.759, allocations: 4.576 MB / 0.7062 GB, free: 81.62 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002726/2.762, allocations: 1.255 MB / 0.7074 GB, free: 80.9 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/2.764, allocations: 179.4 kB / 0.7076 GB, free: 80.9 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0009334/2.765, allocations: 0.6957 MB / 0.7082 GB, free: 80.57 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01105/2.776, allocations: 4.106 MB / 0.7123 GB, free: 80.55 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01518/2.791, allocations: 9.307 MB / 0.7213 GB, free: 73.29 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/2.806, allocations: 6.062 MB / 0.7273 GB, free: 71.12 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002205/2.806, allocations: 55.5 kB / 0.7273 GB, free: 71.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06415/2.871, allocations: 17.75 MB / 0.7446 GB, free: 65.24 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.871, allocations: 85.06 kB / 0.7447 GB, free: 65.24 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002993/2.871, allocations: 186.2 kB / 0.7449 GB, free: 65.23 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0295/2.901, allocations: 4.997 MB / 0.7498 GB, free: 64.31 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/2.913, allocations: 1.996 MB / 0.7517 GB, free: 64.07 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07751/2.991, allocations: 38.28 MB / 0.7891 GB, free: 33.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/3.003, allocations: 0.5405 MB / 0.7896 GB, free: 32.96 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/3.006, allocations: 0.5682 MB / 0.7902 GB, free: 32.44 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.0104/3.016, allocations: 3.244 MB / 0.7934 GB, free: 29.57 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/3.018, allocations: 0.5283 MB / 0.7939 GB, free: 29.04 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0403/3.059, allocations: 10.49 MB / 0.8041 GB, free: 19.75 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/3.059, allocations: 44.58 kB / 0.8042 GB, free: 19.71 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03591/3.095, allocations: 9.558 MB / 0.8135 GB, free: 10.01 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/3.095, allocations: 22 kB / 0.8135 GB, free: 9.992 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3653/3.46, allocations: 23.51 MB / 0.8365 GB, free: 70.46 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.175e-05/3.46, allocations: 6.312 kB / 0.8365 GB, free: 70.46 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004726/3.465, allocations: 448.5 kB / 0.8369 GB, free: 70.46 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0223/3.487, allocations: 3.695 MB / 0.8405 GB, free: 70.43 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/3.488, allocations: 68.34 kB / 0.8406 GB, free: 70.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06272/3.551, allocations: 28.23 MB / 0.8682 GB, free: 61.73 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02887/3.58, allocations: 12.65 MB / 0.8805 GB, free: 55.15 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04577/3.626, allocations: 15.14 MB / 0.8953 GB, free: 49.04 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00441/3.63, allocations: 1.143 MB / 0.8964 GB, free: 48.62 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00239/3.633, allocations: 67.48 kB / 0.8965 GB, free: 48.58 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006597/3.64, allocations: 222.6 kB / 0.8967 GB, free: 48.55 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/3.641, allocations: 248.5 kB / 0.8969 GB, free: 48.5 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007873/3.642, allocations: 100.7 kB / 0.897 GB, free: 48.48 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.009703/3.652, allocations: 3.548 MB / 0.9005 GB, free: 46.61 MB / 378.8 MB Notification: Performance of sort global known variables: time 8.01e-07/3.652, allocations: 4 kB / 0.9005 GB, free: 46.61 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01383/3.666, allocations: 2.022 MB / 0.9025 GB, free: 44.61 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.0467/3.713, allocations: 16.98 MB / 0.9191 GB, free: 29.95 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02501/3.738, allocations: 10.8 MB / 0.9296 GB, free: 20.65 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/3.738, allocations: 4 kB / 0.9296 GB, free: 20.64 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01018/3.748, allocations: 4.214 MB / 0.9337 GB, free: 16.84 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006609/3.755, allocations: 0.7541 MB / 0.9345 GB, free: 16.23 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.5736/4.328, allocations: 192.5 MB / 1.122 GB, free: 12.57 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01266/4.341, allocations: 5.112 MB / 1.127 GB, free: 11.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008177/4.349, allocations: 3.166 MB / 1.13 GB, free: 11.69 MB / 458.8 MB Notification: Performance of SimCode: time 1.282e-06/4.349, allocations: 3.562 kB / 1.13 GB, free: 11.69 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.831/11.18, allocations: 284.6 MB / 1.408 GB, free: 98.48 MB / 458.8 MB