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.Elementary.LineForceWithTwoMasses.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.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 1.156/1.156, allocations: 111.1 MB / 127.3 MB, free: 6.152 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 12 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08792/0.08831, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.384, allocations: 54.96 MB / 239 MB, free: 7.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.3844, allocations: 79.83 kB / 239.1 MB, free: 7.797 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.439/6.823, allocations: 0.6769 GB / 0.9104 GB, free: 34.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/6.823, allocations: 3.094 kB / 0.9104 GB, free: 34.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0005174/6.823, allocations: 169.9 kB / 0.9106 GB, free: 34.74 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3095 * Number of variables: 3095 Notification: Performance of Generate backend data structure: time 0.8398/7.663, allocations: 57.73 MB / 0.967 GB, free: 32.38 MB / 266.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/7.663, allocations: 9.188 kB / 0.967 GB, free: 32.38 MB / 266.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 14.92/22.58, allocations: 1.378 GB / 2.345 GB, free: 36.49 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1005/22.68, allocations: 27.03 MB / 2.371 GB, free: 32.51 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/22.69, allocations: 0.6505 MB / 2.372 GB, free: 32.26 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02753/22.71, allocations: 0.8533 MB / 2.373 GB, free: 32.02 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.36/27.07, allocations: 447.7 MB / 2.81 GB, free: 28.61 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007121/27.07, allocations: 65.42 kB / 2.81 GB, free: 28.6 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02529/27.1, allocations: 387.5 kB / 2.81 GB, free: 28.6 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01094/27.11, allocations: 2.648 MB / 2.813 GB, free: 27.94 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462/35.57, allocations: 0.8501 GB / 3.663 GB, free: 19.02 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 10.6/46.17, allocations: 1.248 GB / 4.911 GB, free: 55.85 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.9749/47.15, allocations: 92.43 MB / 5.001 GB, free: 107 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4506/47.6, allocations: 88.85 MB / 5.088 GB, free: 79.7 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.094e-05/47.6, allocations: 75.94 kB / 5.088 GB, free: 79.63 MB / 362.8 MB Notification: Performance of pre-optimization done (n=401): time 8.256e-06/47.6, allocations: 1.312 kB / 5.088 GB, free: 79.63 MB / 362.8 MB Notification: Performance of matching and sorting (n=480): time 3.324/50.92, allocations: 301.3 MB / 5.382 GB, free: 106.2 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/50.92, allocations: 280.1 kB / 5.383 GB, free: 105.9 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1298/51.05, allocations: 18.24 MB / 5.4 GB, free: 105.4 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.005841/51.06, allocations: 99.39 kB / 5.4 GB, free: 105.4 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005229/51.06, allocations: 5.865 MB / 5.406 GB, free: 102.5 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.008006/51.07, allocations: 1.761 MB / 5.408 GB, free: 101.3 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0084/51.08, allocations: 247 kB / 5.408 GB, free: 101.1 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.001355/51.08, allocations: 0.8255 MB / 5.409 GB, free: 100.6 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042/52.12, allocations: 87.04 MB / 5.494 GB, free: 105.6 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9776/53.1, allocations: 93.9 MB / 5.586 GB, free: 96.78 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.6421/53.74, allocations: 72 MB / 5.656 GB, free: 88.55 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003463/53.74, allocations: 68 kB / 5.656 GB, free: 88.48 MB / 362.8 MB Notification: Performance of matching and sorting (n=1596) (initialization): time 1.886/55.63, allocations: 167.9 MB / 5.82 GB, free: 94.82 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/55.63, allocations: 106.8 kB / 5.82 GB, free: 94.82 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004588/55.63, allocations: 238.9 kB / 5.82 GB, free: 94.82 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02615/55.65, allocations: 4.292 MB / 5.825 GB, free: 94.79 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3341/55.99, allocations: 36.49 MB / 5.86 GB, free: 89.93 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0366/56.03, allocations: 15.53 MB / 5.875 GB, free: 75.2 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6571/56.68, allocations: 39.95 MB / 5.914 GB, free: 93.72 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01015/56.69, allocations: 1.797 MB / 5.916 GB, free: 93.72 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1477): * Single equations (assignments): 1472 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,64.0%) 47} * Non-linear torn systems: 1 {2 43} Notification: Performance of prepare postOptimizeDAE: time 0.02286/56.72, allocations: 3.946 MB / 5.92 GB, free: 93.45 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008976/56.72, allocations: 0.7147 MB / 5.921 GB, free: 93.45 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4795/57.2, allocations: 47.09 MB / 5.967 GB, free: 92.68 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/57.2, allocations: 50.36 kB / 5.967 GB, free: 92.68 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.604e-05/57.2, allocations: 7.938 kB / 5.967 GB, free: 92.68 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001437/57.2, allocations: 23.08 kB / 5.967 GB, free: 92.67 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.796/58, allocations: 93.68 MB / 6.058 GB, free: 85.22 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.77e-05/58, allocations: 0 / 6.058 GB, free: 85.22 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2783/58.28, allocations: 30.24 MB / 6.088 GB, free: 79.72 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02234/58.3, allocations: 3.46 MB / 6.091 GB, free: 76.3 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006141/58.31, allocations: 0.9235 MB / 6.092 GB, free: 75.37 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03261/58.34, allocations: 13.65 MB / 6.105 GB, free: 61.69 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/58.34, allocations: 3.969 kB / 6.105 GB, free: 61.69 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.506/60.85, allocations: 226.9 MB / 6.327 GB, free: 91.02 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.02161/60.87, allocations: 5.303 MB / 6.332 GB, free: 90.91 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01038/60.88, allocations: 76.02 kB / 6.332 GB, free: 90.91 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3147/61.19, allocations: 31.91 MB / 6.363 GB, free: 90.91 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001737/61.19, allocations: 270 kB / 6.364 GB, free: 90.91 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005648/61.2, allocations: 1.01 MB / 6.365 GB, free: 90.91 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.1154/61.32, allocations: 14.8 MB / 6.379 GB, free: 90.7 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.022e-06/61.32, allocations: 0 / 6.379 GB, free: 90.7 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.03593/61.35, allocations: 4.009 MB / 6.383 GB, free: 90.69 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (383): * Single equations (assignments): 378 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 1 {1 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.00568/61.36, allocations: 273.8 kB / 6.383 GB, free: 90.59 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 1.778/63.14, allocations: 167.2 MB / 6.546 GB, free: 94.97 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/63.14, allocations: 2.719 kB / 6.546 GB, free: 94.97 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.6095/63.75, allocations: 77.23 MB / 6.622 GB, free: 94.12 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01136/63.76, allocations: 0.7706 MB / 6.623 GB, free: 94.02 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8915/64.65, allocations: 96.43 MB / 6.717 GB, free: 86.38 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/64.66, allocations: 6.172 MB / 6.723 GB, free: 85.46 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03897/64.7, allocations: 3.739 MB / 6.726 GB, free: 85.45 MB / 362.8 MB Notification: Performance of SimCode: time 2.294e-06/64.7, allocations: 0 / 6.726 GB, free: 85.45 MB / 362.8 MB Notification: Performance of Templates: time 1.949/66.65, allocations: 461 MB / 7.177 GB, free: 74.28 MB / 362.8 MB