Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.228/2.228, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003544, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09693, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.5643, allocations: 106.9 MB / 415.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004081/0.5648, allocations: 91.83 kB / 415.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.391, allocations: 127.3 MB / 0.5301 GB, free: 67.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.391, allocations: 0 / 0.5301 GB, free: 67.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006601/1.392, allocations: 139.4 kB / 0.5302 GB, free: 67.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.04248/1.434, allocations: 7.524 MB / 0.5376 GB, free: 64.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.434, allocations: 13.14 kB / 0.5376 GB, free: 64.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00668/1.441, allocations: 1.19 MB / 0.5387 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02333/1.464, allocations: 2.768 MB / 0.5415 GB, free: 63.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/1.493, allocations: 7.531 MB / 0.5488 GB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007666/1.494, allocations: 0.5201 MB / 0.5493 GB, free: 63.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004278/1.498, allocations: 0.6883 MB / 0.55 GB, free: 63.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08362/1.582, allocations: 17.26 MB / 0.5668 GB, free: 59.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006049/1.582, allocations: 79.11 kB / 0.5669 GB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008537/1.591, allocations: 332 kB / 0.5672 GB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008311/1.599, allocations: 1.499 MB / 0.5687 GB, free: 59.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05789/1.657, allocations: 14.52 MB / 0.5829 GB, free: 59.43 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.1243/1.782, allocations: 73.29 MB / 0.6544 GB, free: 23.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/1.819, allocations: 7.64 MB / 0.6619 GB, free: 17.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04165/1.86, allocations: 15.92 MB / 0.6775 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/1.861, allocations: 60.03 kB / 0.6775 GB, free: 3.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 7.685e-06/1.861, allocations: 0 / 0.6775 GB, free: 3.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.559/2.42, allocations: 46.37 MB / 0.7228 GB, free: 75.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03764/2.457, allocations: 16.1 MB / 0.7385 GB, free: 72.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/2.47, allocations: 5.069 MB / 0.7435 GB, free: 71.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.471, allocations: 81.48 kB / 0.7436 GB, free: 71.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004013/2.475, allocations: 4.583 MB / 0.748 GB, free: 68.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002399/2.478, allocations: 1.252 MB / 0.7493 GB, free: 67.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/2.479, allocations: 180.2 kB / 0.7494 GB, free: 67.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006778/2.48, allocations: 0.7013 MB / 0.7501 GB, free: 67.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01017/2.49, allocations: 4.104 MB / 0.7541 GB, free: 65.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/2.504, allocations: 9.307 MB / 0.7632 GB, free: 57.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/2.518, allocations: 6.07 MB / 0.7691 GB, free: 55.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/2.518, allocations: 52.34 kB / 0.7692 GB, free: 55.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06202/2.58, allocations: 17.74 MB / 0.7865 GB, free: 47.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/2.581, allocations: 88.06 kB / 0.7866 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002829/2.581, allocations: 184 kB / 0.7868 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02909/2.61, allocations: 4.996 MB / 0.7916 GB, free: 44.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01225/2.622, allocations: 2.004 MB / 0.7936 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07736/2.7, allocations: 38.26 MB / 0.831 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/2.712, allocations: 0.5411 MB / 0.8315 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002417/2.715, allocations: 0.5538 MB / 0.832 GB, free: 7.645 MB / 426.7 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.01002/2.725, allocations: 3.258 MB / 0.8352 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/2.727, allocations: 0.5283 MB / 0.8357 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3555/3.082, allocations: 10.6 MB / 0.8461 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/3.083, allocations: 47.23 kB / 0.8461 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03641/3.119, allocations: 9.568 MB / 0.8555 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/3.119, allocations: 14.06 kB / 0.8555 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07322/3.192, allocations: 23.51 MB / 0.8785 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.654e-05/3.193, allocations: 7 kB / 0.8785 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004568/3.197, allocations: 453.5 kB / 0.8789 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02375/3.221, allocations: 3.683 MB / 0.8825 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/3.222, allocations: 66.08 kB / 0.8826 GB, free: 64.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08625/3.309, allocations: 28.23 MB / 0.9101 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02957/3.338, allocations: 12.65 MB / 0.9225 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04774/3.386, allocations: 15.15 MB / 0.9373 GB, free: 38.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004522/3.391, allocations: 1.145 MB / 0.9384 GB, free: 38.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/3.393, allocations: 60 kB / 0.9385 GB, free: 38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006928/3.4, allocations: 224.2 kB / 0.9387 GB, free: 37.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00178/3.402, allocations: 245.4 kB / 0.9389 GB, free: 37.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006365/3.402, allocations: 94.98 kB / 0.939 GB, free: 37.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009553/3.412, allocations: 3.551 MB / 0.9425 GB, free: 34.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.412, allocations: 0 / 0.9425 GB, free: 34.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01423/3.426, allocations: 2.037 MB / 0.9444 GB, free: 32.73 MB / 426.7 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.constantTorque.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.04726/3.474, allocations: 16.97 MB / 0.961 GB, free: 18.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02471/3.498, allocations: 10.79 MB / 0.9716 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/3.498, allocations: 6.812 kB / 0.9716 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009981/3.508, allocations: 4.224 MB / 0.9757 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006647/3.515, allocations: 0.7534 MB / 0.9764 GB, free: 4.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5413/4.056, allocations: 192.5 MB / 1.164 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01279/4.069, allocations: 5.111 MB / 1.169 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0125/4.082, allocations: 3.163 MB / 1.172 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of SimCode: time 1.753e-06/4.082, allocations: 0 / 1.172 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.978/11.06, allocations: 284.7 MB / 1.451 GB, free: 164.3 MB / 0.5261 GB