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.848/1.848, allocations: 209.2 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 12 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.0875, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.434, allocations: 92.63 MB / 423.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4343, allocations: 83.95 kB / 424 MB, free: 8.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7877/1.222, allocations: 162.3 MB / 0.5726 GB, free: 59.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.863e-06/1.222, allocations: 0 / 0.5726 GB, free: 59.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004676/1.222, allocations: 168 kB / 0.5727 GB, free: 59.41 MB / 410.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.0268/1.249, allocations: 8.776 MB / 0.5813 GB, free: 50.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/1.249, allocations: 12.02 kB / 0.5813 GB, free: 50.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05915/1.309, allocations: 12.02 MB / 0.5931 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02841/1.337, allocations: 10.85 MB / 0.6037 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/1.338, allocations: 0.6057 MB / 0.6043 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003122/1.341, allocations: 0.8121 MB / 0.605 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04494/1.386, allocations: 19.25 MB / 0.6238 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004372/1.386, allocations: 107 kB / 0.6239 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002431/1.389, allocations: 387.8 kB / 0.6243 GB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/1.392, allocations: 1.724 MB / 0.626 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04337/1.435, allocations: 15.69 MB / 0.6413 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/1.803, allocations: 79.6 MB / 0.7191 GB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02676/1.83, allocations: 8.261 MB / 0.7271 GB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008674/1.831, allocations: 0.6612 MB / 0.7278 GB, free: 21.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/1.831, allocations: 70.94 kB / 0.7278 GB, free: 21.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 8.466e-06/1.831, allocations: 0 / 0.7278 GB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=331): time 0.1052/1.937, allocations: 30.25 MB / 0.7574 GB, free: 9.906 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.937, allocations: 301 kB / 0.7577 GB, free: 9.586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.951, allocations: 6.721 MB / 0.7642 GB, free: 7.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006457/1.951, allocations: 80.67 kB / 0.7643 GB, free: 7.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003953/1.955, allocations: 5.292 MB / 0.7695 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.957, allocations: 1.247 MB / 0.7707 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009735/1.958, allocations: 192.8 kB / 0.7709 GB, free: 1.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006289/1.959, allocations: 0.7024 MB / 0.7716 GB, free: 1.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/1.972, allocations: 3.771 MB / 0.7752 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/1.986, allocations: 8.946 MB / 0.784 GB, free: 5.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.998, allocations: 5.433 MB / 0.7893 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/1.998, allocations: 56 kB / 0.7893 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03462/2.033, allocations: 12.72 MB / 0.8018 GB, free: 5.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/2.033, allocations: 91.94 kB / 0.8019 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003214/2.034, allocations: 192 kB / 0.802 GB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/2.037, allocations: 1.013 MB / 0.803 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009726/2.047, allocations: 2.154 MB / 0.8051 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/2.067, allocations: 11.23 MB / 0.8161 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009945/2.076, allocations: 0.5127 MB / 0.8166 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/2.079, allocations: 0.5469 MB / 0.8171 GB, free: 7.039 MB / 474.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 () * 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.01002/2.089, allocations: 3.737 MB / 0.8208 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/2.09, allocations: 0.6741 MB / 0.8214 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2925/2.383, allocations: 6.134 MB / 0.8274 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/2.383, allocations: 34.06 kB / 0.8275 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/2.383, allocations: 9.953 kB / 0.8275 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/2.383, allocations: 16.19 kB / 0.8275 GB, free: 110.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03955/2.423, allocations: 14.71 MB / 0.8418 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/2.423, allocations: 4.594 kB / 0.8418 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003748/2.427, allocations: 0.523 MB / 0.8424 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/2.429, allocations: 0.6753 MB / 0.843 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005351/2.43, allocations: 63.28 kB / 0.8431 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/2.443, allocations: 10.07 MB / 0.8529 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-06/2.444, allocations: 6.375 kB / 0.8529 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/2.464, allocations: 10.04 MB / 0.8627 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003853/2.467, allocations: 1.177 MB / 0.8639 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/2.469, allocations: 54.69 kB / 0.8639 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/2.473, allocations: 196.1 kB / 0.8641 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007342/2.474, allocations: 193.8 kB / 0.8643 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000326/2.474, allocations: 83.69 kB / 0.8644 GB, free: 103.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01076/2.485, allocations: 4.818 MB / 0.8691 GB, free: 102.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.225e-06/2.485, allocations: 3.062 kB / 0.8691 GB, free: 102.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01147/2.497, allocations: 1.806 MB / 0.8708 GB, free: 102.2 MB / 474.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 () * 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.0009023/2.498, allocations: 216.4 kB / 0.8711 GB, free: 102 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01669/2.514, allocations: 8.781 MB / 0.8796 GB, free: 99.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.168e-06/2.514, allocations: 1.438 kB / 0.8796 GB, free: 99.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006066/2.521, allocations: 3.196 MB / 0.8827 GB, free: 97.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/2.526, allocations: 0.9189 MB / 0.8836 GB, free: 97.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/2.569, allocations: 21.52 MB / 0.9047 GB, free: 86.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/2.582, allocations: 5.893 MB / 0.9104 GB, free: 84.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002683/2.585, allocations: 0.5087 MB / 0.9109 GB, free: 84.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.896e-06/2.585, allocations: 0 / 0.9109 GB, free: 84.78 MB / 474.7 MB Notification: Performance of Templates: time 0.5968/3.182, allocations: 235.2 MB / 1.141 GB, free: 2.512 MB / 474.7 MB