Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005884/0.0005884, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3617, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.5432, allocations: 100.9 MB / 470.3 MB, free: 5.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5435, allocations: 87.78 kB / 470.3 MB, free: 5.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654/2.198, allocations: 200.4 MB / 0.6551 GB, free: 44.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/2.198, allocations: 3.5 kB / 0.6551 GB, free: 44.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005746/2.198, allocations: 191.8 kB / 0.6553 GB, free: 44.71 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04154/2.24, allocations: 9.991 MB / 0.665 GB, free: 40.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/2.24, allocations: 9.969 kB / 0.665 GB, free: 40.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009378/2.25, allocations: 1.822 MB / 0.6668 GB, free: 40.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/2.285, allocations: 4.032 MB / 0.6707 GB, free: 39.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03981/2.325, allocations: 10.61 MB / 0.6811 GB, free: 38.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/2.326, allocations: 0.7899 MB / 0.6819 GB, free: 38.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006127/2.333, allocations: 1.037 MB / 0.6829 GB, free: 38.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08149/2.414, allocations: 24.4 MB / 0.7067 GB, free: 34.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006965/2.415, allocations: 106.2 kB / 0.7068 GB, free: 34.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005709/2.421, allocations: 494.4 kB / 0.7073 GB, free: 34.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005766/2.426, allocations: 2.275 MB / 0.7095 GB, free: 34.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06632/2.493, allocations: 19.52 MB / 0.7286 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5675/3.06, allocations: 94.21 MB / 0.8206 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03583/3.096, allocations: 7.637 MB / 0.828 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03952/3.136, allocations: 13.3 MB / 0.841 GB, free: 72.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/3.136, allocations: 70.25 kB / 0.8411 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 8.115e-06/3.136, allocations: 0 / 0.8411 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.0929/3.229, allocations: 20.85 MB / 0.8614 GB, free: 66.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/3.229, allocations: 163.2 kB / 0.8616 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01834/3.247, allocations: 6.586 MB / 0.868 GB, free: 65.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008207/3.248, allocations: 79.23 kB / 0.8681 GB, free: 65.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005769/3.254, allocations: 6.55 MB / 0.8745 GB, free: 62.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/3.256, allocations: 1.361 MB / 0.8758 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/3.258, allocations: 214.8 kB / 0.876 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001169/3.259, allocations: 0.7534 MB / 0.8768 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/3.27, allocations: 3.217 MB / 0.8799 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0152/3.285, allocations: 9.697 MB / 0.8894 GB, free: 53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01469/3.3, allocations: 5.393 MB / 0.8946 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002922/3.3, allocations: 65.72 kB / 0.8947 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03698/3.337, allocations: 12.38 MB / 0.9068 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/3.338, allocations: 104.2 kB / 0.9069 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003919/3.338, allocations: 233.4 kB / 0.9071 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/3.338, allocations: 341.9 kB / 0.9074 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/3.355, allocations: 2.617 MB / 0.91 GB, free: 52.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005328/3.356, allocations: 456.5 kB / 0.9104 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/3.369, allocations: 0.6819 MB / 0.9111 GB, free: 51.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/3.372, allocations: 0.6361 MB / 0.9117 GB, free: 51.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01367/3.386, allocations: 4.521 MB / 0.9161 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/3.388, allocations: 0.6642 MB / 0.9168 GB, free: 50.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/3.401, allocations: 4.097 MB / 0.9208 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/3.401, allocations: 43.33 kB / 0.9208 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/3.401, allocations: 3.875 kB / 0.9208 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.51e-05/3.401, allocations: 19.88 kB / 0.9209 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.106/3.507, allocations: 50.12 MB / 0.9698 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001953/3.507, allocations: 72 kB / 0.9699 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005398/3.513, allocations: 0.7373 MB / 0.9706 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/3.513, allocations: 104 kB / 0.9707 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006456/3.514, allocations: 167.4 kB / 0.9708 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/3.514, allocations: 146.8 kB / 0.971 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.406e-05/3.514, allocations: 115.5 kB / 0.9711 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/3.535, allocations: 21.48 MB / 0.9921 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/3.539, allocations: 0.7974 MB / 0.9928 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/3.541, allocations: 166.6 kB / 0.993 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007514/3.549, allocations: 276.9 kB / 0.9933 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/3.55, allocations: 489.1 kB / 0.9937 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000616/3.551, allocations: 205.2 kB / 0.9939 GB, free: 232 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01563/3.567, allocations: 4.651 MB / 0.9985 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/3.567, allocations: 0 / 0.9985 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01631/3.583, allocations: 1.88 MB / 1 GB, free: 10.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * 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 (376): * Single equations (assignments): 373 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.424/4.007, allocations: 34.5 MB / 1.034 GB, free: 72.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0211/4.028, allocations: 7.574 MB / 1.041 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.178e-05/4.028, allocations: 10.47 kB / 1.041 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005743/4.034, allocations: 2.12 MB / 1.043 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009389/4.044, allocations: 1.033 MB / 1.044 GB, free: 72.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7093/4.753, allocations: 236.4 MB / 1.275 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02595/4.779, allocations: 7.132 MB / 1.282 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01613/4.795, allocations: 4.849 MB / 1.287 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.378e-06/4.795, allocations: 0 / 1.287 GB, free: 119.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.294/11.09, allocations: 172.5 MB / 1.456 GB, free: 147.3 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat