Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 0.9688/0.9688, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 12 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05492/0.05529, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.3197, allocations: 59.27 MB / 243.3 MB, free: 3.562 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.3201, allocations: 84.95 kB / 243.4 MB, free: 3.52 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.153/8.473, allocations: 0.9316 GB / 1.169 GB, free: 13.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.945e-06/8.473, allocations: 7.938 kB / 1.169 GB, free: 13.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0009639/8.474, allocations: 280 kB / 1.17 GB, free: 13.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5034 * Number of variables: 5034 Notification: Performance of Generate backend data structure: time 1.05/9.524, allocations: 75.73 MB / 1.244 GB, free: 16.62 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/9.524, allocations: 10.09 kB / 1.244 GB, free: 16.62 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 19.31/28.84, allocations: 1.721 GB / 2.964 GB, free: 0.7617 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3838/29.22, allocations: 33.75 MB / 2.997 GB, free: 32.13 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00171/29.22, allocations: 1.101 MB / 2.998 GB, free: 31.7 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03742/29.26, allocations: 1.443 MB / 3 GB, free: 31.28 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.736/35, allocations: 0.5609 GB / 3.561 GB, free: 11.17 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008718/35, allocations: 76.84 kB / 3.561 GB, free: 11.13 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03492/35.03, allocations: 0.6278 MB / 3.561 GB, free: 10.59 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01401/35.05, allocations: 3.883 MB / 3.565 GB, free: 6.723 MB / 314.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 11.79/46.84, allocations: 1.078 GB / 4.643 GB, free: 17.03 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 14.31/61.15, allocations: 1.572 GB / 6.216 GB, free: 56.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.8321/61.98, allocations: 75.3 MB / 6.289 GB, free: 122.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1836/62.16, allocations: 75.03 MB / 6.362 GB, free: 77.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/62.16, allocations: 93.17 kB / 6.363 GB, free: 77.57 MB / 410.8 MB Notification: Performance of pre-optimization done (n=540): time 1.067e-05/62.16, allocations: 0 / 6.363 GB, free: 77.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=761): time 3.276/65.44, allocations: 277 MB / 6.633 GB, free: 122.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/65.44, allocations: 212.9 kB / 6.633 GB, free: 122.3 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08486/65.53, allocations: 15.58 MB / 6.648 GB, free: 121.7 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.005523/65.53, allocations: 142.6 kB / 6.649 GB, free: 121.7 MB / 410.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[3] has fixed = false and a binding equation jointRRR3.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[2] has fixed = false and a binding equation jointRRR3.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR3.n_b[1] has fixed = false and a binding equation jointRRR3.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[3] has fixed = false and a binding equation jointRRR2.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[2] has fixed = false and a binding equation jointRRR2.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR2.n_b[1] has fixed = false and a binding equation jointRRR2.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[3] has fixed = false and a binding equation jointRRR1.n_b[3] = 1.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[2] has fixed = false and a binding equation jointRRR1.n_b[2] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:5958:7-5960:35:writable] Warning: The parameter jointRRR1.n_b[1] has fixed = false and a binding equation jointRRR1.n_b[1] = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.008518/65.54, allocations: 8.983 MB / 6.657 GB, free: 117.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.008591/65.55, allocations: 2.764 MB / 6.66 GB, free: 115.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007936/65.56, allocations: 361.9 kB / 6.66 GB, free: 115.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.002575/65.56, allocations: 1.06 MB / 6.661 GB, free: 115.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4747/66.03, allocations: 66.74 MB / 6.727 GB, free: 110.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7695/66.8, allocations: 76.45 MB / 6.801 GB, free: 109.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4194/67.22, allocations: 57.96 MB / 6.858 GB, free: 102.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005222/67.22, allocations: 103.9 kB / 6.858 GB, free: 102.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=2343) (initialization): time 1.237/68.46, allocations: 131.8 MB / 6.987 GB, free: 82.39 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006486/68.46, allocations: 148 kB / 6.987 GB, free: 82.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009027/68.46, allocations: 339.4 kB / 6.987 GB, free: 81.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/68.46, allocations: 0.4961 MB / 6.988 GB, free: 81.42 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.625/69.09, allocations: 28.51 MB / 7.015 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009377/69.09, allocations: 0.6586 MB / 7.016 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2684/69.36, allocations: 27.31 MB / 7.043 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01268/69.37, allocations: 1.71 MB / 7.044 GB, free: 106.1 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1538 * Number of states: 0 () * Number of discrete variables: 99 (jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2313): * Single equations (assignments): 2307 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0359/69.41, allocations: 6.515 MB / 7.051 GB, free: 105.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01045/69.42, allocations: 0.974 MB / 7.052 GB, free: 105.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0514/69.47, allocations: 15.12 MB / 7.066 GB, free: 102.2 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/69.47, allocations: 81.06 kB / 7.067 GB, free: 102.2 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.771e-05/69.47, allocations: 0 / 7.067 GB, free: 102.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001966/69.47, allocations: 33.94 kB / 7.067 GB, free: 102.2 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4608/69.93, allocations: 63.2 MB / 7.128 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.819e-05/69.93, allocations: 17.16 kB / 7.128 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2019/70.13, allocations: 23.38 MB / 7.151 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/70.13, allocations: 47.66 kB / 7.151 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005501/70.14, allocations: 0.6825 MB / 7.152 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001413/70.14, allocations: 57.27 kB / 7.152 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-05/70.14, allocations: 25.22 kB / 7.152 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.638/71.78, allocations: 178.7 MB / 7.327 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.06589/71.84, allocations: 5.131 MB / 7.332 GB, free: 98.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01487/71.86, allocations: 143.2 kB / 7.332 GB, free: 98.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2124/72.07, allocations: 22.81 MB / 7.354 GB, free: 76.99 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002764/72.07, allocations: 458 kB / 7.354 GB, free: 76.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005394/72.08, allocations: 0.7686 MB / 7.355 GB, free: 75.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.3852/72.46, allocations: 11.42 MB / 7.366 GB, free: 104.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.11e-07/72.46, allocations: 1.125 kB / 7.366 GB, free: 104.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.04031/72.5, allocations: 4.549 MB / 7.371 GB, free: 104.6 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 2 (rev.phi,rev.w) * 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 (740): * Single equations (assignments): 737 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005943/72.51, allocations: 457.8 kB / 7.371 GB, free: 104.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 1.226/73.73, allocations: 131.2 MB / 7.499 GB, free: 105 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/73.73, allocations: 3.156 kB / 7.499 GB, free: 105 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.4205/74.16, allocations: 60.41 MB / 7.558 GB, free: 105 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/74.17, allocations: 0.95 MB / 7.559 GB, free: 104.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8145/74.98, allocations: 93.78 MB / 7.651 GB, free: 93.09 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02997/75.01, allocations: 9.699 MB / 7.66 GB, free: 92.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0559/75.07, allocations: 3.037 MB / 7.663 GB, free: 92.02 MB / 410.8 MB Notification: Performance of SimCode: time 1.583e-06/75.07, allocations: 0 / 7.663 GB, free: 92.02 MB / 410.8 MB Notification: Performance of Templates: time 1.923/76.99, allocations: 381.4 MB / 8.036 GB, free: 65.57 MB / 410.8 MB