Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.205/2.205, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.594e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2725, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.4707, allocations: 98.7 MB / 456.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004159/0.4711, allocations: 79.95 kB / 456.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8481/1.319, allocations: 159.1 MB / 0.6015 GB, free: 12.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.319, allocations: 0 / 0.6015 GB, free: 12.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005847/1.32, allocations: 160 kB / 0.6016 GB, free: 12.67 MB / 442.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.02947/1.349, allocations: 8.005 MB / 0.6094 GB, free: 4.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.349, allocations: 11.97 kB / 0.6094 GB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06545/1.415, allocations: 12.03 MB / 0.6212 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3185/1.734, allocations: 10.79 MB / 0.6317 GB, free: 62.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/1.734, allocations: 264.5 kB / 0.632 GB, free: 62.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/1.737, allocations: 492.8 kB / 0.6325 GB, free: 62.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02509/1.763, allocations: 10.99 MB / 0.6432 GB, free: 62.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03805/1.801, allocations: 16.52 MB / 0.6593 GB, free: 58.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000568/1.801, allocations: 106.6 kB / 0.6594 GB, free: 58.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003004/1.804, allocations: 50.12 kB / 0.6595 GB, free: 58.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003176/1.807, allocations: 1.725 MB / 0.6611 GB, free: 58.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/1.91, allocations: 76.33 MB / 0.7357 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008937/1.919, allocations: 5.888 MB / 0.7414 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006199/1.925, allocations: 3.996 MB / 0.7453 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/1.926, allocations: 0.668 MB / 0.746 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/1.926, allocations: 66.44 kB / 0.7461 GB, free: 6.301 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 9.119e-06/1.926, allocations: 3.812 kB / 0.7461 GB, free: 6.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=335): time 0.1073/2.033, allocations: 35 MB / 0.7802 GB, free: 14.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/2.034, allocations: 299.1 kB / 0.7805 GB, free: 14.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/2.047, allocations: 5.352 MB / 0.7857 GB, free: 9.789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006455/2.048, allocations: 25.7 kB / 0.7858 GB, free: 9.758 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005778/2.054, allocations: 5.49 MB / 0.7911 GB, free: 4.879 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002029/2.056, allocations: 1.234 MB / 0.7923 GB, free: 3.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009415/2.057, allocations: 0 / 0.7923 GB, free: 3.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009059/2.058, allocations: 0.7172 MB / 0.793 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00763/2.065, allocations: 3.27 MB / 0.7962 GB, free: 252 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02924/2.095, allocations: 9.835 MB / 0.8058 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/2.106, allocations: 5.328 MB / 0.811 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/2.106, allocations: 56 kB / 0.8111 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.3233/2.43, allocations: 11.58 MB / 0.8224 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.43, allocations: 89.69 kB / 0.8225 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/2.43, allocations: 199.8 kB / 0.8227 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/2.433, allocations: 1.002 MB / 0.8237 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009317/2.442, allocations: 2.237 MB / 0.8258 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/2.457, allocations: 10.59 MB / 0.8362 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009662/2.466, allocations: 342.5 kB / 0.8365 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.468, allocations: 0.5699 MB / 0.8371 GB, free: 90.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1189): * Single equations (assignments): 1182 * 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.002122/2.471, allocations: 0.6238 MB / 0.8377 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.472, allocations: 0.5814 MB / 0.8382 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/2.484, allocations: 5.625 MB / 0.8437 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/2.484, allocations: 36.38 kB / 0.8438 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/2.484, allocations: 10.3 kB / 0.8438 GB, free: 90.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.404e-05/2.485, allocations: 17.03 kB / 0.8438 GB, free: 90.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03142/2.516, allocations: 13.13 MB / 0.8566 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/2.516, allocations: 3.25 kB / 0.8566 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/2.519, allocations: 0.532 MB / 0.8571 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002746/2.522, allocations: 0.6626 MB / 0.8578 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005915/2.523, allocations: 17.25 kB / 0.8578 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/2.535, allocations: 9.46 MB / 0.867 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-06/2.535, allocations: 1.641 kB / 0.867 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/2.553, allocations: 9.663 MB / 0.8765 GB, free: 83.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/2.556, allocations: 1.061 MB / 0.8775 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/2.557, allocations: 3.562 kB / 0.8775 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003874/2.561, allocations: 141.9 kB / 0.8777 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007251/2.562, allocations: 199 kB / 0.8778 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/2.562, allocations: 84.42 kB / 0.8779 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008261/2.571, allocations: 3.65 MB / 0.8815 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.691e-06/2.571, allocations: 0 / 0.8815 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0116/2.582, allocations: 1.576 MB / 0.883 GB, free: 82.86 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 273 * 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.0009402/2.583, allocations: 156.9 kB / 0.8832 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01501/2.598, allocations: 8.283 MB / 0.8913 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-06/2.598, allocations: 4.234 kB / 0.8913 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/2.604, allocations: 3.053 MB / 0.8943 GB, free: 78.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/2.608, allocations: 0.7342 MB / 0.895 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/2.643, allocations: 15.24 MB / 0.9098 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/2.656, allocations: 5.92 MB / 0.9156 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/2.659, allocations: 483.9 kB / 0.9161 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of SimCode: time 2.038e-06/2.659, allocations: 2.078 kB / 0.9161 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.6117/3.27, allocations: 230.2 MB / 1.141 GB, free: 22.92 MB / 0.5105 GB