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.FrameForces.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.FrameForces,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.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004434, allocations: 19.94 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.279, allocations: 54.85 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4298, allocations: 100.7 MB / 469.9 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.4301, allocations: 83.95 kB / 470 MB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6536/1.084, allocations: 110.7 MB / 0.5671 GB, free: 3.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.701e-06/1.084, allocations: 3.938 kB / 0.5672 GB, free: 3.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003018/1.084, allocations: 107.9 kB / 0.5673 GB, free: 3.855 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: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01899/1.103, allocations: 5.81 MB / 0.5729 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.103, allocations: 8.031 kB / 0.5729 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03798/1.141, allocations: 6.923 MB / 0.5797 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02179/1.163, allocations: 6.816 MB / 0.5864 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006298/1.164, allocations: 398.6 kB / 0.5867 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/1.166, allocations: 0.5309 MB / 0.5873 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/1.201, allocations: 12.98 MB / 0.5999 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/1.201, allocations: 87.17 kB / 0.6 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/1.203, allocations: 255.9 kB / 0.6003 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002416/1.205, allocations: 1.207 MB / 0.6014 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02817/1.234, allocations: 10.38 MB / 0.6116 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3975/1.631, allocations: 58.36 MB / 0.6686 GB, free: 58.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/1.647, allocations: 4.69 MB / 0.6731 GB, free: 57.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01607/1.663, allocations: 6.863 MB / 0.6798 GB, free: 56.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/1.663, allocations: 58.23 kB / 0.6799 GB, free: 56.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 1.228e-05/1.663, allocations: 3.375 kB / 0.6799 GB, free: 56.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.09282/1.756, allocations: 15.77 MB / 0.6953 GB, free: 52.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.756, allocations: 200.9 kB / 0.6955 GB, free: 52.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.767, allocations: 5.141 MB / 0.7005 GB, free: 52.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/1.767, allocations: 52.77 kB / 0.7006 GB, free: 52.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.77, allocations: 3.825 MB / 0.7043 GB, free: 50.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008838/1.771, allocations: 0.7652 MB / 0.705 GB, free: 49.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005641/1.772, allocations: 138.3 kB / 0.7052 GB, free: 49.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004479/1.772, allocations: 0.6082 MB / 0.7058 GB, free: 49.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/1.777, allocations: 2.264 MB / 0.708 GB, free: 49.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/1.784, allocations: 6.674 MB / 0.7145 GB, free: 43.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007071/1.791, allocations: 3.803 MB / 0.7182 GB, free: 43.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/1.791, allocations: 44.38 kB / 0.7183 GB, free: 43.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02005/1.811, allocations: 8.884 MB / 0.7269 GB, free: 40.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.811, allocations: 74.12 kB / 0.727 GB, free: 40.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/1.812, allocations: 162.8 kB / 0.7272 GB, free: 40.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/1.813, allocations: 0.5981 MB / 0.7277 GB, free: 40.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007332/1.821, allocations: 1.61 MB / 0.7293 GB, free: 40.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/1.833, allocations: 5.694 MB / 0.7349 GB, free: 36.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009686/1.843, allocations: 379.7 kB / 0.7352 GB, free: 36.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.844, allocations: 434.6 kB / 0.7357 GB, free: 36.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (868): * Single equations (assignments): 863 * 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.006376/1.85, allocations: 2.615 MB / 0.7382 GB, free: 35.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000987/1.851, allocations: 488.4 kB / 0.7387 GB, free: 34.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006526/1.858, allocations: 2.993 MB / 0.7416 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/1.858, allocations: 29.25 kB / 0.7416 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.858, allocations: 7.531 kB / 0.7416 GB, free: 33.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/1.858, allocations: 7.406 kB / 0.7416 GB, free: 33.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/1.877, allocations: 8.165 MB / 0.7496 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.877, allocations: 0 / 0.7496 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.879, allocations: 292.5 kB / 0.7499 GB, free: 28.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/1.88, allocations: 346.8 kB / 0.7502 GB, free: 28.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/1.88, allocations: 36 kB / 0.7503 GB, free: 28.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006143/1.886, allocations: 5.058 MB / 0.7552 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-06/1.886, allocations: 4 kB / 0.7552 GB, free: 23.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/1.896, allocations: 5.966 MB / 0.761 GB, free: 18.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.899, allocations: 0.7926 MB / 0.7618 GB, free: 17.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009906/1.9, allocations: 30.72 kB / 0.7618 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.902, allocations: 98.8 kB / 0.7619 GB, free: 17.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/1.903, allocations: 115.3 kB / 0.762 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.903, allocations: 53.33 kB / 0.7621 GB, free: 17.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007543/1.91, allocations: 3.679 MB / 0.7657 GB, free: 14.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.402e-06/1.91, allocations: 0 / 0.7657 GB, free: 14.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00785/1.918, allocations: 1.198 MB / 0.7668 GB, free: 13.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * 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.0005168/1.919, allocations: 173.4 kB / 0.767 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009947/1.929, allocations: 5.611 MB / 0.7725 GB, free: 7.957 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.919e-06/1.929, allocations: 4 kB / 0.7725 GB, free: 7.953 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002762/1.932, allocations: 1.685 MB / 0.7741 GB, free: 6.438 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.935, allocations: 0.5862 MB / 0.7747 GB, free: 5.945 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/1.962, allocations: 13.96 MB / 0.7883 GB, free: 9.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0088/1.971, allocations: 4.122 MB / 0.7924 GB, free: 6.129 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.973, allocations: 370.2 kB / 0.7927 GB, free: 5.777 MB / 490.7 MB Notification: Performance of SimCode: time 2.295e-06/1.973, allocations: 0 / 0.7927 GB, free: 5.777 MB / 490.7 MB Notification: Performance of Templates: time 0.5135/2.486, allocations: 115 MB / 0.9051 GB, free: 131.3 MB / 0.5261 GB