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.898/1.898, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.585e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08839, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4609, allocations: 98.02 MB / 424.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4611, allocations: 71.72 kB / 424.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.477/0.9381, allocations: 110.7 MB / 0.5228 GB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.9382, allocations: 3.938 kB / 0.5228 GB, free: 1.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003699/0.9386, allocations: 112 kB / 0.5229 GB, free: 1.75 MB / 426.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.2987/1.237, allocations: 5.869 MB / 0.5286 GB, free: 79.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.237, allocations: 7.094 kB / 0.5286 GB, free: 79.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03714/1.275, allocations: 6.895 MB / 0.5353 GB, free: 78.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02261/1.297, allocations: 7.065 MB / 0.5422 GB, free: 78.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006255/1.298, allocations: 410.2 kB / 0.5426 GB, free: 78.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/1.301, allocations: 0.5441 MB / 0.5432 GB, free: 78.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/1.338, allocations: 14 MB / 0.5568 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/1.338, allocations: 70.62 kB / 0.5569 GB, free: 75.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/1.34, allocations: 266.2 kB / 0.5571 GB, free: 75.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/1.342, allocations: 1.353 MB / 0.5585 GB, free: 75.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03057/1.373, allocations: 11.56 MB / 0.5698 GB, free: 75.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07759/1.45, allocations: 60.63 MB / 0.629 GB, free: 32.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/1.471, allocations: 5.773 MB / 0.6346 GB, free: 30.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005348/1.477, allocations: 3.236 MB / 0.6378 GB, free: 27.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0266/1.503, allocations: 14.73 MB / 0.6522 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.504, allocations: 60.56 kB / 0.6522 GB, free: 13.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 7.271e-06/1.504, allocations: 0 / 0.6522 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.0879/1.592, allocations: 21.91 MB / 0.6736 GB, free: 11.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/1.592, allocations: 261.3 kB / 0.6739 GB, free: 11.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.602, allocations: 4.396 MB / 0.6781 GB, free: 7.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00053/1.603, allocations: 67.11 kB / 0.6782 GB, free: 7.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004044/1.607, allocations: 3.812 MB / 0.6819 GB, free: 4.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.609, allocations: 0.9842 MB / 0.6829 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007326/1.609, allocations: 148.7 kB / 0.683 GB, free: 3.074 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00064/1.61, allocations: 0.616 MB / 0.6836 GB, free: 2.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006153/1.616, allocations: 2.515 MB / 0.6861 GB, free: 236 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2653/1.881, allocations: 6.838 MB / 0.6928 GB, free: 86.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008583/1.89, allocations: 4.104 MB / 0.6968 GB, free: 86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/1.89, allocations: 42.84 kB / 0.6968 GB, free: 86 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02312/1.913, allocations: 9.413 MB / 0.706 GB, free: 85.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.914, allocations: 73.34 kB / 0.7061 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/1.914, allocations: 151.8 kB / 0.7062 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/1.916, allocations: 0.5824 MB / 0.7068 GB, free: 85.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00821/1.924, allocations: 1.731 MB / 0.7085 GB, free: 85.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/1.932, allocations: 5.635 MB / 0.714 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007269/1.939, allocations: 400.8 kB / 0.7144 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.941, allocations: 441.5 kB / 0.7148 GB, free: 82.65 MB / 442.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 () * 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.00186/1.943, allocations: 0.6691 MB / 0.7154 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009967/1.944, allocations: 468.6 kB / 0.7159 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008861/1.952, allocations: 3.979 MB / 0.7198 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/1.953, allocations: 29.31 kB / 0.7198 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.953, allocations: 7.844 kB / 0.7198 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/1.953, allocations: 13.78 kB / 0.7198 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.977, allocations: 10.24 MB / 0.7298 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/1.977, allocations: 0 / 0.7298 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003204/1.981, allocations: 469.4 kB / 0.7303 GB, free: 81.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/1.982, allocations: 346.5 kB / 0.7306 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004099/1.983, allocations: 46.19 kB / 0.7306 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.989, allocations: 4.959 MB / 0.7355 GB, free: 78.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-06/1.989, allocations: 0 / 0.7355 GB, free: 78.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/2.002, allocations: 7.074 MB / 0.7424 GB, free: 75.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/2.005, allocations: 0.8237 MB / 0.7432 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/2.006, allocations: 42.62 kB / 0.7432 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/2.009, allocations: 163.7 kB / 0.7434 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006258/2.01, allocations: 139.8 kB / 0.7435 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/2.01, allocations: 66.73 kB / 0.7436 GB, free: 74.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007275/2.018, allocations: 3.079 MB / 0.7466 GB, free: 73.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.305e-06/2.018, allocations: 0 / 0.7466 GB, free: 73.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00825/2.026, allocations: 1.289 MB / 0.7479 GB, free: 73.57 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 () * 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.0007325/2.027, allocations: 201.6 kB / 0.7481 GB, free: 73.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01264/2.039, allocations: 6.359 MB / 0.7543 GB, free: 71.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.107e-06/2.039, allocations: 0 / 0.7543 GB, free: 71.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004035/2.044, allocations: 2.183 MB / 0.7564 GB, free: 70.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/2.047, allocations: 0.5595 MB / 0.7569 GB, free: 69.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/2.072, allocations: 10.69 MB / 0.7674 GB, free: 65.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008482/2.08, allocations: 4.228 MB / 0.7715 GB, free: 63.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.082, allocations: 377.3 kB / 0.7719 GB, free: 62.96 MB / 442.7 MB Notification: Performance of SimCode: time 2.105e-06/2.082, allocations: 0 / 0.7719 GB, free: 62.96 MB / 442.7 MB Notification: Performance of Templates: time 0.4248/2.507, allocations: 118.2 MB / 0.8873 GB, free: 95.8 MB / 458.7 MB