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.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.73/2.73, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 15.98 kB / 314.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3785, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.5876, allocations: 100.8 MB / 470.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.588, allocations: 79.97 kB / 470.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8037/1.392, allocations: 115.3 MB / 0.5723 GB, free: 61.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.025e-06/1.392, allocations: 3.938 kB / 0.5723 GB, free: 61.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003903/1.392, allocations: 108 kB / 0.5724 GB, free: 61.06 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02477/1.417, allocations: 5.933 MB / 0.5782 GB, free: 55.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.417, allocations: 12.03 kB / 0.5782 GB, free: 55.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05129/1.468, allocations: 6.95 MB / 0.585 GB, free: 48.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02502/1.493, allocations: 6.887 MB / 0.5917 GB, free: 41.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005651/1.494, allocations: 418.9 kB / 0.5921 GB, free: 40.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/1.497, allocations: 0.547 MB / 0.5927 GB, free: 40.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04082/1.538, allocations: 13.4 MB / 0.6057 GB, free: 25.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004904/1.539, allocations: 87.22 kB / 0.6058 GB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/1.542, allocations: 263.9 kB / 0.6061 GB, free: 25.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002847/1.545, allocations: 1.247 MB / 0.6073 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03295/1.578, allocations: 10.67 MB / 0.6177 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4819/2.06, allocations: 59.65 MB / 0.676 GB, free: 99.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/2.079, allocations: 4.628 MB / 0.6805 GB, free: 98.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/2.096, allocations: 6.503 MB / 0.6868 GB, free: 97.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/2.096, allocations: 63.3 kB / 0.6869 GB, free: 97.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 6.292e-06/2.096, allocations: 0 / 0.6869 GB, free: 97.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=195): time 0.07325/2.169, allocations: 17.31 MB / 0.7038 GB, free: 93.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/2.17, allocations: 232.9 kB / 0.704 GB, free: 92.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.184, allocations: 5.826 MB / 0.7097 GB, free: 92.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005008/2.184, allocations: 53.36 kB / 0.7098 GB, free: 92.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00386/2.188, allocations: 3.935 MB / 0.7136 GB, free: 90.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/2.189, allocations: 0.7668 MB / 0.7144 GB, free: 89.81 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/2.19, allocations: 148.1 kB / 0.7145 GB, free: 89.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004926/2.191, allocations: 0.6174 MB / 0.7151 GB, free: 89.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006257/2.197, allocations: 2.297 MB / 0.7174 GB, free: 89.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009556/2.207, allocations: 6.815 MB / 0.724 GB, free: 83.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/2.216, allocations: 3.884 MB / 0.7278 GB, free: 82.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002435/2.217, allocations: 46.69 kB / 0.7278 GB, free: 82.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02635/2.243, allocations: 9.049 MB / 0.7367 GB, free: 79.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/2.243, allocations: 77.38 kB / 0.7368 GB, free: 79.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/2.243, allocations: 157.3 kB / 0.7369 GB, free: 79.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/2.246, allocations: 0.6163 MB / 0.7375 GB, free: 79.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/2.256, allocations: 1.637 MB / 0.7391 GB, free: 79.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/2.267, allocations: 5.817 MB / 0.7448 GB, free: 75.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00906/2.276, allocations: 385.7 kB / 0.7452 GB, free: 75.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/2.278, allocations: 449.8 kB / 0.7456 GB, free: 75.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (882): * Single equations (assignments): 877 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008529/2.286, allocations: 2.69 MB / 0.7482 GB, free: 74.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/2.288, allocations: 490.8 kB / 0.7487 GB, free: 73.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009788/2.297, allocations: 3.059 MB / 0.7517 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.924e-05/2.298, allocations: 23.31 kB / 0.7517 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/2.298, allocations: 3.875 kB / 0.7517 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-05/2.298, allocations: 11.09 kB / 0.7517 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/2.324, allocations: 8.477 MB / 0.76 GB, free: 67.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/2.325, allocations: 4 kB / 0.76 GB, free: 67.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/2.328, allocations: 324.7 kB / 0.7603 GB, free: 67.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/2.33, allocations: 367.5 kB / 0.7606 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/2.33, allocations: 34.27 kB / 0.7607 GB, free: 66.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008072/2.338, allocations: 5.181 MB / 0.7657 GB, free: 61.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.338, allocations: 7.938 kB / 0.7657 GB, free: 61.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/2.351, allocations: 5.639 MB / 0.7713 GB, free: 56.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/2.355, allocations: 0.7943 MB / 0.772 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/2.356, allocations: 39.12 kB / 0.7721 GB, free: 56.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004061/2.36, allocations: 97.75 kB / 0.7722 GB, free: 56.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/2.361, allocations: 113 kB / 0.7723 GB, free: 55.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/2.361, allocations: 59.53 kB / 0.7723 GB, free: 55.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009775/2.371, allocations: 3.727 MB / 0.776 GB, free: 52.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.371, allocations: 0 / 0.776 GB, free: 52.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008935/2.38, allocations: 1.223 MB / 0.7772 GB, free: 51.66 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007551/2.381, allocations: 172.5 kB / 0.7773 GB, free: 51.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/2.394, allocations: 5.704 MB / 0.7829 GB, free: 46.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/2.394, allocations: 384 / 0.7829 GB, free: 46.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00346/2.397, allocations: 1.707 MB / 0.7846 GB, free: 44.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/2.402, allocations: 0.6077 MB / 0.7852 GB, free: 44.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/2.435, allocations: 14.43 MB / 0.7992 GB, free: 31.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009599/2.445, allocations: 4.24 MB / 0.8034 GB, free: 28.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/2.447, allocations: 373.8 kB / 0.8037 GB, free: 27.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/2.447, allocations: 0 / 0.8037 GB, free: 27.78 MB / 474.7 MB Notification: Performance of Templates: time 0.5973/3.044, allocations: 118.1 MB / 0.919 GB, free: 106.9 MB / 0.4948 GB