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.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001026, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3797, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.5605, allocations: 99.1 MB / 468.5 MB, free: 7.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5609, allocations: 83.94 kB / 468.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.571/1.132, allocations: 66.37 MB / 0.5224 GB, free: 49.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.132, allocations: 0 / 0.5224 GB, free: 49.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002087/1.132, allocations: 75.98 kB / 0.5224 GB, free: 49.68 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01869/1.151, allocations: 3.242 MB / 0.5256 GB, free: 46.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.151, allocations: 8.031 kB / 0.5256 GB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003553/1.155, allocations: 0.6797 MB / 0.5263 GB, free: 45.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04769/1.202, allocations: 1.937 MB / 0.5282 GB, free: 43.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009232/1.212, allocations: 2.032 MB / 0.5302 GB, free: 41.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/1.212, allocations: 279.4 kB / 0.5304 GB, free: 41.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/1.215, allocations: 363.9 kB / 0.5308 GB, free: 41.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/1.242, allocations: 8.135 MB / 0.5387 GB, free: 32.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/1.242, allocations: 19.81 kB / 0.5387 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.244, allocations: 171.9 kB / 0.5389 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001745/1.246, allocations: 0.8027 MB / 0.5397 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/1.268, allocations: 7.021 MB / 0.5465 GB, free: 24.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05303/1.321, allocations: 27.51 MB / 0.5734 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009556/1.331, allocations: 2.556 MB / 0.5759 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/1.345, allocations: 4.486 MB / 0.5803 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.345, allocations: 43.56 kB / 0.5803 GB, free: 4.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.541e-06/1.345, allocations: 4 kB / 0.5803 GB, free: 4.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01368/1.359, allocations: 2.991 MB / 0.5832 GB, free: 1.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.359, allocations: 60.41 kB / 0.5833 GB, free: 1.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005063/1.364, allocations: 1.98 MB / 0.5852 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/1.365, allocations: 41.7 kB / 0.5853 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002546/1.367, allocations: 2.304 MB / 0.5875 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009003/1.368, allocations: 458 kB / 0.588 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000445/1.369, allocations: 72 kB / 0.588 GB, free: 12.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004047/1.369, allocations: 470.6 kB / 0.5885 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/1.373, allocations: 1.077 MB / 0.5895 GB, free: 11.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.378, allocations: 3.184 MB / 0.5926 GB, free: 7.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00514/1.383, allocations: 1.855 MB / 0.5945 GB, free: 5.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.48e-05/1.384, allocations: 24 kB / 0.5945 GB, free: 5.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01279/1.396, allocations: 4.134 MB / 0.5985 GB, free: 1.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/1.397, allocations: 36 kB / 0.5985 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/1.397, allocations: 79.98 kB / 0.5986 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/1.397, allocations: 119.9 kB / 0.5987 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/1.402, allocations: 0.8033 MB / 0.5995 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002301/1.403, allocations: 155.3 kB / 0.5997 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.407, allocations: 491.3 kB / 0.6001 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009201/1.408, allocations: 216 kB / 0.6003 GB, free: 15.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (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 prepare postOptimizeDAE: time 0.005052/1.413, allocations: 1.69 MB / 0.602 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/1.413, allocations: 193.5 kB / 0.6022 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/1.418, allocations: 1.518 MB / 0.6037 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.418, allocations: 12 kB / 0.6037 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.418, allocations: 0 / 0.6037 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.418, allocations: 7.938 kB / 0.6037 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.44, allocations: 7.389 MB / 0.6109 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.44, allocations: 12 kB / 0.6109 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.442, allocations: 183.7 kB / 0.6111 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.513e-05/1.442, allocations: 24 kB / 0.6111 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.442, allocations: 40.58 kB / 0.6111 GB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.402e-05/1.442, allocations: 27.86 kB / 0.6112 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-05/1.442, allocations: 27.88 kB / 0.6112 GB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/1.447, allocations: 3.169 MB / 0.6143 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000924/1.448, allocations: 330 kB / 0.6146 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/1.449, allocations: 35.98 kB / 0.6146 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.451, allocations: 51.88 kB / 0.6147 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004325/1.451, allocations: 107.6 kB / 0.6148 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.451, allocations: 55.98 kB / 0.6148 GB, free: 15.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004395/1.456, allocations: 1.542 MB / 0.6164 GB, free: 13.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.456, allocations: 0 / 0.6164 GB, free: 13.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004995/1.461, allocations: 0.929 MB / 0.6173 GB, free: 12.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.007289/1.468, allocations: 7.683 MB / 0.6248 GB, free: 4.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00683/1.475, allocations: 2.542 MB / 0.6272 GB, free: 2.152 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/1.475, allocations: 7.938 kB / 0.6273 GB, free: 2.145 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.477, allocations: 0.699 MB / 0.6279 GB, free: 1.449 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.479, allocations: 279.4 kB / 0.6282 GB, free: 1.172 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3948/1.874, allocations: 72.09 MB / 0.6986 GB, free: 84.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006476/1.881, allocations: 2.889 MB / 0.7014 GB, free: 83.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003956/1.885, allocations: 1.461 MB / 0.7029 GB, free: 83.75 MB / 474.7 MB Notification: Performance of SimCode: time 2.655e-06/1.885, allocations: 0 / 0.7029 GB, free: 83.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.699/5.584, allocations: 58.11 MB / 0.7596 GB, free: 51.35 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat