Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3515, allocations: 54.85 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.5677, allocations: 98.64 MB / 468 MB, free: 7.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.5681, allocations: 79.8 kB / 468.1 MB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7997/1.368, allocations: 109.3 MB / 0.5639 GB, free: 6.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.368, allocations: 4 kB / 0.5639 GB, free: 6.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005671/1.369, allocations: 104 kB / 0.564 GB, free: 6.527 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.03156/1.4, allocations: 6.94 MB / 0.5707 GB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.4, allocations: 12.03 kB / 0.5708 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004391/1.405, allocations: 0.7581 MB / 0.5715 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07675/1.481, allocations: 10.12 MB / 0.5814 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03788/1.519, allocations: 9.887 MB / 0.591 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/1.52, allocations: 366.6 kB / 0.5914 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002711/1.523, allocations: 471.6 kB / 0.5918 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04262/1.565, allocations: 10.73 MB / 0.6023 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004949/1.566, allocations: 63.45 kB / 0.6024 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002294/1.568, allocations: 211.8 kB / 0.6026 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.571, allocations: 0.9879 MB / 0.6035 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03737/1.609, allocations: 9.059 MB / 0.6124 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5319/2.14, allocations: 43.98 MB / 0.6553 GB, free: 83.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05387/2.194, allocations: 7.92 MB / 0.6631 GB, free: 83.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/2.197, allocations: 1.122 MB / 0.6642 GB, free: 82.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.579e-05/2.197, allocations: 65.84 kB / 0.6642 GB, free: 82.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 1.051e-05/2.197, allocations: 0 / 0.6642 GB, free: 82.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=415): time 0.4772/2.674, allocations: 76.48 MB / 0.7389 GB, free: 62.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02627/2.701, allocations: 11.35 MB / 0.75 GB, free: 52.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009628/2.71, allocations: 3.727 MB / 0.7536 GB, free: 48.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001351/2.712, allocations: 95.09 kB / 0.7537 GB, free: 48.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002677/2.714, allocations: 2.743 MB / 0.7564 GB, free: 46.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002792/2.717, allocations: 1.431 MB / 0.7578 GB, free: 45.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/2.719, allocations: 119.3 kB / 0.7579 GB, free: 44.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003999/2.719, allocations: 0.5383 MB / 0.7584 GB, free: 44.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/2.729, allocations: 4.477 MB / 0.7628 GB, free: 39.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/2.741, allocations: 6.506 MB / 0.7692 GB, free: 32.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.754, allocations: 5.45 MB / 0.7745 GB, free: 27.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.189e-05/2.754, allocations: 16 kB / 0.7745 GB, free: 27.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0644/2.818, allocations: 18.31 MB / 0.7924 GB, free: 9.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/2.819, allocations: 36.19 kB / 0.7924 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.729e-05/2.819, allocations: 68 kB / 0.7925 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04135/2.86, allocations: 8.616 MB / 0.8009 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007646/2.868, allocations: 1.036 MB / 0.8019 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5052/3.373, allocations: 50.52 MB / 0.8513 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009584/3.383, allocations: 495.8 kB / 0.8517 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/3.385, allocations: 278.7 kB / 0.852 GB, free: 119.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.007711/3.392, allocations: 2.282 MB / 0.8542 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/3.394, allocations: 489.4 kB / 0.8547 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06241/3.457, allocations: 17.6 MB / 0.8719 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05638/3.513, allocations: 16.11 MB / 0.8876 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-05/3.513, allocations: 27.47 kB / 0.8876 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001221/3.513, allocations: 28.08 kB / 0.8877 GB, free: 113 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1092/3.623, allocations: 34.74 MB / 0.9216 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-05/3.623, allocations: 7.375 kB / 0.9216 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004275/3.627, allocations: 449.3 kB / 0.922 GB, free: 97.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0397/3.667, allocations: 8.057 MB / 0.9299 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/3.668, allocations: 75.25 kB / 0.93 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1128/3.781, allocations: 49.79 MB / 0.9786 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02377/3.805, allocations: 10.14 MB / 0.9885 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06982/3.875, allocations: 23.93 MB / 1.012 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005407/3.88, allocations: 1.419 MB / 1.013 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3743/4.254, allocations: 77.66 kB / 1.013 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/4.264, allocations: 354.6 kB / 1.014 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003715/4.268, allocations: 335 kB / 1.014 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001641/4.27, allocations: 104.6 kB / 1.014 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008638/4.279, allocations: 2.776 MB / 1.017 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.223e-06/4.279, allocations: 0 / 1.017 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01156/4.29, allocations: 1.977 MB / 1.019 GB, free: 119.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07484/4.365, allocations: 25.83 MB / 1.044 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03343/4.399, allocations: 12.35 MB / 1.056 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/4.399, allocations: 0 / 1.056 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02189/4.421, allocations: 7.127 MB / 1.063 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007444/4.428, allocations: 0.7412 MB / 1.064 GB, free: 113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1803/4.608, allocations: 109.2 MB / 1.17 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009962/4.618, allocations: 4.296 MB / 1.175 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007256/4.626, allocations: 2.618 MB / 1.177 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of SimCode: time 2.594e-06/4.626, allocations: 0 / 1.177 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.115/10.74, allocations: 179.5 MB / 1.352 GB, free: 16.52 MB / 0.4948 GB