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.WorldForceAndTorque.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.972e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 48.68 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.406, allocations: 94.01 MB / 414 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4063, allocations: 71.97 kB / 414.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8009/1.207, allocations: 174.4 MB / 0.5747 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.606e-06/1.207, allocations: 0 / 0.5747 GB, free: 104 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006124/1.208, allocations: 176 kB / 0.5749 GB, free: 15.93 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03158/1.24, allocations: 8.769 MB / 0.5834 GB, free: 7.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.24, allocations: 12.03 kB / 0.5834 GB, free: 7.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5689/1.808, allocations: 9.876 MB / 0.5931 GB, free: 43.72 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02859/1.837, allocations: 9.822 MB / 0.6027 GB, free: 43.25 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005074/1.838, allocations: 304.4 kB / 0.603 GB, free: 43.25 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003588/1.841, allocations: 0.5312 MB / 0.6035 GB, free: 43.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02837/1.87, allocations: 12.91 MB / 0.6161 GB, free: 43.2 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/1.913, allocations: 19.17 MB / 0.6348 GB, free: 38.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006961/1.914, allocations: 111 kB / 0.6349 GB, free: 38.74 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004057/1.918, allocations: 47.03 kB / 0.635 GB, free: 38.74 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003721/1.922, allocations: 2.08 MB / 0.637 GB, free: 38.72 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/2.045, allocations: 87.16 MB / 0.7221 GB, free: 11.4 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/2.059, allocations: 7.802 MB / 0.7297 GB, free: 4.246 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01484/2.074, allocations: 5.782 MB / 0.7354 GB, free: 15.96 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/2.074, allocations: 93.88 kB / 0.7355 GB, free: 15.9 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.806e-05/2.074, allocations: 75.88 kB / 0.7355 GB, free: 15.82 MB / 458.8 MB Notification: Performance of pre-optimization done (n=412): time 9.633e-06/2.074, allocations: 0 / 0.7355 GB, free: 15.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=477): time 0.3815/2.456, allocations: 41.28 MB / 0.7759 GB, free: 80.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/2.456, allocations: 281.4 kB / 0.7761 GB, free: 80.46 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/2.468, allocations: 5.51 MB / 0.7815 GB, free: 79.95 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/2.469, allocations: 32.41 kB / 0.7815 GB, free: 79.92 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004318/2.474, allocations: 6.03 MB / 0.7874 GB, free: 76.53 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00238/2.476, allocations: 1.695 MB / 0.7891 GB, free: 75.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/2.477, allocations: 0 / 0.7891 GB, free: 75.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008252/2.478, allocations: 0.8021 MB / 0.7899 GB, free: 75.16 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009712/2.488, allocations: 4.795 MB / 0.7945 GB, free: 75.14 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/2.501, allocations: 11.08 MB / 0.8054 GB, free: 67.08 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.514, allocations: 7.197 MB / 0.8124 GB, free: 67.02 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/2.514, allocations: 65.34 kB / 0.8125 GB, free: 67.02 MB / 458.8 MB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.0394/2.554, allocations: 16.64 MB / 0.8287 GB, free: 64.96 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/2.554, allocations: 101.4 kB / 0.8288 GB, free: 64.96 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/2.554, allocations: 229.7 kB / 0.829 GB, free: 64.96 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008077/2.562, allocations: 2.494 MB / 0.8315 GB, free: 64.51 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01261/2.575, allocations: 2.774 MB / 0.8342 GB, free: 64.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02626/2.601, allocations: 15.91 MB / 0.8497 GB, free: 55.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.613, allocations: 473.1 kB / 0.8502 GB, free: 55.67 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002653/2.616, allocations: 0.6711 MB / 0.8508 GB, free: 55.58 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],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 (1415): * Single equations (assignments): 1409 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003721/2.62, allocations: 0.6772 MB / 0.8515 GB, free: 55.04 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/2.622, allocations: 0.6333 MB / 0.8521 GB, free: 54.69 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02306/2.645, allocations: 10.21 MB / 0.8621 GB, free: 47.79 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.664e-05/2.645, allocations: 53.53 kB / 0.8621 GB, free: 47.74 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/2.645, allocations: 12 kB / 0.8621 GB, free: 47.73 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.627e-05/2.645, allocations: 26.41 kB / 0.8621 GB, free: 47.73 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04665/2.692, allocations: 21.01 MB / 0.8827 GB, free: 30.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/2.692, allocations: 4 kB / 0.8827 GB, free: 30.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005841/2.698, allocations: 0.8786 MB / 0.8835 GB, free: 30.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007181/2.705, allocations: 2.115 MB / 0.8856 GB, free: 28.64 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/2.706, allocations: 27.2 kB / 0.8856 GB, free: 28.62 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/2.729, allocations: 14.66 MB / 0.8999 GB, free: 15.47 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/2.729, allocations: 7.938 kB / 0.8999 GB, free: 15.46 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.031/2.76, allocations: 17.03 MB / 0.9166 GB, free: 0.5195 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004798/2.765, allocations: 1.434 MB / 0.918 GB, free: 15.2 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/2.767, allocations: 12 kB / 0.918 GB, free: 15.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005623/2.773, allocations: 284.1 kB / 0.9183 GB, free: 15.04 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0015/2.774, allocations: 289.6 kB / 0.9185 GB, free: 14.86 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005726/2.775, allocations: 118.9 kB / 0.9186 GB, free: 14.74 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.2927/3.067, allocations: 3.746 MB / 0.9223 GB, free: 89.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.677e-06/3.067, allocations: 0 / 0.9223 GB, free: 89.11 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01317/3.081, allocations: 1.953 MB / 0.9242 GB, free: 89.11 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (408): * Single equations (assignments): 402 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001092/3.082, allocations: 179.1 kB / 0.9244 GB, free: 89.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02281/3.105, allocations: 12.2 MB / 0.9363 GB, free: 88.61 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/3.105, allocations: 0 / 0.9363 GB, free: 88.61 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009823/3.114, allocations: 5.093 MB / 0.9413 GB, free: 88.23 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/3.119, allocations: 0.6752 MB / 0.9419 GB, free: 88.21 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/3.16, allocations: 19.08 MB / 0.9606 GB, free: 84.93 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01281/3.172, allocations: 6.609 MB / 0.967 GB, free: 84.01 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003514/3.176, allocations: 0.5603 MB / 0.9676 GB, free: 84 MB / 474.8 MB Notification: Performance of SimCode: time 1.982e-06/3.176, allocations: 0 / 0.9676 GB, free: 84 MB / 474.8 MB Notification: Performance of Templates: time 0.5576/3.734, allocations: 228.2 MB / 1.19 GB, free: 71.41 MB / 490.8 MB