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.AbsoluteSensor.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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006297, allocations: 16 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3671, allocations: 54.84 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5611, allocations: 104.7 MB / 474.1 MB, free: 3.883 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5615, allocations: 87.89 kB / 474.2 MB, free: 3.797 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.641/2.203, allocations: 234.6 MB / 0.6922 GB, free: 26.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.476e-06/2.203, allocations: 0 / 0.6922 GB, free: 26.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001096/2.204, allocations: 368.5 kB / 0.6925 GB, free: 26.15 MB / 474.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.05353/2.257, allocations: 13.51 MB / 0.7057 GB, free: 21.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/2.258, allocations: 10.41 kB / 0.7057 GB, free: 21.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01272/2.27, allocations: 2.961 MB / 0.7086 GB, free: 20.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04562/2.316, allocations: 5.812 MB / 0.7143 GB, free: 20 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04636/2.362, allocations: 10.53 MB / 0.7246 GB, free: 18.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002202/2.365, allocations: 1.477 MB / 0.726 GB, free: 18.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01001/2.375, allocations: 1.943 MB / 0.7279 GB, free: 18.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1823/2.557, allocations: 41.55 MB / 0.7685 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001859/2.559, allocations: 200.2 kB / 0.7687 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00989/2.569, allocations: 0.9061 MB / 0.7696 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005838/2.575, allocations: 2.042 MB / 0.7716 GB, free: 9.508 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1442/2.719, allocations: 30.26 MB / 0.8011 GB, free: 2.871 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7402/3.459, allocations: 165.8 MB / 0.963 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06905/3.528, allocations: 13.32 MB / 0.976 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01828/3.547, allocations: 15.28 MB / 0.991 GB, free: 13.22 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/3.547, allocations: 66.84 kB / 0.991 GB, free: 13.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 7.704e-06/3.547, allocations: 0 / 0.991 GB, free: 13.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.3851/3.932, allocations: 79.49 MB / 1.069 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/3.932, allocations: 212.5 kB / 1.069 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02497/3.957, allocations: 9.514 MB / 1.078 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008059/3.958, allocations: 72.33 kB / 1.078 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01163/3.97, allocations: 10.94 MB / 1.089 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002418/3.972, allocations: 1.36 MB / 1.09 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/3.975, allocations: 361.8 kB / 1.091 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00249/3.977, allocations: 1.085 MB / 1.092 GB, free: 440 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03802/4.015, allocations: 7.389 MB / 1.099 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4892/4.505, allocations: 18.5 MB / 1.117 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03313/4.538, allocations: 10.64 MB / 1.127 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008776/4.539, allocations: 129.9 kB / 1.127 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.09192/4.631, allocations: 23.25 MB / 1.15 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006366/4.631, allocations: 195.9 kB / 1.15 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00118/4.633, allocations: 446.9 kB / 1.151 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/4.636, allocations: 0.8221 MB / 1.152 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03525/4.671, allocations: 4.46 MB / 1.156 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008484/4.68, allocations: 3.642 MB / 1.159 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03476/4.714, allocations: 1.128 MB / 1.161 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005647/4.72, allocations: 1.149 MB / 1.162 GB, free: 123.6 MB / 0.5886 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.03084/4.751, allocations: 7.858 MB / 1.169 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003191/4.754, allocations: 0.8244 MB / 1.17 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/4.778, allocations: 6.148 MB / 1.176 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001834/4.778, allocations: 38.62 kB / 1.176 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/4.778, allocations: 5.719 kB / 1.176 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/4.779, allocations: 16.98 kB / 1.176 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09117/4.87, allocations: 21.2 MB / 1.197 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-05/4.87, allocations: 3.656 kB / 1.197 GB, free: 118 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008208/4.878, allocations: 0.6813 MB / 1.198 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/4.879, allocations: 171.2 kB / 1.198 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009306/4.88, allocations: 62.77 kB / 1.198 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/4.885, allocations: 2.205 MB / 1.2 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/4.885, allocations: 3.812 kB / 1.2 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03196/4.917, allocations: 11.17 MB / 1.211 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006366/4.924, allocations: 1.287 MB / 1.212 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003633/4.927, allocations: 52.78 kB / 1.212 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/4.938, allocations: 438.7 kB / 1.213 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/4.939, allocations: 173.2 kB / 1.213 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006771/4.94, allocations: 100.7 kB / 1.213 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02435/4.964, allocations: 6.516 MB / 1.219 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.222e-06/4.964, allocations: 0 / 1.219 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03172/4.996, allocations: 2.89 MB / 1.222 GB, free: 107.6 MB / 0.5886 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.0386/5.035, allocations: 12.4 MB / 1.234 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04312/5.078, allocations: 13.55 MB / 1.247 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/5.078, allocations: 448 / 1.247 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/5.088, allocations: 2.954 MB / 1.25 GB, free: 88.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/5.102, allocations: 1.373 MB / 1.252 GB, free: 87.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.247/6.349, allocations: 423.7 MB / 1.665 GB, free: 81.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04148/6.39, allocations: 10.76 MB / 1.676 GB, free: 80.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02433/6.415, allocations: 7.019 MB / 1.683 GB, free: 80.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.024e-06/6.415, allocations: 3.094 kB / 1.683 GB, free: 80.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.249/14.66, allocations: 327.7 MB / 2.003 GB, free: 186.8 MB / 0.698 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat