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.AbsoluteSensor.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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004695, allocations: 16 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4215, allocations: 48.7 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.6245, allocations: 97.91 MB / 429.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.6249, allocations: 75.97 kB / 429.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46/2.085, allocations: 234.6 MB / 0.6484 GB, free: 34.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.278e-06/2.085, allocations: 0 / 0.6484 GB, free: 34.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001676/2.087, allocations: 371.6 kB / 0.6487 GB, free: 34.44 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: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.05526/2.142, allocations: 13.5 MB / 0.6619 GB, free: 29.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/2.142, allocations: 10.72 kB / 0.6619 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01473/2.157, allocations: 2.959 MB / 0.6648 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04009/2.197, allocations: 5.816 MB / 0.6705 GB, free: 28.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0364/2.233, allocations: 10.53 MB / 0.6808 GB, free: 27.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/2.235, allocations: 1.472 MB / 0.6822 GB, free: 26.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009103/2.245, allocations: 1.948 MB / 0.6841 GB, free: 26.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1338/2.378, allocations: 41.55 MB / 0.7247 GB, free: 17.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001402/2.38, allocations: 196.9 kB / 0.7249 GB, free: 17.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008139/2.388, allocations: 0.9047 MB / 0.7258 GB, free: 16.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/2.392, allocations: 2.045 MB / 0.7278 GB, free: 16.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1078/2.5, allocations: 30.25 MB / 0.7573 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6806/3.181, allocations: 165.8 MB / 0.9192 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0684/3.249, allocations: 13.33 MB / 0.9322 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01791/3.267, allocations: 15.27 MB / 0.9471 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.907e-05/3.267, allocations: 65.16 kB / 0.9472 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=274): time 7.584e-06/3.267, allocations: 2.188 kB / 0.9472 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309): time 0.4224/3.69, allocations: 79.46 MB / 1.025 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/3.69, allocations: 213.9 kB / 1.025 GB, free: 480 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4232/4.113, allocations: 9.522 MB / 1.034 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008058/4.114, allocations: 76.36 kB / 1.034 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009496/4.123, allocations: 10.93 MB / 1.045 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/4.126, allocations: 1.355 MB / 1.046 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002819/4.129, allocations: 364.3 kB / 1.047 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00271/4.131, allocations: 1.083 MB / 1.048 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01647/4.148, allocations: 6.095 MB / 1.054 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.027/4.175, allocations: 18.49 MB / 1.072 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03383/4.209, allocations: 10.65 MB / 1.082 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006927/4.21, allocations: 129.1 kB / 1.082 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05867/4.268, allocations: 23.27 MB / 1.105 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004456/4.269, allocations: 195.3 kB / 1.105 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009477/4.27, allocations: 455.3 kB / 1.106 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/4.272, allocations: 0.8179 MB / 1.106 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02508/4.297, allocations: 4.463 MB / 1.111 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/4.303, allocations: 3.642 MB / 1.114 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01965/4.323, allocations: 1.121 MB / 1.115 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003975/4.327, allocations: 1.159 MB / 1.117 GB, free: 109.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2037 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2304): * Single equations (assignments): 2296 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02007/4.347, allocations: 7.854 MB / 1.124 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/4.349, allocations: 0.8233 MB / 1.125 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/4.365, allocations: 6.151 MB / 1.131 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/4.365, allocations: 40.72 kB / 1.131 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/4.365, allocations: 3.562 kB / 1.131 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.667e-05/4.365, allocations: 13.45 kB / 1.131 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06532/4.431, allocations: 21.18 MB / 1.152 GB, free: 94.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/4.431, allocations: 7.281 kB / 1.152 GB, free: 94.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005988/4.437, allocations: 0.684 MB / 1.152 GB, free: 94.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/4.438, allocations: 169.5 kB / 1.153 GB, free: 94.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007417/4.439, allocations: 60.92 kB / 1.153 GB, free: 94.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/4.442, allocations: 2.203 MB / 1.155 GB, free: 92.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/4.442, allocations: 11.53 kB / 1.155 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02316/4.465, allocations: 11.16 MB / 1.166 GB, free: 87.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00486/4.47, allocations: 1.285 MB / 1.167 GB, free: 86.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002955/4.473, allocations: 55.7 kB / 1.167 GB, free: 85.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007646/4.481, allocations: 437.4 kB / 1.167 GB, free: 85.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/4.482, allocations: 185.1 kB / 1.168 GB, free: 85.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004458/4.482, allocations: 107.1 kB / 1.168 GB, free: 85.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01722/4.5, allocations: 6.506 MB / 1.174 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.483e-06/4.5, allocations: 0 / 1.174 GB, free: 80.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02165/4.521, allocations: 2.894 MB / 1.177 GB, free: 77.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0252/4.546, allocations: 12.39 MB / 1.189 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4133/4.96, allocations: 13.7 MB / 1.202 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/4.96, allocations: 3.156 kB / 1.202 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007082/4.967, allocations: 2.944 MB / 1.205 GB, free: 120 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/4.977, allocations: 1.366 MB / 1.207 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.846/5.823, allocations: 423.7 MB / 1.62 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03187/5.855, allocations: 10.75 MB / 1.631 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01742/5.873, allocations: 7.018 MB / 1.638 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of SimCode: time 1.432e-06/5.873, allocations: 0 / 1.638 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.075/13.95, allocations: 327.7 MB / 1.958 GB, free: 204.2 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat