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.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.45e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4047, allocations: 54.85 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.5794, allocations: 95.83 MB / 460.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.5798, allocations: 75.97 kB / 460.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2347/0.8145, allocations: 55.15 MB / 0.5036 GB, free: 9.031 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8145, allocations: 0 / 0.5036 GB, free: 9.031 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001476/0.8147, allocations: 52 kB / 0.5036 GB, free: 8.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009507/0.8242, allocations: 2.617 MB / 0.5062 GB, free: 6.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.8243, allocations: 8.031 kB / 0.5062 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002158/0.8264, allocations: 0.5479 MB / 0.5067 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.8404, allocations: 1.813 MB / 0.5085 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006368/0.8469, allocations: 1.715 MB / 0.5102 GB, free: 2.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.8472, allocations: 225.7 kB / 0.5104 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.8489, allocations: 279.9 kB / 0.5107 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.8763, allocations: 6.57 MB / 0.5171 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.8765, allocations: 19.81 kB / 0.5171 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.8782, allocations: 131.9 kB / 0.5172 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.8805, allocations: 0.6804 MB / 0.5179 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.9061, allocations: 5.712 MB / 0.5235 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3775/1.284, allocations: 23.03 MB / 0.546 GB, free: 89.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007214/1.291, allocations: 2.226 MB / 0.5481 GB, free: 89.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/1.293, allocations: 0.7553 MB / 0.5489 GB, free: 88.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009946/1.302, allocations: 3.764 MB / 0.5526 GB, free: 87.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.303, allocations: 41.91 kB / 0.5526 GB, free: 87.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.178e-06/1.303, allocations: 0 / 0.5526 GB, free: 87.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.008044/1.311, allocations: 1.707 MB / 0.5543 GB, free: 87.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/1.311, allocations: 62.69 kB / 0.5543 GB, free: 87.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/1.314, allocations: 1.758 MB / 0.556 GB, free: 87.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/1.314, allocations: 43.34 kB / 0.5561 GB, free: 87.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.315, allocations: 1.955 MB / 0.558 GB, free: 86.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/1.316, allocations: 366.8 kB / 0.5583 GB, free: 86.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/1.316, allocations: 58.84 kB / 0.5584 GB, free: 86.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/1.316, allocations: 451.1 kB / 0.5588 GB, free: 85.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/1.318, allocations: 0.8949 MB / 0.5597 GB, free: 85.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002936/1.321, allocations: 2.808 MB / 0.5624 GB, free: 83.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/1.325, allocations: 1.615 MB / 0.564 GB, free: 83.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.054e-05/1.325, allocations: 23.81 kB / 0.564 GB, free: 83.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009221/1.334, allocations: 3.559 MB / 0.5675 GB, free: 83.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/1.334, allocations: 37.05 kB / 0.5675 GB, free: 83.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.681e-05/1.334, allocations: 71.91 kB / 0.5676 GB, free: 83.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/1.334, allocations: 105.4 kB / 0.5677 GB, free: 83.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.339, allocations: 0.6968 MB / 0.5684 GB, free: 82.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001377/1.339, allocations: 135.2 kB / 0.5685 GB, free: 82.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.342, allocations: 438.1 kB / 0.5689 GB, free: 82.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/1.343, allocations: 189.9 kB / 0.5691 GB, free: 82.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.0006408/1.343, allocations: 345.3 kB / 0.5695 GB, free: 82.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/1.344, allocations: 167.8 kB / 0.5696 GB, free: 82.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/1.347, allocations: 1.17 MB / 0.5708 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/1.347, allocations: 13.62 kB / 0.5708 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.347, allocations: 0 / 0.5708 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.347, allocations: 3.797 kB / 0.5708 GB, free: 82.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.36, allocations: 4.967 MB / 0.5756 GB, free: 81.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.36, allocations: 6.531 kB / 0.5756 GB, free: 81.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.361, allocations: 132.2 kB / 0.5758 GB, free: 81.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.262e-05/1.361, allocations: 15.12 kB / 0.5758 GB, free: 81.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/1.361, allocations: 35.02 kB / 0.5758 GB, free: 81.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.361, allocations: 19.06 kB / 0.5758 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.361, allocations: 22.58 kB / 0.5758 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/1.364, allocations: 2.156 MB / 0.578 GB, free: 79.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/1.364, allocations: 276.1 kB / 0.5782 GB, free: 79.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/1.364, allocations: 24.17 kB / 0.5782 GB, free: 79.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.365, allocations: 39.8 kB / 0.5783 GB, free: 79.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.366, allocations: 78.72 kB / 0.5784 GB, free: 79.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/1.366, allocations: 34.09 kB / 0.5784 GB, free: 79.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002489/1.368, allocations: 1.275 MB / 0.5796 GB, free: 79.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.368, allocations: 7.469 kB / 0.5796 GB, free: 79.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003802/1.372, allocations: 0.7451 MB / 0.5804 GB, free: 79.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.003485/1.376, allocations: 5.225 MB / 0.5855 GB, free: 74.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00444/1.38, allocations: 2.13 MB / 0.5875 GB, free: 74.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.38, allocations: 0 / 0.5875 GB, free: 74.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.381, allocations: 0.5309 MB / 0.5881 GB, free: 74.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.383, allocations: 231.4 kB / 0.5883 GB, free: 74.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.398, allocations: 5.711 MB / 0.5939 GB, free: 72.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/1.401, allocations: 2.459 MB / 0.5963 GB, free: 71.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/1.403, allocations: 1.142 MB / 0.5974 GB, free: 71.17 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/1.404, allocations: 0 / 0.5974 GB, free: 71.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.268/4.672, allocations: 47.59 MB / 0.6439 GB, free: 29.29 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat