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.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 1.887/1.887, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.113e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.083, allocations: 48.69 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.479, allocations: 92.55 MB / 419.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4793, allocations: 76 kB / 419.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8436/1.323, allocations: 162.5 MB / 0.568 GB, free: 72.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.236e-06/1.323, allocations: 0 / 0.568 GB, free: 72.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005023/1.324, allocations: 164.9 kB / 0.5682 GB, free: 72.3 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.02542/1.349, allocations: 7.998 MB / 0.576 GB, free: 69.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.349, allocations: 7.188 kB / 0.576 GB, free: 69.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07061/1.42, allocations: 12.03 MB / 0.5878 GB, free: 68.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03044/1.45, allocations: 10.79 MB / 0.5983 GB, free: 67.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007077/1.451, allocations: 0.6104 MB / 0.5989 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003548/1.454, allocations: 0.81 MB / 0.5997 GB, free: 67.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04844/1.503, allocations: 19.11 MB / 0.6183 GB, free: 57.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004793/1.503, allocations: 103 kB / 0.6184 GB, free: 57.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002856/1.506, allocations: 387.7 kB / 0.6188 GB, free: 57.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/1.509, allocations: 1.728 MB / 0.6205 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/1.547, allocations: 15.46 MB / 0.6356 GB, free: 41.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3989/1.946, allocations: 79.6 MB / 0.7133 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03013/1.976, allocations: 8.174 MB / 0.7213 GB, free: 28.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006591/1.983, allocations: 4.084 MB / 0.7253 GB, free: 28.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/1.984, allocations: 0.6694 MB / 0.726 GB, free: 27.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.984, allocations: 71.97 kB / 0.726 GB, free: 27.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=307): time 8.605e-06/1.984, allocations: 0 / 0.726 GB, free: 27.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=331): time 0.09453/2.079, allocations: 25.92 MB / 0.7513 GB, free: 21.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/2.079, allocations: 294.1 kB / 0.7516 GB, free: 21.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/2.093, allocations: 6.653 MB / 0.7581 GB, free: 20.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006481/2.094, allocations: 75.48 kB / 0.7582 GB, free: 20.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003991/2.098, allocations: 5.294 MB / 0.7634 GB, free: 17.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001534/2.099, allocations: 1.245 MB / 0.7646 GB, free: 17.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/2.1, allocations: 192.6 kB / 0.7648 GB, free: 17.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001027/2.101, allocations: 0.7067 MB / 0.7654 GB, free: 32.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007079/2.109, allocations: 3.368 MB / 0.7687 GB, free: 32.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/2.119, allocations: 8.86 MB / 0.7774 GB, free: 25.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/2.129, allocations: 5.402 MB / 0.7827 GB, free: 23.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00017/2.129, allocations: 55.31 kB / 0.7827 GB, free: 23.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02836/2.158, allocations: 12.53 MB / 0.795 GB, free: 20.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/2.158, allocations: 92.34 kB / 0.795 GB, free: 20.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/2.158, allocations: 191.9 kB / 0.7952 GB, free: 20.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/2.161, allocations: 1.011 MB / 0.7962 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009511/2.171, allocations: 2.153 MB / 0.7983 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/2.186, allocations: 11 MB / 0.8091 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009814/2.196, allocations: 0.5108 MB / 0.8095 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001986/2.198, allocations: 0.5467 MB / 0.8101 GB, free: 11.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1149): * Single equations (assignments): 1142 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002339/2.201, allocations: 0.8324 MB / 0.8109 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/2.202, allocations: 0.6634 MB / 0.8115 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/2.217, allocations: 5.858 MB / 0.8173 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/2.217, allocations: 35.95 kB / 0.8173 GB, free: 4.789 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/2.217, allocations: 8 kB / 0.8173 GB, free: 4.781 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/2.217, allocations: 19.75 kB / 0.8173 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04429/2.261, allocations: 14.89 MB / 0.8319 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/2.261, allocations: 7.953 kB / 0.8319 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/2.265, allocations: 0.5247 MB / 0.8324 GB, free: 9.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/2.268, allocations: 0.6622 MB / 0.833 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006332/2.269, allocations: 59.28 kB / 0.8331 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/2.284, allocations: 9.864 MB / 0.8427 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.615e-06/2.284, allocations: 4 kB / 0.8427 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/2.305, allocations: 9.918 MB / 0.8524 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004248/2.31, allocations: 1.178 MB / 0.8536 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.312, allocations: 52.7 kB / 0.8536 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004877/2.317, allocations: 194.9 kB / 0.8538 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008764/2.317, allocations: 190.6 kB / 0.854 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003578/2.318, allocations: 88.45 kB / 0.8541 GB, free: 4.609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01225/2.33, allocations: 4.748 MB / 0.8587 GB, free: 460 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.373e-06/2.33, allocations: 0 / 0.8587 GB, free: 460 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.02376/2.354, allocations: 2.459 MB / 0.8611 GB, free: 0 / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.001033/2.355, allocations: 214.7 kB / 0.8613 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01906/2.374, allocations: 8.636 MB / 0.8697 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.142e-06/2.374, allocations: 0 / 0.8697 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006469/2.381, allocations: 3.149 MB / 0.8728 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/2.387, allocations: 0.9221 MB / 0.8737 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3076/2.695, allocations: 15.4 MB / 0.8888 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0142/2.709, allocations: 5.896 MB / 0.8945 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/2.712, allocations: 0.5029 MB / 0.895 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.985e-06/2.712, allocations: 0 / 0.895 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.5911/3.303, allocations: 235.2 MB / 1.125 GB, free: 113.6 MB / 0.4948 GB