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/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.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.123/2.123, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.254e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.4294, allocations: 100.8 MB / 458.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4297, allocations: 71.97 kB / 458.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8349/1.265, allocations: 174.7 MB / 0.6188 GB, free: 10.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.43e-06/1.265, allocations: 4 kB / 0.6188 GB, free: 10.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005589/1.265, allocations: 176 kB / 0.6189 GB, free: 10.82 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.03215/1.297, allocations: 8.789 MB / 0.6275 GB, free: 1.945 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.297, allocations: 8.031 kB / 0.6275 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3366/1.634, allocations: 9.87 MB / 0.6372 GB, free: 53.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/1.664, allocations: 9.83 MB / 0.6468 GB, free: 53.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/1.664, allocations: 302.8 kB / 0.647 GB, free: 53.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004003/1.668, allocations: 0.5399 MB / 0.6476 GB, free: 53.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02872/1.697, allocations: 12.92 MB / 0.6602 GB, free: 53.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.741, allocations: 19.18 MB / 0.6789 GB, free: 48.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00059/1.741, allocations: 111.2 kB / 0.679 GB, free: 48.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003431/1.745, allocations: 56.88 kB / 0.6791 GB, free: 48.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003727/1.748, allocations: 2.084 MB / 0.6811 GB, free: 48.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.868, allocations: 87.21 MB / 0.7663 GB, free: 7.926 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.88, allocations: 7.809 MB / 0.7739 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02784/1.908, allocations: 6.511 MB / 0.7803 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/1.909, allocations: 83.92 kB / 0.7804 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.912e-05/1.909, allocations: 78.44 kB / 0.7804 GB, free: 14.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=412): time 1.018e-05/1.909, allocations: 3.938 kB / 0.7804 GB, free: 14.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=477): time 0.4122/2.321, allocations: 41.49 MB / 0.8209 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/2.321, allocations: 286.1 kB / 0.8212 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/2.333, allocations: 5.501 MB / 0.8266 GB, free: 92.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/2.334, allocations: 25.7 kB / 0.8266 GB, free: 92.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004091/2.338, allocations: 6.031 MB / 0.8325 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/2.34, allocations: 1.701 MB / 0.8342 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/2.342, allocations: 5.594 kB / 0.8342 GB, free: 88.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008734/2.343, allocations: 0.7989 MB / 0.835 GB, free: 88.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00953/2.352, allocations: 4.797 MB / 0.8396 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.365, allocations: 11.08 MB / 0.8505 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/2.378, allocations: 7.194 MB / 0.8575 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002271/2.379, allocations: 68.58 kB / 0.8576 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.0392/2.418, allocations: 16.64 MB / 0.8738 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/2.418, allocations: 104.4 kB / 0.8739 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002607/2.418, allocations: 220.5 kB / 0.8741 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008392/2.427, allocations: 2.498 MB / 0.8765 GB, free: 79.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/2.44, allocations: 2.773 MB / 0.8793 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/2.466, allocations: 15.92 MB / 0.8948 GB, free: 73.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.478, allocations: 475.4 kB / 0.8953 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/2.48, allocations: 0.6714 MB / 0.8959 GB, free: 73.52 MB / 0.4948 GB 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.003666/2.484, allocations: 0.6801 MB / 0.8966 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/2.486, allocations: 0.6295 MB / 0.8972 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/2.51, allocations: 10.21 MB / 0.9072 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.256e-05/2.51, allocations: 49.16 kB / 0.9072 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/2.51, allocations: 13.34 kB / 0.9072 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/2.51, allocations: 29.52 kB / 0.9072 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04955/2.56, allocations: 21 MB / 0.9278 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-05/2.56, allocations: 7.953 kB / 0.9278 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005708/2.565, allocations: 0.8889 MB / 0.9286 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006986/2.572, allocations: 2.112 MB / 0.9307 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.574, allocations: 23.45 kB / 0.9307 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/2.596, allocations: 14.67 MB / 0.945 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/2.596, allocations: 7.953 kB / 0.9451 GB, free: 44.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03085/2.627, allocations: 17.03 MB / 0.9617 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004587/2.631, allocations: 1.437 MB / 0.9631 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00208/2.634, allocations: 4 kB / 0.9631 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00563/2.639, allocations: 286.2 kB / 0.9634 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/2.641, allocations: 290.4 kB / 0.9636 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008186/2.641, allocations: 127.7 kB / 0.9638 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00775/2.649, allocations: 3.696 MB / 0.9674 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.139e-06/2.649, allocations: 0 / 0.9674 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0137/2.663, allocations: 1.962 MB / 0.9693 GB, free: 22.81 MB / 0.4948 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 (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.001287/2.664, allocations: 171.7 kB / 0.9694 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02275/2.687, allocations: 12.21 MB / 0.9814 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.687, allocations: 4 kB / 0.9814 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009772/2.697, allocations: 5.084 MB / 0.9863 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/2.702, allocations: 0.6866 MB / 0.987 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.347/3.049, allocations: 19.97 MB / 1.007 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/3.063, allocations: 6.608 MB / 1.013 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003612/3.067, allocations: 0.5583 MB / 1.014 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.795e-06/3.067, allocations: 0 / 1.014 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.6211/3.688, allocations: 228.4 MB / 1.237 GB, free: 110.6 MB / 0.5261 GB