Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 15.94 kB / 282.7 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1092, allocations: 48.71 MB / 331.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5482, allocations: 94.18 MB / 425.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5485, allocations: 79.95 kB / 425.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072/1.62, allocations: 199.2 MB / 0.6102 GB, free: 21.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.697e-06/1.62, allocations: 0 / 0.6102 GB, free: 21.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005367/1.621, allocations: 196 kB / 0.6104 GB, free: 20.84 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04025/1.661, allocations: 9.989 MB / 0.6201 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.661, allocations: 8.031 kB / 0.6201 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009002/1.67, allocations: 1.828 MB / 0.6219 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03598/1.706, allocations: 4.027 MB / 0.6259 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04098/1.747, allocations: 10.61 MB / 0.6362 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001732/1.749, allocations: 0.7903 MB / 0.637 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007395/1.756, allocations: 1.039 MB / 0.638 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7535/2.51, allocations: 24.4 MB / 0.6618 GB, free: 43.34 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001005/2.511, allocations: 97.27 kB / 0.6619 GB, free: 43.34 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006165/2.517, allocations: 490.2 kB / 0.6624 GB, free: 43.34 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006443/2.524, allocations: 2.267 MB / 0.6646 GB, free: 43.32 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09158/2.615, allocations: 19.52 MB / 0.6837 GB, free: 43.23 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/2.793, allocations: 94.15 MB / 0.7756 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03986/2.833, allocations: 7.919 MB / 0.7833 GB, free: 15.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04069/2.874, allocations: 13.3 MB / 0.7963 GB, free: 7.086 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.008e-05/2.874, allocations: 73.75 kB / 0.7964 GB, free: 7.012 MB / 458.8 MB Notification: Performance of pre-optimization done (n=336): time 8.256e-06/2.874, allocations: 3.828 kB / 0.7964 GB, free: 7.012 MB / 458.8 MB Notification: Performance of matching and sorting (n=360): time 0.1016/2.976, allocations: 20.85 MB / 0.8168 GB, free: 5.195 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/2.976, allocations: 166.5 kB / 0.8169 GB, free: 5.004 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3538/3.33, allocations: 6.584 MB / 0.8234 GB, free: 93.97 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008447/3.331, allocations: 80.27 kB / 0.8234 GB, free: 93.94 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007095/3.338, allocations: 6.549 MB / 0.8298 GB, free: 91.86 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00248/3.34, allocations: 1.36 MB / 0.8312 GB, free: 91.09 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/3.342, allocations: 212.9 kB / 0.8314 GB, free: 91.09 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001424/3.344, allocations: 0.7588 MB / 0.8321 GB, free: 90.75 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.013/3.357, allocations: 3.222 MB / 0.8352 GB, free: 90.73 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0178/3.375, allocations: 9.694 MB / 0.8447 GB, free: 82.36 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/3.391, allocations: 5.392 MB / 0.85 GB, free: 82.3 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004328/3.391, allocations: 66.81 kB / 0.85 GB, free: 82.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03898/3.43, allocations: 12.39 MB / 0.8621 GB, free: 81.41 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/3.43, allocations: 102.2 kB / 0.8622 GB, free: 81.41 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003535/3.431, allocations: 231.4 kB / 0.8625 GB, free: 81.41 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/3.431, allocations: 340.7 kB / 0.8628 GB, free: 81.41 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01714/3.448, allocations: 2.619 MB / 0.8653 GB, free: 81.19 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005224/3.449, allocations: 454.1 kB / 0.8658 GB, free: 81.09 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/3.462, allocations: 0.6808 MB / 0.8664 GB, free: 81.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002636/3.465, allocations: 0.6403 MB / 0.8671 GB, free: 81.07 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.0129/3.478, allocations: 4.517 MB / 0.8715 GB, free: 80.58 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/3.48, allocations: 0.6634 MB / 0.8721 GB, free: 80.21 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/3.492, allocations: 4.101 MB / 0.8761 GB, free: 79.99 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/3.492, allocations: 42.39 kB / 0.8762 GB, free: 79.99 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/3.492, allocations: 0 / 0.8762 GB, free: 79.99 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/3.493, allocations: 16.5 kB / 0.8762 GB, free: 79.99 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08834/3.581, allocations: 41.7 MB / 0.9169 GB, free: 66.84 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002251/3.581, allocations: 90.22 kB / 0.917 GB, free: 66.84 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005503/3.587, allocations: 0.8423 MB / 0.9178 GB, free: 66.73 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/3.587, allocations: 128.4 kB / 0.9179 GB, free: 66.73 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006492/3.587, allocations: 188 kB / 0.9181 GB, free: 66.68 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001155/3.588, allocations: 175.8 kB / 0.9183 GB, free: 66.64 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/3.588, allocations: 139.2 kB / 0.9184 GB, free: 66.61 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/3.604, allocations: 25.19 MB / 0.943 GB, free: 38.55 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/3.607, allocations: 0.8302 MB / 0.9438 GB, free: 37.73 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/3.609, allocations: 207.5 kB / 0.944 GB, free: 37.55 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007117/3.616, allocations: 271.8 kB / 0.9443 GB, free: 37.33 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/3.618, allocations: 0.5645 MB / 0.9448 GB, free: 36.87 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005583/3.618, allocations: 241.2 kB / 0.9451 GB, free: 36.64 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01331/3.632, allocations: 4.655 MB / 0.9496 GB, free: 32.89 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.234e-06/3.632, allocations: 0 / 0.9496 GB, free: 32.89 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01508/3.647, allocations: 1.876 MB / 0.9515 GB, free: 31.01 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.02461/3.672, allocations: 40.92 MB / 0.9914 GB, free: 3.582 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.3659/4.038, allocations: 7.679 MB / 0.9989 GB, free: 104.4 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 8.841e-05/4.038, allocations: 15.94 kB / 0.9989 GB, free: 104.4 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006196/4.044, allocations: 2.159 MB / 1.001 GB, free: 104.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009848/4.054, allocations: 1.079 MB / 1.002 GB, free: 104.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6859/4.74, allocations: 237 MB / 1.234 GB, free: 124 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0226/4.762, allocations: 7.158 MB / 1.24 GB, free: 123 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01496/4.778, allocations: 4.847 MB / 1.245 GB, free: 123 MB / 0.5418 GB Notification: Performance of SimCode: time 1.723e-06/4.778, allocations: 0 / 1.245 GB, free: 123 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.088/10.87, allocations: 171.5 MB / 1.413 GB, free: 159.8 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat