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.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004261, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.359, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.551, allocations: 102.9 MB / 472.7 MB, free: 3.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.5514, allocations: 87.89 kB / 472.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8824/1.434, allocations: 139.3 MB / 0.5977 GB, free: 5.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.594e-06/1.434, allocations: 0 / 0.5977 GB, free: 5.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004744/1.434, allocations: 136 kB / 0.5978 GB, free: 5.09 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03452/1.469, allocations: 7.295 MB / 0.605 GB, free: 13.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.469, allocations: 8.031 kB / 0.605 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05481/1.524, allocations: 7.174 MB / 0.612 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03085/1.555, allocations: 7.566 MB / 0.6194 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009296/1.556, allocations: 0.5174 MB / 0.6199 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004459/1.56, allocations: 0.6871 MB / 0.6205 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7368/2.297, allocations: 17.29 MB / 0.6374 GB, free: 60.59 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007319/2.298, allocations: 84.78 kB / 0.6375 GB, free: 60.59 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003984/2.302, allocations: 333.3 kB / 0.6378 GB, free: 60.59 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004404/2.306, allocations: 1.62 MB / 0.6394 GB, free: 60.57 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04608/2.352, allocations: 14.36 MB / 0.6534 GB, free: 60.5 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/2.467, allocations: 72.28 MB / 0.724 GB, free: 17.52 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02949/2.496, allocations: 7.199 MB / 0.7311 GB, free: 15.14 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/2.523, allocations: 9.474 MB / 0.7403 GB, free: 10.95 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.194e-05/2.523, allocations: 64.89 kB / 0.7404 GB, free: 10.9 MB / 458.8 MB Notification: Performance of pre-optimization done (n=297): time 9.668e-06/2.523, allocations: 0 / 0.7404 GB, free: 10.9 MB / 458.8 MB Notification: Performance of matching and sorting (n=339): time 0.1599/2.683, allocations: 32.95 MB / 0.7725 GB, free: 9.699 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/2.683, allocations: 243.1 kB / 0.7728 GB, free: 9.414 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01709/2.7, allocations: 6.659 MB / 0.7793 GB, free: 3.867 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.701, allocations: 77.7 kB / 0.7794 GB, free: 3.785 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005797/2.707, allocations: 4.564 MB / 0.7838 GB, free: 15.65 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002516/2.71, allocations: 1.269 MB / 0.7851 GB, free: 14.53 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/2.711, allocations: 178.7 kB / 0.7852 GB, free: 14.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006927/2.711, allocations: 0.6829 MB / 0.7859 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/2.723, allocations: 3.733 MB / 0.7895 GB, free: 10.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01669/2.739, allocations: 8.799 MB / 0.7981 GB, free: 204 kB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02166/2.761, allocations: 5.938 MB / 0.8039 GB, free: 12.15 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/2.761, allocations: 52 kB / 0.804 GB, free: 12.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04241/2.804, allocations: 13.54 MB / 0.8172 GB, free: 416 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/2.804, allocations: 80 kB / 0.8173 GB, free: 336 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/2.804, allocations: 176 kB / 0.8174 GB, free: 160 kB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3867/3.191, allocations: 1.728 MB / 0.8191 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/3.206, allocations: 2.118 MB / 0.8212 GB, free: 102.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/3.229, allocations: 11.7 MB / 0.8326 GB, free: 99.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/3.241, allocations: 0.5128 MB / 0.8331 GB, free: 99.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/3.243, allocations: 0.5233 MB / 0.8336 GB, free: 99.79 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1089): * Single equations (assignments): 1084 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01004/3.253, allocations: 3.278 MB / 0.8368 GB, free: 99.67 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/3.255, allocations: 0.5895 MB / 0.8374 GB, free: 99.67 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/3.278, allocations: 7.483 MB / 0.8447 GB, free: 99.46 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.898e-05/3.278, allocations: 36.28 kB / 0.8448 GB, free: 99.46 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.432e-05/3.278, allocations: 10 kB / 0.8448 GB, free: 99.46 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.281e-05/3.279, allocations: 17.25 kB / 0.8448 GB, free: 99.46 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04828/3.327, allocations: 16.03 MB / 0.8604 GB, free: 98.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-05/3.327, allocations: 7.312 kB / 0.8604 GB, free: 98.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006387/3.333, allocations: 0.6367 MB / 0.8611 GB, free: 98.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00645/3.34, allocations: 1.386 MB / 0.8624 GB, free: 98.62 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009796/3.341, allocations: 57.62 kB / 0.8625 GB, free: 98.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02191/3.363, allocations: 10.92 MB / 0.8731 GB, free: 93.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/3.363, allocations: 10.75 kB / 0.8731 GB, free: 93.46 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03048/3.393, allocations: 11.84 MB / 0.8847 GB, free: 88.92 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004636/3.398, allocations: 1.207 MB / 0.8859 GB, free: 88.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/3.4, allocations: 60.83 kB / 0.8859 GB, free: 88.37 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005253/3.406, allocations: 224 kB / 0.8862 GB, free: 88.33 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00097/3.407, allocations: 204.1 kB / 0.8864 GB, free: 88.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000426/3.407, allocations: 89.27 kB / 0.8864 GB, free: 88.28 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01136/3.419, allocations: 4.282 MB / 0.8906 GB, free: 86.86 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.12e-07/3.419, allocations: 0 / 0.8906 GB, free: 86.86 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01147/3.43, allocations: 1.695 MB / 0.8923 GB, free: 86.67 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/3.431, allocations: 212.6 kB / 0.8925 GB, free: 86.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02188/3.453, allocations: 9.18 MB / 0.9014 GB, free: 83.66 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/3.453, allocations: 0 / 0.9014 GB, free: 83.66 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01023/3.464, allocations: 3.709 MB / 0.9051 GB, free: 82.25 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006697/3.47, allocations: 0.7014 MB / 0.9058 GB, free: 81.92 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0469/3.517, allocations: 19.81 MB / 0.9251 GB, free: 64.34 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01246/3.53, allocations: 5.18 MB / 0.9302 GB, free: 60.55 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/3.534, allocations: 478.2 kB / 0.9306 GB, free: 60.11 MB / 0.4949 GB Notification: Performance of SimCode: time 1.703e-06/3.534, allocations: 0 / 0.9306 GB, free: 60.11 MB / 0.4949 GB Notification: Performance of Templates: time 0.6654/4.199, allocations: 152.2 MB / 1.079 GB, free: 81.66 MB / 0.5105 GB