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.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.156/2.156, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.000461, allocations: 12 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 48.7 MB / 331.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5538, allocations: 92.06 MB / 423.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.5542, allocations: 75.97 kB / 423.5 MB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007/1.561, allocations: 158.9 MB / 0.5688 GB, free: 63.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.258e-06/1.561, allocations: 0 / 0.5688 GB, free: 63.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006626/1.562, allocations: 160 kB / 0.5689 GB, free: 63.43 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03881/1.6, allocations: 8.296 MB / 0.577 GB, free: 55.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.6, allocations: 11.97 kB / 0.577 GB, free: 55.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007359/1.608, allocations: 1.397 MB / 0.5784 GB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03174/1.64, allocations: 3.628 MB / 0.5819 GB, free: 49.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03095/1.671, allocations: 9.583 MB / 0.5913 GB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008282/1.672, allocations: 0.5977 MB / 0.5919 GB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004674/1.676, allocations: 0.7927 MB / 0.5927 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06706/1.743, allocations: 18.95 MB / 0.6112 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000743/1.744, allocations: 87.12 kB / 0.6113 GB, free: 18.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004944/1.749, allocations: 379.8 kB / 0.6116 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005973/1.755, allocations: 1.786 MB / 0.6134 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0595/1.815, allocations: 14.97 MB / 0.628 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4936/2.308, allocations: 78.99 MB / 0.7051 GB, free: 20.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03018/2.339, allocations: 6.094 MB / 0.7111 GB, free: 20.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/2.369, allocations: 10.99 MB / 0.7218 GB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/2.37, allocations: 64.78 kB / 0.7219 GB, free: 16.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=238): time 6.492e-06/2.37, allocations: 0 / 0.7219 GB, free: 16.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=262): time 0.07291/2.442, allocations: 16.27 MB / 0.7378 GB, free: 12.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/2.443, allocations: 154.7 kB / 0.7379 GB, free: 11.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01612/2.459, allocations: 5.908 MB / 0.7437 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009196/2.46, allocations: 70.16 kB / 0.7437 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005209/2.465, allocations: 5.345 MB / 0.749 GB, free: 6.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/2.467, allocations: 1.011 MB / 0.7499 GB, free: 6.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/2.468, allocations: 181.3 kB / 0.7501 GB, free: 6.016 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007884/2.469, allocations: 0.6833 MB / 0.7508 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008637/2.477, allocations: 2.572 MB / 0.7533 GB, free: 4.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/2.491, allocations: 8.156 MB / 0.7613 GB, free: 12.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/2.503, allocations: 4.434 MB / 0.7656 GB, free: 10.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002452/2.504, allocations: 55.84 kB / 0.7656 GB, free: 10.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.0317/2.535, allocations: 10.19 MB / 0.7756 GB, free: 7.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.536, allocations: 92.75 kB / 0.7757 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000367/2.536, allocations: 198.6 kB / 0.7759 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/2.536, allocations: 301.8 kB / 0.7762 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.55, allocations: 2.172 MB / 0.7783 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005085/2.551, allocations: 399.9 kB / 0.7787 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.563, allocations: 0.6152 MB / 0.7793 GB, free: 7.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/2.565, allocations: 0.5331 MB / 0.7798 GB, free: 7.074 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1125 * 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.0122/2.577, allocations: 3.602 MB / 0.7833 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/2.579, allocations: 0.5784 MB / 0.7839 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/2.589, allocations: 2.808 MB / 0.7866 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.814e-05/2.589, allocations: 26.5 kB / 0.7866 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/2.59, allocations: 4 kB / 0.7866 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-05/2.59, allocations: 14.31 kB / 0.7867 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06926/2.659, allocations: 26.43 MB / 0.8125 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001811/2.659, allocations: 56 kB / 0.8125 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003877/2.663, allocations: 0.5214 MB / 0.813 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/2.663, allocations: 79.56 kB / 0.8131 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005688/2.664, allocations: 114 kB / 0.8132 GB, free: 9.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001178/2.664, allocations: 110.7 kB / 0.8133 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.053e-05/2.664, allocations: 87.62 kB / 0.8134 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3642/3.028, allocations: 14.58 MB / 0.8276 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/3.031, allocations: 0.6833 MB / 0.8283 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002929/3.034, allocations: 121.6 kB / 0.8284 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007939/3.042, allocations: 207 kB / 0.8286 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/3.043, allocations: 348.9 kB / 0.829 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005173/3.044, allocations: 152 kB / 0.8291 GB, free: 106.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01917/3.063, allocations: 4.192 MB / 0.8332 GB, free: 106.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/3.063, allocations: 0.9688 kB / 0.8332 GB, free: 106.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01783/3.081, allocations: 1.491 MB / 0.8347 GB, free: 106.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.01988/3.101, allocations: 25.15 MB / 0.8592 GB, free: 83.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0205/3.121, allocations: 5.962 MB / 0.865 GB, free: 83.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-05/3.121, allocations: 7.844 kB / 0.865 GB, free: 83.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003919/3.125, allocations: 1.484 MB / 0.8665 GB, free: 83.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00822/3.134, allocations: 0.8663 MB / 0.8673 GB, free: 83.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5704/3.704, allocations: 199.6 MB / 1.062 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/3.719, allocations: 5.73 MB / 1.068 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00907/3.728, allocations: 3.734 MB / 1.072 GB, free: 118 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/3.728, allocations: 3.844 kB / 1.072 GB, free: 118 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.808/9.537, allocations: 138.5 MB / 1.207 GB, free: 156.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat