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.FrameForces2.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.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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006646/0.0006648, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3573, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.5442, allocations: 99.44 MB / 469.2 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.5446, allocations: 87.94 kB / 469.3 MB, free: 7.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022/1.567, allocations: 164 MB / 0.6185 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.567, allocations: 0 / 0.6185 GB, free: 15.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007699/1.568, allocations: 164 kB / 0.6186 GB, free: 15.52 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.04101/1.609, allocations: 8.78 MB / 0.6272 GB, free: 6.648 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.609, allocations: 8.031 kB / 0.6272 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8229/2.432, allocations: 12.01 MB / 0.639 GB, free: 54.76 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03782/2.47, allocations: 10.85 MB / 0.6496 GB, free: 54.43 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000918/2.471, allocations: 0.6104 MB / 0.6502 GB, free: 54.41 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004749/2.475, allocations: 0.8232 MB / 0.651 GB, free: 54.4 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06306/2.539, allocations: 19.32 MB / 0.6698 GB, free: 50.33 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008535/2.539, allocations: 106.9 kB / 0.6699 GB, free: 50.32 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004537/2.544, allocations: 393.7 kB / 0.6703 GB, free: 50.32 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004071/2.548, allocations: 1.727 MB / 0.672 GB, free: 50.29 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05004/2.598, allocations: 15.71 MB / 0.6873 GB, free: 50.22 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1323/2.731, allocations: 79.64 MB / 0.7651 GB, free: 11.13 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03744/2.768, allocations: 8.24 MB / 0.7732 GB, free: 4.434 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/2.769, allocations: 0.6617 MB / 0.7738 GB, free: 3.715 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/2.77, allocations: 71.16 kB / 0.7739 GB, free: 3.641 MB / 474.8 MB Notification: Performance of pre-optimization done (n=307): time 8.025e-06/2.77, allocations: 0 / 0.7739 GB, free: 3.641 MB / 474.8 MB Notification: Performance of matching and sorting (n=331): time 0.1543/2.924, allocations: 31.22 MB / 0.8044 GB, free: 9.445 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/2.924, allocations: 287.7 kB / 0.8046 GB, free: 9.102 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02062/2.945, allocations: 7.544 MB / 0.812 GB, free: 2.852 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009192/2.946, allocations: 73.7 kB / 0.8121 GB, free: 2.773 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006793/2.953, allocations: 5.297 MB / 0.8172 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/2.955, allocations: 1.255 MB / 0.8185 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/2.957, allocations: 184 kB / 0.8186 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009442/2.958, allocations: 0.7109 MB / 0.8193 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/2.968, allocations: 3.451 MB / 0.8227 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.405/3.373, allocations: 8.978 MB / 0.8315 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/3.389, allocations: 5.429 MB / 0.8368 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003046/3.389, allocations: 53.88 kB / 0.8368 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.05333/3.443, allocations: 12.7 MB / 0.8492 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003162/3.443, allocations: 88.97 kB / 0.8493 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005728/3.444, allocations: 195.2 kB / 0.8495 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/3.449, allocations: 1.011 MB / 0.8505 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0188/3.468, allocations: 2.155 MB / 0.8526 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/3.495, allocations: 11.2 MB / 0.8635 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01764/3.513, allocations: 0.5142 MB / 0.864 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002493/3.515, allocations: 0.5469 MB / 0.8646 GB, free: 97.45 MB / 0.5105 GB 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 () * Number of clocked 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.01166/3.527, allocations: 3.733 MB / 0.8682 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/3.529, allocations: 0.6635 MB / 0.8689 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01856/3.548, allocations: 5.943 MB / 0.8747 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.419e-05/3.548, allocations: 33.67 kB / 0.8747 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.504e-05/3.548, allocations: 9.125 kB / 0.8747 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.91e-05/3.548, allocations: 13.73 kB / 0.8747 GB, free: 96.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/3.596, allocations: 14.73 MB / 0.8891 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.153e-05/3.596, allocations: 2.969 kB / 0.8891 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005437/3.601, allocations: 0.5202 MB / 0.8896 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/3.605, allocations: 0.6727 MB / 0.8903 GB, free: 95.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008721/3.606, allocations: 60.84 kB / 0.8903 GB, free: 95.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/3.622, allocations: 10.08 MB / 0.9002 GB, free: 88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/3.622, allocations: 3.562 kB / 0.9002 GB, free: 88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02534/3.647, allocations: 9.731 MB / 0.9097 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004669/3.652, allocations: 1.174 MB / 0.9108 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002718/3.655, allocations: 57.09 kB / 0.9109 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006416/3.661, allocations: 195.2 kB / 0.9111 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/3.662, allocations: 188.6 kB / 0.9112 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004451/3.663, allocations: 88.36 kB / 0.9113 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01341/3.676, allocations: 4.813 MB / 0.916 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.81e-07/3.676, allocations: 0 / 0.916 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01506/3.691, allocations: 1.807 MB / 0.9178 GB, free: 81.77 MB / 0.5105 GB 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 () * Number of clocked 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.001488/3.693, allocations: 212 kB / 0.918 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02899/3.722, allocations: 8.789 MB / 0.9266 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/3.722, allocations: 3.938 kB / 0.9266 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/3.732, allocations: 3.198 MB / 0.9297 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009986/3.742, allocations: 0.9159 MB / 0.9306 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05893/3.801, allocations: 21.58 MB / 0.9517 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01581/3.817, allocations: 5.898 MB / 0.9574 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003494/3.821, allocations: 0.5073 MB / 0.9579 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.028e-05/3.821, allocations: 0 / 0.9579 GB, free: 52.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.8079/4.629, allocations: 235.4 MB / 1.188 GB, free: 7.871 MB / 0.5262 GB