Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.012/2.012, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006311, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3627, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5339, allocations: 92.64 MB / 424.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.5343, allocations: 83.95 kB / 424.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9584/1.493, allocations: 163.8 MB / 0.5746 GB, free: 21.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.586e-06/1.493, allocations: 3.938 kB / 0.5746 GB, free: 21.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0009887/1.494, allocations: 168 kB / 0.5747 GB, free: 21.11 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03982/1.534, allocations: 8.774 MB / 0.5833 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.534, allocations: 8.031 kB / 0.5833 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0861/1.62, allocations: 12.03 MB / 0.5951 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04199/1.662, allocations: 10.84 MB / 0.6056 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.663, allocations: 0.6096 MB / 0.6062 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004753/1.668, allocations: 0.8081 MB / 0.607 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6854/2.353, allocations: 19.32 MB / 0.6259 GB, free: 59.02 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006925/2.354, allocations: 102.4 kB / 0.626 GB, free: 59.02 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003985/2.358, allocations: 389.2 kB / 0.6264 GB, free: 59.02 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004504/2.363, allocations: 1.732 MB / 0.628 GB, free: 59.01 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0524/2.415, allocations: 15.69 MB / 0.6434 GB, free: 58.94 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1256/2.541, allocations: 79.6 MB / 0.7211 GB, free: 10.41 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03485/2.576, allocations: 8.256 MB / 0.7292 GB, free: 7.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/2.577, allocations: 0.6611 MB / 0.7298 GB, free: 7.18 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/2.577, allocations: 71.78 kB / 0.7299 GB, free: 7.117 MB / 426.8 MB Notification: Performance of pre-optimization done (n=307): time 7.945e-06/2.577, allocations: 0 / 0.7299 GB, free: 7.117 MB / 426.8 MB Notification: Performance of matching and sorting (n=331): time 0.1441/2.721, allocations: 31.07 MB / 0.7602 GB, free: 7.352 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/2.721, allocations: 295.6 kB / 0.7605 GB, free: 7.008 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02079/2.742, allocations: 7.548 MB / 0.7679 GB, free: 0.7539 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008868/2.743, allocations: 81.45 kB / 0.7679 GB, free: 0.6719 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007784/2.751, allocations: 5.384 MB / 0.7732 GB, free: 12.27 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002343/2.753, allocations: 1.251 MB / 0.7744 GB, free: 11.16 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001496/2.755, allocations: 184 kB / 0.7746 GB, free: 10.98 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009716/2.756, allocations: 0.7154 MB / 0.7753 GB, free: 10.37 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.766, allocations: 3.45 MB / 0.7787 GB, free: 7.473 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/2.782, allocations: 8.981 MB / 0.7874 GB, free: 12.64 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/2.797, allocations: 5.436 MB / 0.7928 GB, free: 7.789 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/2.797, allocations: 52 kB / 0.7928 GB, free: 7.738 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.372/3.169, allocations: 12.83 MB / 0.8053 GB, free: 97.98 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000178/3.17, allocations: 85.69 kB / 0.8054 GB, free: 97.98 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004249/3.17, allocations: 197.3 kB / 0.8056 GB, free: 97.98 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/3.175, allocations: 1.008 MB / 0.8066 GB, free: 97.95 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/3.189, allocations: 2.159 MB / 0.8087 GB, free: 97.95 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/3.209, allocations: 11.21 MB / 0.8196 GB, free: 92.66 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/3.222, allocations: 0.5026 MB / 0.8201 GB, free: 92.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/3.224, allocations: 0.5579 MB / 0.8207 GB, free: 92.66 MB / 474.8 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.01151/3.236, allocations: 3.732 MB / 0.8243 GB, free: 92.54 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002175/3.238, allocations: 0.664 MB / 0.825 GB, free: 92.54 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01891/3.257, allocations: 5.943 MB / 0.8308 GB, free: 92.32 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/3.257, allocations: 34.19 kB / 0.8308 GB, free: 92.32 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/3.257, allocations: 10.16 kB / 0.8308 GB, free: 92.32 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.592e-05/3.257, allocations: 14.58 kB / 0.8308 GB, free: 92.32 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06044/3.318, allocations: 14.71 MB / 0.8452 GB, free: 91.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.538e-05/3.318, allocations: 3.531 kB / 0.8452 GB, free: 91.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007495/3.325, allocations: 0.5256 MB / 0.8457 GB, free: 91.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004871/3.33, allocations: 0.6625 MB / 0.8464 GB, free: 91.47 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/3.331, allocations: 59.22 kB / 0.8464 GB, free: 91.47 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/3.358, allocations: 10.07 MB / 0.8562 GB, free: 85.83 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/3.358, allocations: 6.875 kB / 0.8563 GB, free: 85.83 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04892/3.407, allocations: 9.74 MB / 0.8658 GB, free: 82.09 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006498/3.413, allocations: 1.174 MB / 0.8669 GB, free: 81.65 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003773/3.417, allocations: 56.47 kB / 0.867 GB, free: 81.61 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009375/3.427, allocations: 191 kB / 0.8671 GB, free: 81.57 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001499/3.428, allocations: 194.8 kB / 0.8673 GB, free: 81.55 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007793/3.429, allocations: 89.52 kB / 0.8674 GB, free: 81.52 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01949/3.448, allocations: 4.817 MB / 0.8721 GB, free: 79.95 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.064e-06/3.449, allocations: 2.094 kB / 0.8721 GB, free: 79.95 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02034/3.469, allocations: 1.81 MB / 0.8739 GB, free: 79.76 MB / 474.8 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.001753/3.471, allocations: 212.7 kB / 0.8741 GB, free: 79.63 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.03228/3.503, allocations: 8.783 MB / 0.8827 GB, free: 76.85 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/3.503, allocations: 3.562 kB / 0.8827 GB, free: 76.85 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01174/3.515, allocations: 3.201 MB / 0.8858 GB, free: 75.44 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01149/3.526, allocations: 0.9101 MB / 0.8867 GB, free: 75.08 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07526/3.602, allocations: 21.58 MB / 0.9078 GB, free: 59.58 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02092/3.623, allocations: 5.897 MB / 0.9135 GB, free: 55.28 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005017/3.628, allocations: 0.5059 MB / 0.914 GB, free: 54.8 MB / 474.8 MB Notification: Performance of SimCode: time 2.345e-06/3.628, allocations: 0 / 0.914 GB, free: 54.8 MB / 474.8 MB Notification: Performance of Templates: time 0.8162/4.444, allocations: 235.2 MB / 1.144 GB, free: 11.79 MB / 0.4949 GB