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.CutForce.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.219e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3602, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5307, allocations: 98.03 MB / 456.1 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.531, allocations: 79.84 kB / 456.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9329/1.464, allocations: 155.4 MB / 0.5973 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.358e-06/1.464, allocations: 0 / 0.5973 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005159/1.465, allocations: 155.9 kB / 0.5974 GB, free: 0.7188 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03184/1.496, allocations: 7.745 MB / 0.605 GB, free: 8.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/1.496, allocations: 12.03 kB / 0.605 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03195/1.528, allocations: 3.62 MB / 0.6085 GB, free: 5.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0341/1.563, allocations: 9.541 MB / 0.6179 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000673/1.563, allocations: 268 kB / 0.6181 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004465/1.568, allocations: 479.8 kB / 0.6186 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6694/2.237, allocations: 11.16 MB / 0.6295 GB, free: 62.91 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04633/2.284, allocations: 16.32 MB / 0.6454 GB, free: 58.9 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005596/2.284, allocations: 88.62 kB / 0.6455 GB, free: 58.9 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003941/2.288, allocations: 45.69 kB / 0.6455 GB, free: 58.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004787/2.293, allocations: 1.781 MB / 0.6473 GB, free: 58.88 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/2.422, allocations: 79.69 MB / 0.7251 GB, free: 27.78 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/2.428, allocations: 2.976 MB / 0.728 GB, free: 26.3 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/2.431, allocations: 1.411 MB / 0.7294 GB, free: 25.77 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/2.431, allocations: 40.66 kB / 0.7294 GB, free: 25.75 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/2.431, allocations: 59.75 kB / 0.7295 GB, free: 25.7 MB / 474.8 MB Notification: Performance of pre-optimization done (n=232): time 6.272e-06/2.431, allocations: 0 / 0.7295 GB, free: 25.7 MB / 474.8 MB Notification: Performance of matching and sorting (n=244): time 0.04069/2.472, allocations: 11.46 MB / 0.7407 GB, free: 20.19 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/2.472, allocations: 157.4 kB / 0.7408 GB, free: 20.03 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/2.484, allocations: 5.025 MB / 0.7457 GB, free: 18.25 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005232/2.484, allocations: 29.64 kB / 0.7457 GB, free: 18.21 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004463/2.489, allocations: 5.511 MB / 0.7511 GB, free: 14 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/2.49, allocations: 0.9302 MB / 0.752 GB, free: 13.33 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009568/2.491, allocations: 0 / 0.752 GB, free: 13.33 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006452/2.492, allocations: 0.6926 MB / 0.7527 GB, free: 12.85 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005676/2.497, allocations: 2.246 MB / 0.7549 GB, free: 12.07 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/2.508, allocations: 7.999 MB / 0.7627 GB, free: 3.477 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/2.518, allocations: 4.181 MB / 0.7668 GB, free: 2.203 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002282/2.518, allocations: 59.62 kB / 0.7669 GB, free: 2.203 MB / 474.8 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02453/2.543, allocations: 8.789 MB / 0.7754 GB, free: 14.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000183/2.543, allocations: 97.09 kB / 0.7755 GB, free: 14.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003631/2.543, allocations: 208 kB / 0.7757 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/2.544, allocations: 304 kB / 0.776 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01441/2.558, allocations: 2.231 MB / 0.7782 GB, free: 12.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004617/2.559, allocations: 408.7 kB / 0.7786 GB, free: 12.07 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/2.57, allocations: 451.9 kB / 0.779 GB, free: 11.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002265/2.572, allocations: 0.5585 MB / 0.7796 GB, free: 11.17 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1158): * Single equations (assignments): 1155 * 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.002604/2.575, allocations: 0.6084 MB / 0.7802 GB, free: 10.55 MB / 490.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007299/2.582, allocations: 2.698 MB / 0.7828 GB, free: 8.133 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/2.584, allocations: 0.5283 MB / 0.7833 GB, free: 7.598 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007175/2.591, allocations: 2.406 MB / 0.7857 GB, free: 5.574 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/2.591, allocations: 24 kB / 0.7857 GB, free: 5.551 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/2.591, allocations: 11.8 kB / 0.7857 GB, free: 5.543 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/2.591, allocations: 10.88 kB / 0.7857 GB, free: 5.543 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05694/2.648, allocations: 23 MB / 0.8082 GB, free: 2.035 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001052/2.649, allocations: 51.94 kB / 0.8082 GB, free: 1.988 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/2.652, allocations: 491.8 kB / 0.8087 GB, free: 1.57 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/2.652, allocations: 71.95 kB / 0.8088 GB, free: 1.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/2.653, allocations: 75.42 kB / 0.8088 GB, free: 1.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.574e-05/2.653, allocations: 91.06 kB / 0.8089 GB, free: 1.352 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.417e-05/2.653, allocations: 79.52 kB / 0.809 GB, free: 1.277 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3756/3.028, allocations: 12.58 MB / 0.8213 GB, free: 87.15 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/3.031, allocations: 0.6222 MB / 0.8219 GB, free: 87.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001798/3.032, allocations: 72.8 kB / 0.822 GB, free: 87.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005233/3.038, allocations: 153 kB / 0.8221 GB, free: 87.05 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/3.039, allocations: 316 kB / 0.8224 GB, free: 87.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/3.039, allocations: 139.8 kB / 0.8225 GB, free: 87.02 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009512/3.049, allocations: 3.377 MB / 0.8258 GB, free: 86.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.483e-06/3.049, allocations: 0 / 0.8258 GB, free: 86.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01171/3.06, allocations: 1.269 MB / 0.8271 GB, free: 86.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01197/3.072, allocations: 22.66 MB / 0.8492 GB, free: 66.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01199/3.084, allocations: 5.287 MB / 0.8544 GB, free: 66.07 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.663e-05/3.085, allocations: 3.781 kB / 0.8544 GB, free: 66.07 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/3.087, allocations: 1.301 MB / 0.8556 GB, free: 66.07 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/3.094, allocations: 0.7048 MB / 0.8563 GB, free: 66.03 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05175/3.146, allocations: 16.73 MB / 0.8727 GB, free: 61.55 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/3.16, allocations: 5.708 MB / 0.8782 GB, free: 60.67 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008187/3.168, allocations: 3.724 MB / 0.8819 GB, free: 60.66 MB / 0.4949 GB Notification: Performance of SimCode: time 1.552e-06/3.168, allocations: 0 / 0.8819 GB, free: 60.66 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.332/8.5, allocations: 134.4 MB / 1.013 GB, free: 96.35 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat