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.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.38e-05, allocations: 7.984 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5799, allocations: 100.8 MB / 465.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5803, allocations: 75.95 kB / 465.5 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125/1.705, allocations: 199.5 MB / 0.6494 GB, free: 42.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.705, allocations: 8 kB / 0.6494 GB, free: 42.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00056/1.706, allocations: 192 kB / 0.6496 GB, free: 41.87 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.03542/1.741, allocations: 9.428 MB / 0.6588 GB, free: 32.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.741, allocations: 12.03 kB / 0.6588 GB, free: 32.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007877/1.749, allocations: 1.82 MB / 0.6606 GB, free: 30.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/1.784, allocations: 4.027 MB / 0.6645 GB, free: 26.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03503/1.819, allocations: 10.56 MB / 0.6748 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/1.82, allocations: 0.7942 MB / 0.6756 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005888/1.826, allocations: 1.039 MB / 0.6766 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08008/1.906, allocations: 24.08 MB / 0.7001 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000716/1.907, allocations: 95.14 kB / 0.7002 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00575/1.912, allocations: 487.8 kB / 0.7007 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006613/1.919, allocations: 2.279 MB / 0.7029 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4325/2.352, allocations: 18.97 MB / 0.7215 GB, free: 65.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/2.577, allocations: 94.15 MB / 0.8134 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03439/2.612, allocations: 7.619 MB / 0.8208 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007576/2.62, allocations: 3.031 MB / 0.8238 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04035/2.66, allocations: 13.3 MB / 0.8368 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/2.66, allocations: 73.75 kB / 0.8369 GB, free: 2.531 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.234e-06/2.66, allocations: 0 / 0.8369 GB, free: 2.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.09308/2.753, allocations: 18.87 MB / 0.8553 GB, free: 5.164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/2.753, allocations: 174.5 kB / 0.8554 GB, free: 4.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01834/2.772, allocations: 6.396 MB / 0.8617 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008046/2.773, allocations: 77.7 kB / 0.8618 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007443/2.78, allocations: 6.554 MB / 0.8682 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002442/2.783, allocations: 1.36 MB / 0.8695 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/2.784, allocations: 216 kB / 0.8697 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009672/2.785, allocations: 0.7534 MB / 0.8704 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00927/2.794, allocations: 2.991 MB / 0.8734 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01579/2.81, allocations: 9.464 MB / 0.8826 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/2.824, allocations: 5.236 MB / 0.8877 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002799/2.824, allocations: 68 kB / 0.8878 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.4051/3.229, allocations: 11.92 MB / 0.8994 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/3.229, allocations: 102 kB / 0.8995 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003796/3.23, allocations: 229.1 kB / 0.8997 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/3.23, allocations: 342.6 kB / 0.9001 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01818/3.249, allocations: 2.609 MB / 0.9026 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007395/3.249, allocations: 459.8 kB / 0.9031 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0138/3.263, allocations: 0.6812 MB / 0.9037 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/3.266, allocations: 0.6371 MB / 0.9043 GB, free: 102.8 MB / 0.5105 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 (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 () * 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.003873/3.27, allocations: 0.9431 MB / 0.9053 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/3.272, allocations: 0.6622 MB / 0.9059 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/3.284, allocations: 3.989 MB / 0.9098 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/3.284, allocations: 38.06 kB / 0.9098 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/3.284, allocations: 0 / 0.9098 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-05/3.284, allocations: 23.45 kB / 0.9099 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08761/3.372, allocations: 41.63 MB / 0.9505 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003072/3.372, allocations: 88 kB / 0.9506 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005716/3.378, allocations: 0.8431 MB / 0.9514 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/3.378, allocations: 127.2 kB / 0.9515 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008829/3.379, allocations: 194.7 kB / 0.9517 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001504/3.379, allocations: 172.1 kB / 0.9519 GB, free: 98.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.955e-05/3.379, allocations: 135.8 kB / 0.952 GB, free: 98.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/3.397, allocations: 25.1 MB / 0.9765 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/3.4, allocations: 0.8363 MB / 0.9773 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/3.403, allocations: 201.5 kB / 0.9775 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007245/3.41, allocations: 268.8 kB / 0.9778 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001513/3.412, allocations: 0.5701 MB / 0.9784 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007386/3.412, allocations: 243 kB / 0.9786 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01214/3.425, allocations: 4.453 MB / 0.9829 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/3.425, allocations: 0 / 0.9829 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0146/3.439, allocations: 1.874 MB / 0.9848 GB, free: 71.23 MB / 0.5105 GB 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 () * 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.02056/3.46, allocations: 40.81 MB / 1.025 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01734/3.477, allocations: 7.28 MB / 1.032 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-05/3.477, allocations: 16 kB / 1.032 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004961/3.482, allocations: 2.121 MB / 1.034 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009105/3.492, allocations: 1.08 MB / 1.035 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07005/3.562, allocations: 22.89 MB / 1.057 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02193/3.584, allocations: 7.297 MB / 1.064 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/3.596, allocations: 4.848 MB / 1.069 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of SimCode: time 1.794e-06/3.596, allocations: 0 / 1.069 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.194/9.79, allocations: 173.5 MB / 1.239 GB, free: 30.09 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat