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.274/2.274, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.002e-05, allocations: 4 kB / 309.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.486, allocations: 104.8 MB / 469.4 MB, free: 7.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4863, allocations: 75.95 kB / 469.4 MB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.663/1.149, allocations: 110.8 MB / 0.5666 GB, free: 106.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.173e-06/1.149, allocations: 0 / 0.5666 GB, free: 106.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003031/1.15, allocations: 110.5 kB / 0.5667 GB, free: 106.6 MB / 458.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.01797/1.168, allocations: 5.875 MB / 0.5725 GB, free: 104.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.168, allocations: 14.44 kB / 0.5725 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/1.201, allocations: 6.898 MB / 0.5792 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/1.22, allocations: 7.072 MB / 0.5861 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/1.221, allocations: 411.7 kB / 0.5865 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/1.223, allocations: 0.5392 MB / 0.5871 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/1.256, allocations: 14.01 MB / 0.6007 GB, free: 90.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/1.256, allocations: 79.33 kB / 0.6008 GB, free: 90.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/1.258, allocations: 262.1 kB / 0.6011 GB, free: 90.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00198/1.26, allocations: 1.355 MB / 0.6024 GB, free: 89.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/1.287, allocations: 11.56 MB / 0.6137 GB, free: 77.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07251/1.36, allocations: 60.64 MB / 0.6729 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/1.381, allocations: 5.778 MB / 0.6785 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005199/1.386, allocations: 3.245 MB / 0.6817 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02834/1.414, allocations: 14.73 MB / 0.6961 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/1.414, allocations: 60.5 kB / 0.6961 GB, free: 6.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.393e-06/1.414, allocations: 0 / 0.6961 GB, free: 6.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.3623/1.777, allocations: 21.91 MB / 0.7175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/1.777, allocations: 258.9 kB / 0.7178 GB, free: 111.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009345/1.786, allocations: 4.399 MB / 0.7221 GB, free: 110.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005191/1.787, allocations: 70.55 kB / 0.7222 GB, free: 110.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.79, allocations: 3.812 MB / 0.7259 GB, free: 108.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.791, allocations: 0.9891 MB / 0.7268 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/1.792, allocations: 145.2 kB / 0.727 GB, free: 108.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004811/1.792, allocations: 0.6159 MB / 0.7276 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.797, allocations: 2.52 MB / 0.73 GB, free: 107.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007204/1.804, allocations: 6.839 MB / 0.7367 GB, free: 101.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007498/1.812, allocations: 4.11 MB / 0.7407 GB, free: 100 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.812, allocations: 41.72 kB / 0.7408 GB, free: 100 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02066/1.833, allocations: 9.407 MB / 0.75 GB, free: 96.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.833, allocations: 68.91 kB / 0.75 GB, free: 96.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/1.833, allocations: 151 kB / 0.7502 GB, free: 96.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/1.835, allocations: 0.5885 MB / 0.7507 GB, free: 96.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007244/1.842, allocations: 1.73 MB / 0.7524 GB, free: 96.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/1.849, allocations: 5.613 MB / 0.7579 GB, free: 92.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007242/1.857, allocations: 402 kB / 0.7583 GB, free: 92.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.858, allocations: 445.5 kB / 0.7587 GB, free: 92.41 MB / 474.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.001404/1.859, allocations: 0.6785 MB / 0.7594 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.86, allocations: 470.4 kB / 0.7598 GB, free: 91.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/1.868, allocations: 3.976 MB / 0.7637 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/1.868, allocations: 28.09 kB / 0.7637 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.869, allocations: 7.188 kB / 0.7638 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.869, allocations: 15.81 kB / 0.7638 GB, free: 90.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/1.893, allocations: 10.22 MB / 0.7738 GB, free: 86.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.893, allocations: 4.25 kB / 0.7738 GB, free: 86.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/1.896, allocations: 468.7 kB / 0.7742 GB, free: 86.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/1.897, allocations: 347.1 kB / 0.7745 GB, free: 86.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003749/1.897, allocations: 43.52 kB / 0.7746 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006013/1.904, allocations: 4.954 MB / 0.7794 GB, free: 82.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.143e-06/1.904, allocations: 3.594 kB / 0.7794 GB, free: 82.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.916, allocations: 7.08 MB / 0.7863 GB, free: 76.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.919, allocations: 0.8174 MB / 0.7871 GB, free: 76.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.92, allocations: 48.64 kB / 0.7872 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/1.923, allocations: 159.3 kB / 0.7873 GB, free: 75.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000621/1.924, allocations: 149.3 kB / 0.7875 GB, free: 75.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/1.924, allocations: 64.78 kB / 0.7875 GB, free: 75.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006816/1.931, allocations: 3.075 MB / 0.7905 GB, free: 73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.238e-06/1.931, allocations: 0 / 0.7905 GB, free: 73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008305/1.939, allocations: 1.287 MB / 0.7918 GB, free: 71.72 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 (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.0006845/1.94, allocations: 197.5 kB / 0.792 GB, free: 71.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01195/1.952, allocations: 6.366 MB / 0.7982 GB, free: 65.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.434e-06/1.952, allocations: 3.938 kB / 0.7982 GB, free: 65.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/1.956, allocations: 2.18 MB / 0.8003 GB, free: 63.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.959, allocations: 0.566 MB / 0.8009 GB, free: 63.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.983, allocations: 10.69 MB / 0.8113 GB, free: 53.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008019/1.991, allocations: 4.228 MB / 0.8155 GB, free: 50.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.993, allocations: 382.2 kB / 0.8158 GB, free: 50.22 MB / 474.7 MB Notification: Performance of SimCode: time 2.202e-06/1.993, allocations: 1.781 kB / 0.8158 GB, free: 50.22 MB / 474.7 MB Notification: Performance of Templates: time 0.4595/2.452, allocations: 118.3 MB / 0.9313 GB, free: 94.55 MB / 490.7 MB