Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.3 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 8 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4288, allocations: 98.11 MB / 429.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4291, allocations: 75.97 kB / 429.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6313/1.06, allocations: 110.6 MB / 0.5274 GB, free: 70.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.649e-06/1.06, allocations: 0 / 0.5274 GB, free: 70.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003243/1.061, allocations: 112 kB / 0.5275 GB, free: 69.91 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: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.0203/1.081, allocations: 6.346 MB / 0.5337 GB, free: 63.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.081, allocations: 8.031 kB / 0.5337 GB, free: 63.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03657/1.118, allocations: 6.895 MB / 0.5404 GB, free: 56.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/1.137, allocations: 7.094 MB / 0.5474 GB, free: 49.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/1.138, allocations: 406.8 kB / 0.5478 GB, free: 48.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/1.14, allocations: 0.5504 MB / 0.5483 GB, free: 48.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03356/1.174, allocations: 14.1 MB / 0.5621 GB, free: 33.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002828/1.174, allocations: 67.39 kB / 0.5621 GB, free: 33.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/1.176, allocations: 267.8 kB / 0.5624 GB, free: 32.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/1.178, allocations: 1.356 MB / 0.5637 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02834/1.206, allocations: 11.73 MB / 0.5752 GB, free: 19.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3688/1.575, allocations: 60.61 MB / 0.6344 GB, free: 57.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02181/1.597, allocations: 5.809 MB / 0.64 GB, free: 57.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02815/1.625, allocations: 14.75 MB / 0.6544 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.625, allocations: 65.69 kB / 0.6545 GB, free: 53.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.599e-06/1.625, allocations: 0 / 0.6545 GB, free: 53.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.1035/1.729, allocations: 25.4 MB / 0.6793 GB, free: 48.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/1.729, allocations: 264.4 kB / 0.6795 GB, free: 48.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009007/1.738, allocations: 4.44 MB / 0.6839 GB, free: 46.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.738, allocations: 65.42 kB / 0.6839 GB, free: 46.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002702/1.741, allocations: 3.813 MB / 0.6877 GB, free: 43.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.742, allocations: 0.981 MB / 0.6886 GB, free: 42.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/1.743, allocations: 149.9 kB / 0.6888 GB, free: 42.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000484/1.744, allocations: 0.6252 MB / 0.6894 GB, free: 42.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/1.749, allocations: 2.569 MB / 0.6919 GB, free: 41.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007722/1.757, allocations: 6.888 MB / 0.6986 GB, free: 34.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007749/1.765, allocations: 4.109 MB / 0.7026 GB, free: 33.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.765, allocations: 44.28 kB / 0.7027 GB, free: 33.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02108/1.786, allocations: 9.515 MB / 0.712 GB, free: 27.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.786, allocations: 79.09 kB / 0.712 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.786, allocations: 152 kB / 0.7122 GB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.788, allocations: 0.5835 MB / 0.7128 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007089/1.795, allocations: 1.737 MB / 0.7144 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/1.803, allocations: 5.724 MB / 0.72 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007396/1.81, allocations: 397.2 kB / 0.7204 GB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.811, allocations: 439.5 kB / 0.7208 GB, free: 19.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (912): * Single equations (assignments): 907 * 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: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005853/1.817, allocations: 2.633 MB / 0.7234 GB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009966/1.818, allocations: 477.9 kB / 0.7239 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00827/1.827, allocations: 4.003 MB / 0.7278 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/1.827, allocations: 35.19 kB / 0.7278 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.827, allocations: 8 kB / 0.7278 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/1.827, allocations: 9.797 kB / 0.7278 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.851, allocations: 10.28 MB / 0.7379 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.851, allocations: 4 kB / 0.7379 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002962/1.854, allocations: 466 kB / 0.7383 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/1.855, allocations: 346.7 kB / 0.7386 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/1.856, allocations: 48.16 kB / 0.7387 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006828/1.863, allocations: 5.063 MB / 0.7436 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.96e-06/1.863, allocations: 0 / 0.7436 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.878, allocations: 7.151 MB / 0.7506 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.881, allocations: 0.8174 MB / 0.7514 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.882, allocations: 41.48 kB / 0.7515 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.885, allocations: 157.4 kB / 0.7516 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/1.886, allocations: 150.9 kB / 0.7517 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002792/1.886, allocations: 71.94 kB / 0.7518 GB, free: 7.742 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007704/1.894, allocations: 3.117 MB / 0.7549 GB, free: 5.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.037e-06/1.894, allocations: 0 / 0.7549 GB, free: 5.199 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008689/1.902, allocations: 1.286 MB / 0.7561 GB, free: 3.918 MB / 442.7 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 (224): * Single equations (assignments): 219 * 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: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007442/1.903, allocations: 199.2 kB / 0.7563 GB, free: 3.734 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.917, allocations: 6.451 MB / 0.7626 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.704e-06/1.917, allocations: 0 / 0.7626 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004631/1.922, allocations: 2.214 MB / 0.7648 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.926, allocations: 0.5528 MB / 0.7653 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/1.96, allocations: 15.01 MB / 0.78 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/1.97, allocations: 4.218 MB / 0.7841 GB, free: 7.691 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/1.972, allocations: 379.4 kB / 0.7844 GB, free: 7.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.845e-06/1.972, allocations: 0 / 0.7844 GB, free: 7.32 MB / 474.7 MB Notification: Performance of Templates: time 0.4773/2.449, allocations: 118.2 MB / 0.8999 GB, free: 98.96 MB / 490.7 MB