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.WorldForceAndTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.118/2.118, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.48e-05, allocations: 0 / 309.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4743, allocations: 101.5 MB / 466 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4746, allocations: 77.23 kB / 466.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9901/1.465, allocations: 178.8 MB / 0.6298 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.445e-06/1.465, allocations: 4 kB / 0.6298 GB, free: 62.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004502/1.465, allocations: 183.9 kB / 0.63 GB, free: 62.17 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.02638/1.492, allocations: 8.789 MB / 0.6386 GB, free: 53.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.492, allocations: 8.031 kB / 0.6386 GB, free: 53.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04957/1.541, allocations: 9.875 MB / 0.6482 GB, free: 43.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.567, allocations: 9.846 MB / 0.6579 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006906/1.568, allocations: 0.69 MB / 0.6585 GB, free: 32.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003673/1.572, allocations: 0.9215 MB / 0.6594 GB, free: 31.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05205/1.624, allocations: 22.15 MB / 0.6811 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004866/1.624, allocations: 107 kB / 0.6812 GB, free: 7.922 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/1.627, allocations: 439.8 kB / 0.6816 GB, free: 7.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003322/1.631, allocations: 2.085 MB / 0.6836 GB, free: 5.398 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05074/1.681, allocations: 18.4 MB / 0.7016 GB, free: 2.957 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4243/2.106, allocations: 91.5 MB / 0.7909 GB, free: 24.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0302/2.136, allocations: 9.337 MB / 0.8001 GB, free: 21.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009478/2.145, allocations: 5.612 MB / 0.8055 GB, free: 18.87 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/2.146, allocations: 86.14 kB / 0.8056 GB, free: 18.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/2.146, allocations: 73.25 kB / 0.8057 GB, free: 18.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=412): time 1.106e-05/2.146, allocations: 0 / 0.8057 GB, free: 18.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=475): time 0.1319/2.278, allocations: 38.53 MB / 0.8433 GB, free: 3.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/2.278, allocations: 285.5 kB / 0.8436 GB, free: 3.137 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02616/2.304, allocations: 7.805 MB / 0.8512 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/2.305, allocations: 101.7 kB / 0.8513 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006361/2.312, allocations: 5.777 MB / 0.857 GB, free: 8.566 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003107/2.315, allocations: 1.749 MB / 0.8587 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/2.317, allocations: 223.1 kB / 0.8589 GB, free: 6.801 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001352/2.318, allocations: 0.7856 MB / 0.8596 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01249/2.331, allocations: 4.925 MB / 0.8645 GB, free: 1.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03801/2.369, allocations: 12.07 MB / 0.8762 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/2.385, allocations: 7.287 MB / 0.8834 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002034/2.385, allocations: 60 kB / 0.8834 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.3507/2.736, allocations: 17.71 MB / 0.9007 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/2.736, allocations: 98.72 kB / 0.9008 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000336/2.737, allocations: 211.1 kB / 0.901 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008402/2.745, allocations: 2.475 MB / 0.9034 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.759, allocations: 2.673 MB / 0.906 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02973/2.789, allocations: 16.91 MB / 0.9226 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.801, allocations: 0.6644 MB / 0.9232 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/2.803, allocations: 0.6481 MB / 0.9238 GB, free: 105.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1362): * Single equations (assignments): 1356 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00303/2.806, allocations: 0.9421 MB / 0.9248 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/2.808, allocations: 0.7497 MB / 0.9255 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0259/2.834, allocations: 10.66 MB / 0.9359 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.219e-05/2.834, allocations: 48.59 kB / 0.9359 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-05/2.834, allocations: 14.31 kB / 0.936 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/2.834, allocations: 23.72 kB / 0.936 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05712/2.891, allocations: 22.84 MB / 0.9583 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.565e-05/2.892, allocations: 9.062 kB / 0.9583 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006773/2.898, allocations: 0.8791 MB / 0.9592 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007224/2.906, allocations: 2.125 MB / 0.9612 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/2.907, allocations: 96.48 kB / 0.9613 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/2.932, allocations: 15.68 MB / 0.9766 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/2.932, allocations: 6.188 kB / 0.9766 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03373/2.966, allocations: 17.58 MB / 0.9938 GB, free: 85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005061/2.971, allocations: 1.606 MB / 0.9954 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/2.973, allocations: 87.25 kB / 0.9955 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006285/2.979, allocations: 359.6 kB / 0.9958 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/2.981, allocations: 286.9 kB / 0.9961 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007062/2.982, allocations: 121.4 kB / 0.9962 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01187/2.993, allocations: 5.203 MB / 1.001 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.669e-06/2.994, allocations: 0.8438 kB / 1.001 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01306/3.007, allocations: 2.265 MB / 1.003 GB, free: 78.45 MB / 0.5105 GB 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 (406): * Single equations (assignments): 400 * 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.001349/3.008, allocations: 258 kB / 1.004 GB, free: 78.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02262/3.031, allocations: 12.34 MB / 1.016 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.937e-06/3.031, allocations: 5.219 kB / 1.016 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/3.041, allocations: 5.264 MB / 1.021 GB, free: 63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/3.048, allocations: 0.9382 MB / 1.022 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/3.091, allocations: 19.46 MB / 1.041 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01472/3.106, allocations: 6.596 MB / 1.047 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003719/3.11, allocations: 0.6036 MB / 1.048 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of SimCode: time 2.113e-06/3.11, allocations: 0 / 1.048 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.6436/3.753, allocations: 235.9 MB / 1.278 GB, free: 10.85 MB / 0.5417 GB