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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.17/2.17, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007346/0.0007349, allocations: 16 kB / 314.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2718, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.4299, allocations: 104.9 MB / 474.2 MB, free: 1.633 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4301, allocations: 79.95 kB / 474.3 MB, free: 1.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7481/1.178, allocations: 110.7 MB / 0.5713 GB, free: 380 kB / 394.7 MB Notification: Performance of FrontEnd: time 4.537e-06/1.178, allocations: 0 / 0.5713 GB, free: 380 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004494/1.179, allocations: 116 kB / 0.5714 GB, free: 264 kB / 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.03662/1.215, allocations: 6.349 MB / 0.5776 GB, free: 9.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.216, allocations: 8.031 kB / 0.5776 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07255/1.288, allocations: 6.892 MB / 0.5843 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04178/1.33, allocations: 7.109 MB / 0.5913 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000962/1.331, allocations: 410.8 kB / 0.5917 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003534/1.335, allocations: 0.5387 MB / 0.5922 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.374, allocations: 14.11 MB / 0.606 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.374, allocations: 71.41 kB / 0.606 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/1.375, allocations: 259.9 kB / 0.6063 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/1.378, allocations: 1.36 MB / 0.6076 GB, free: 9.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/1.411, allocations: 11.73 MB / 0.6191 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3555/1.766, allocations: 60.63 MB / 0.6783 GB, free: 41.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02147/1.788, allocations: 5.814 MB / 0.684 GB, free: 41.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02555/1.813, allocations: 14.74 MB / 0.6984 GB, free: 37.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.813, allocations: 59.88 kB / 0.6984 GB, free: 37.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 6.934e-06/1.813, allocations: 0 / 0.6984 GB, free: 37.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=263): time 0.09965/1.913, allocations: 25.4 MB / 0.7232 GB, free: 30.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/1.913, allocations: 259.2 kB / 0.7235 GB, free: 30.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008654/1.922, allocations: 4.445 MB / 0.7278 GB, free: 28.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/1.922, allocations: 63.52 kB / 0.7279 GB, free: 28.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002478/1.925, allocations: 3.816 MB / 0.7316 GB, free: 25.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.926, allocations: 0.9807 MB / 0.7326 GB, free: 25.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/1.927, allocations: 146.6 kB / 0.7327 GB, free: 25.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004377/1.927, allocations: 0.6268 MB / 0.7333 GB, free: 24.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005034/1.932, allocations: 2.568 MB / 0.7358 GB, free: 23.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007111/1.939, allocations: 6.892 MB / 0.7425 GB, free: 17.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007745/1.947, allocations: 4.116 MB / 0.7466 GB, free: 15.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.947, allocations: 39.94 kB / 0.7466 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02155/1.969, allocations: 9.524 MB / 0.7559 GB, free: 9.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.969, allocations: 76.22 kB / 0.756 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/1.969, allocations: 152 kB / 0.7561 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/1.971, allocations: 0.5883 MB / 0.7567 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007268/1.978, allocations: 1.733 MB / 0.7584 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/1.986, allocations: 5.719 MB / 0.764 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007112/1.993, allocations: 396 kB / 0.7643 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/1.994, allocations: 446 kB / 0.7648 GB, free: 1.418 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.007888/2.002, allocations: 2.722 MB / 0.7674 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/2.003, allocations: 477.6 kB / 0.7679 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009788/2.013, allocations: 4.011 MB / 0.7718 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/2.013, allocations: 31.95 kB / 0.7718 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/2.013, allocations: 8 kB / 0.7718 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/2.013, allocations: 10.12 kB / 0.7719 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/2.039, allocations: 10.27 MB / 0.7819 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/2.039, allocations: 0 / 0.7819 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/2.042, allocations: 473.9 kB / 0.7823 GB, free: 2.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/2.044, allocations: 344.1 kB / 0.7827 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003579/2.044, allocations: 48 kB / 0.7827 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008027/2.052, allocations: 5.061 MB / 0.7876 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.052, allocations: 0 / 0.7876 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/2.067, allocations: 7.142 MB / 0.7946 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002783/2.069, allocations: 0.8281 MB / 0.7954 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009571/2.07, allocations: 38.66 kB / 0.7955 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/2.073, allocations: 163.7 kB / 0.7956 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007326/2.074, allocations: 146.1 kB / 0.7958 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/2.074, allocations: 67.8 kB / 0.7958 GB, free: 6.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007449/2.082, allocations: 3.117 MB / 0.7989 GB, free: 3.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.506e-06/2.082, allocations: 112 / 0.7989 GB, free: 3.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008494/2.09, allocations: 1.298 MB / 0.8001 GB, free: 2.258 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.0007565/2.091, allocations: 200.5 kB / 0.8003 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01419/2.105, allocations: 6.457 MB / 0.8066 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/2.105, allocations: 4 kB / 0.8066 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/2.11, allocations: 2.21 MB / 0.8088 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/2.114, allocations: 0.5647 MB / 0.8093 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3139/2.428, allocations: 15 MB / 0.824 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009084/2.437, allocations: 4.225 MB / 0.8281 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/2.439, allocations: 380.9 kB / 0.8285 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.978e-06/2.439, allocations: 0 / 0.8285 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1665/2.605, allocations: 118.3 MB / 0.944 GB, free: 54.58 MB / 0.4948 GB