Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.516/2.516, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007064/0.0007066, allocations: 19.98 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.346, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2124/0.5585, allocations: 104.9 MB / 474.7 MB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5588, allocations: 87.91 kB / 474.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.739/1.298, allocations: 111.5 MB / 0.5725 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.36e-06/1.298, allocations: 0 / 0.5725 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005136/1.298, allocations: 115.9 kB / 0.5726 GB, free: 15.5 MB / 410.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.03324/1.332, allocations: 6.349 MB / 0.5788 GB, free: 9.074 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/1.332, allocations: 12.03 kB / 0.5789 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06015/1.392, allocations: 6.892 MB / 0.5856 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02933/1.421, allocations: 7.098 MB / 0.5925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/1.422, allocations: 406.8 kB / 0.5929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/1.426, allocations: 0.5543 MB / 0.5934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04895/1.475, allocations: 14.15 MB / 0.6073 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003588/1.475, allocations: 67.34 kB / 0.6073 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/1.477, allocations: 259.9 kB / 0.6076 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/1.481, allocations: 1.36 MB / 0.6089 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04089/1.522, allocations: 11.73 MB / 0.6204 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4248/1.946, allocations: 60.64 MB / 0.6796 GB, free: 42.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02619/1.973, allocations: 5.803 MB / 0.6852 GB, free: 42.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03205/2.005, allocations: 14.74 MB / 0.6996 GB, free: 37.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/2.005, allocations: 64.09 kB / 0.6997 GB, free: 37.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 7.064e-06/2.005, allocations: 3.281 kB / 0.6997 GB, free: 37.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=263): time 0.1318/2.137, allocations: 25.83 MB / 0.7249 GB, free: 31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/2.137, allocations: 260 kB / 0.7252 GB, free: 30.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009946/2.147, allocations: 5.001 MB / 0.7301 GB, free: 29.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006196/2.147, allocations: 65.45 kB / 0.7301 GB, free: 28.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003042/2.151, allocations: 3.812 MB / 0.7338 GB, free: 26.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/2.152, allocations: 0.99 MB / 0.7348 GB, free: 25.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007381/2.153, allocations: 146.8 kB / 0.735 GB, free: 25.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004119/2.153, allocations: 0.6156 MB / 0.7356 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006022/2.159, allocations: 2.579 MB / 0.7381 GB, free: 24.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008841/2.168, allocations: 6.917 MB / 0.7448 GB, free: 17.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/2.177, allocations: 4.112 MB / 0.7488 GB, free: 16.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/2.177, allocations: 43.72 kB / 0.7489 GB, free: 16.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02388/2.201, allocations: 9.52 MB / 0.7582 GB, free: 9.516 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/2.201, allocations: 68 kB / 0.7582 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/2.202, allocations: 152 kB / 0.7584 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/2.204, allocations: 0.5871 MB / 0.759 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01047/2.214, allocations: 1.736 MB / 0.7607 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008687/2.223, allocations: 5.723 MB / 0.7663 GB, free: 1.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007917/2.231, allocations: 402.6 kB / 0.7666 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/2.232, allocations: 439 kB / 0.7671 GB, free: 1.09 MB / 458.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.01114/2.244, allocations: 2.857 MB / 0.7698 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/2.245, allocations: 470.6 kB / 0.7703 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/2.256, allocations: 4.019 MB / 0.7742 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/2.256, allocations: 32 kB / 0.7742 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/2.256, allocations: 8 kB / 0.7743 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-05/2.256, allocations: 10.22 kB / 0.7743 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/2.287, allocations: 10.28 MB / 0.7843 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/2.287, allocations: 0 / 0.7843 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004569/2.292, allocations: 470.1 kB / 0.7848 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/2.294, allocations: 349.7 kB / 0.7851 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000397/2.294, allocations: 44 kB / 0.7851 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008726/2.303, allocations: 5.064 MB / 0.7901 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/2.303, allocations: 4.062 kB / 0.7901 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/2.32, allocations: 7.052 MB / 0.797 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/2.323, allocations: 0.8215 MB / 0.7978 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/2.325, allocations: 40 kB / 0.7978 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/2.329, allocations: 161.9 kB / 0.798 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/2.33, allocations: 150.4 kB / 0.7981 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/2.33, allocations: 69.91 kB / 0.7982 GB, free: 6.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00829/2.338, allocations: 3.116 MB / 0.8012 GB, free: 3.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.694e-06/2.338, allocations: 0 / 0.8012 GB, free: 3.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008865/2.347, allocations: 1.289 MB / 0.8025 GB, free: 2.359 MB / 490.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.000978/2.348, allocations: 197.2 kB / 0.8027 GB, free: 2.172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/2.364, allocations: 6.451 MB / 0.809 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/2.364, allocations: 0 / 0.809 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005189/2.37, allocations: 2.204 MB / 0.8111 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/2.374, allocations: 0.5533 MB / 0.8116 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3748/2.749, allocations: 15.06 MB / 0.8264 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/2.761, allocations: 4.227 MB / 0.8305 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/2.763, allocations: 375.1 kB / 0.8308 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/2.763, allocations: 2.219 kB / 0.8308 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.2292/2.992, allocations: 118.3 MB / 0.9463 GB, free: 52.77 MB / 0.4948 GB