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.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3439, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.5198, allocations: 95.92 MB / 465.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5202, allocations: 83.91 kB / 465.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5906/1.111, allocations: 55.1 MB / 0.5083 GB, free: 64.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.111, allocations: 0 / 0.5083 GB, free: 64.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001444/1.111, allocations: 56 kB / 0.5083 GB, free: 64.25 MB / 394.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.009606/1.121, allocations: 2.707 MB / 0.511 GB, free: 61.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.121, allocations: 8.031 kB / 0.511 GB, free: 61.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002202/1.123, allocations: 0.5518 MB / 0.5115 GB, free: 60.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/1.136, allocations: 1.821 MB / 0.5133 GB, free: 59.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/1.142, allocations: 1.707 MB / 0.5149 GB, free: 57.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/1.142, allocations: 221.7 kB / 0.5152 GB, free: 57.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/1.144, allocations: 283.9 kB / 0.5154 GB, free: 56.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/1.161, allocations: 6.624 MB / 0.5219 GB, free: 49.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-05/1.161, allocations: 19.77 kB / 0.5219 GB, free: 49.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006321/1.162, allocations: 131.9 kB / 0.522 GB, free: 49.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001268/1.163, allocations: 0.6805 MB / 0.5227 GB, free: 48.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.179, allocations: 5.794 MB / 0.5284 GB, free: 43.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/1.219, allocations: 23.04 MB / 0.5509 GB, free: 19.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007008/1.226, allocations: 2.249 MB / 0.5531 GB, free: 17.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009508/1.236, allocations: 3.762 MB / 0.5567 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.236, allocations: 39.11 kB / 0.5568 GB, free: 13.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 4.068e-06/1.236, allocations: 4 kB / 0.5568 GB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.009754/1.246, allocations: 2.449 MB / 0.5592 GB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.246, allocations: 59.97 kB / 0.5592 GB, free: 10.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/1.249, allocations: 1.767 MB / 0.561 GB, free: 8.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/1.25, allocations: 41.7 kB / 0.561 GB, free: 8.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.251, allocations: 1.955 MB / 0.5629 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/1.251, allocations: 371.3 kB / 0.5633 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.252, allocations: 60 kB / 0.5633 GB, free: 6.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/1.252, allocations: 441.5 kB / 0.5637 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/1.254, allocations: 0.9273 MB / 0.5646 GB, free: 4.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.257, allocations: 2.827 MB / 0.5674 GB, free: 1.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/1.261, allocations: 1.627 MB / 0.569 GB, free: 15.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/1.261, allocations: 20 kB / 0.569 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01062/1.272, allocations: 3.605 MB / 0.5725 GB, free: 11.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/1.272, allocations: 36 kB / 0.5726 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/1.272, allocations: 68 kB / 0.5726 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/1.272, allocations: 100 kB / 0.5727 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.277, allocations: 0.7024 MB / 0.5734 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001816/1.277, allocations: 143.5 kB / 0.5735 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.28, allocations: 427.5 kB / 0.574 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/1.281, allocations: 200 kB / 0.5741 GB, free: 10.28 MB / 410.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 () * Number of clocked 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.003807/1.285, allocations: 1.42 MB / 0.5755 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.285, allocations: 161.8 kB / 0.5757 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/1.288, allocations: 1.188 MB / 0.5768 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/1.289, allocations: 12 kB / 0.5769 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.289, allocations: 3.984 kB / 0.5769 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.289, allocations: 3.953 kB / 0.5769 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.303, allocations: 4.986 MB / 0.5817 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/1.303, allocations: 12 kB / 0.5817 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.304, allocations: 131.7 kB / 0.5819 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.014e-05/1.304, allocations: 16 kB / 0.5819 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.304, allocations: 32 kB / 0.5819 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-05/1.305, allocations: 19.92 kB / 0.5819 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/1.305, allocations: 11.94 kB / 0.5819 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/1.308, allocations: 2.18 MB / 0.5841 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007064/1.309, allocations: 270.5 kB / 0.5843 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/1.309, allocations: 24 kB / 0.5844 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.311, allocations: 39.97 kB / 0.5844 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.311, allocations: 71.72 kB / 0.5845 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.311, allocations: 39.98 kB / 0.5845 GB, free: 14.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003398/1.314, allocations: 1.296 MB / 0.5858 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.314, allocations: 0 / 0.5858 GB, free: 13.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004283/1.319, allocations: 0.7581 MB / 0.5865 GB, free: 12.88 MB / 426.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 () * Number of clocked 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.005854/1.325, allocations: 5.24 MB / 0.5916 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006066/1.331, allocations: 2.169 MB / 0.5937 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.331, allocations: 0 / 0.5937 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.332, allocations: 0.5297 MB / 0.5943 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.334, allocations: 243.3 kB / 0.5945 GB, free: 4.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4969/1.831, allocations: 63.29 MB / 0.6563 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.835, allocations: 2.463 MB / 0.6587 GB, free: 135 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/1.838, allocations: 1.137 MB / 0.6598 GB, free: 135 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/1.838, allocations: 0 / 0.6598 GB, free: 135 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.34/5.178, allocations: 47.45 MB / 0.7062 GB, free: 108.3 MB / 474.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