Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.852e-05, allocations: 7.984 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4295, allocations: 104.2 MB / 462.2 MB, free: 6.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4298, allocations: 71.95 kB / 462.3 MB, free: 6.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7005/1.13, allocations: 108.4 MB / 0.5573 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.226e-06/1.13, allocations: 0 / 0.5573 GB, free: 10.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000299/1.131, allocations: 115.9 kB / 0.5574 GB, free: 10.55 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.0179/1.149, allocations: 5.865 MB / 0.5631 GB, free: 4.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.149, allocations: 12.03 kB / 0.5631 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03563/1.184, allocations: 6.895 MB / 0.5699 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02269/1.207, allocations: 7.071 MB / 0.5768 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/1.207, allocations: 176 kB / 0.5769 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/1.21, allocations: 327.8 kB / 0.5773 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01896/1.229, allocations: 8.109 MB / 0.5852 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/1.258, allocations: 12.04 MB / 0.5969 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003072/1.258, allocations: 71.41 kB / 0.597 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/1.259, allocations: 36 kB / 0.597 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/1.262, allocations: 1.352 MB / 0.5984 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.384/1.646, allocations: 60.59 MB / 0.6575 GB, free: 57.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006568/1.653, allocations: 4.367 MB / 0.6618 GB, free: 56.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004769/1.657, allocations: 3.044 MB / 0.6648 GB, free: 56.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02295/1.68, allocations: 12.37 MB / 0.6768 GB, free: 53.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.681, allocations: 58.84 kB / 0.6769 GB, free: 53.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 6.636e-06/1.681, allocations: 0 / 0.6769 GB, free: 53.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.0709/1.751, allocations: 24.84 MB / 0.7011 GB, free: 46.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.752, allocations: 257.8 kB / 0.7014 GB, free: 46.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007892/1.759, allocations: 3.852 MB / 0.7052 GB, free: 44.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004799/1.76, allocations: 33.02 kB / 0.7052 GB, free: 44.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.763, allocations: 3.92 MB / 0.709 GB, free: 41.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.764, allocations: 0.9606 MB / 0.71 GB, free: 41.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006979/1.765, allocations: 0 / 0.71 GB, free: 41.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005002/1.765, allocations: 0.6335 MB / 0.7106 GB, free: 40.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.77, allocations: 2.426 MB / 0.7129 GB, free: 39.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/1.777, allocations: 6.885 MB / 0.7197 GB, free: 32.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/1.785, allocations: 4.037 MB / 0.7236 GB, free: 31.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/1.785, allocations: 44.66 kB / 0.7237 GB, free: 31.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02013/1.805, allocations: 8.638 MB / 0.7321 GB, free: 26.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.805, allocations: 73.56 kB / 0.7322 GB, free: 25.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/1.806, allocations: 156 kB / 0.7323 GB, free: 25.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.807, allocations: 0.5897 MB / 0.7329 GB, free: 25.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/1.815, allocations: 1.788 MB / 0.7346 GB, free: 23.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/1.822, allocations: 5.424 MB / 0.7399 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007299/1.829, allocations: 261.9 kB / 0.7402 GB, free: 18.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/1.831, allocations: 460.2 kB / 0.7406 GB, free: 17.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 938 * 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.001757/1.832, allocations: 0.5134 MB / 0.7411 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009181/1.833, allocations: 442.3 kB / 0.7415 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/1.841, allocations: 3.778 MB / 0.7452 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.246e-05/1.841, allocations: 32.92 kB / 0.7453 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.841, allocations: 10.59 kB / 0.7453 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/1.841, allocations: 13.08 kB / 0.7453 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.861, allocations: 9.01 MB / 0.7541 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.861, allocations: 4 kB / 0.7541 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/1.864, allocations: 467.3 kB / 0.7545 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/1.866, allocations: 343.9 kB / 0.7549 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/1.866, allocations: 7.75 kB / 0.7549 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/1.872, allocations: 4.753 MB / 0.7595 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.456e-06/1.872, allocations: 4 kB / 0.7595 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.889, allocations: 7.053 MB / 0.7664 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/1.891, allocations: 0.7812 MB / 0.7672 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.892, allocations: 8 kB / 0.7672 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.895, allocations: 120.4 kB / 0.7673 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005414/1.896, allocations: 150.7 kB / 0.7674 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.896, allocations: 67.42 kB / 0.7675 GB, free: 10.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00571/1.902, allocations: 2.586 MB / 0.77 GB, free: 8.352 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.265e-06/1.902, allocations: 0 / 0.77 GB, free: 8.352 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008509/1.91, allocations: 1.108 MB / 0.7711 GB, free: 7.25 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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.0006746/1.911, allocations: 149.7 kB / 0.7712 GB, free: 7.102 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/1.924, allocations: 6.069 MB / 0.7772 GB, free: 1.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.719e-06/1.924, allocations: 0 / 0.7772 GB, free: 1.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/1.928, allocations: 2.123 MB / 0.7792 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.931, allocations: 472.7 kB / 0.7797 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1.957, allocations: 10.58 MB / 0.79 GB, free: 5.859 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009145/1.966, allocations: 4.222 MB / 0.7941 GB, free: 2.734 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.968, allocations: 365.6 kB / 0.7945 GB, free: 2.395 MB / 490.7 MB Notification: Performance of SimCode: time 1.841e-06/1.968, allocations: 0 / 0.7945 GB, free: 2.395 MB / 490.7 MB Notification: Performance of Templates: time 0.4431/2.411, allocations: 115.8 MB / 0.9076 GB, free: 85.38 MB / 0.4948 GB