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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.211/2.211, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.748e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.5244, allocations: 104 MB / 462.1 MB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5248, allocations: 75.95 kB / 462.2 MB, free: 6.648 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459/1.984, allocations: 227.8 MB / 0.6738 GB, free: 25.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.984, allocations: 3.875 kB / 0.6738 GB, free: 25.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007077/1.984, allocations: 365.2 kB / 0.6741 GB, free: 25.27 MB / 458.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.06068/2.045, allocations: 13.14 MB / 0.6869 GB, free: 20.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/2.045, allocations: 7.781 kB / 0.687 GB, free: 20.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04708/2.092, allocations: 5.81 MB / 0.6926 GB, free: 19.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03564/2.128, allocations: 10.51 MB / 0.7029 GB, free: 18.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/2.129, allocations: 0.6408 MB / 0.7035 GB, free: 18.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007793/2.137, allocations: 1.144 MB / 0.7046 GB, free: 18.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05868/2.196, allocations: 20.58 MB / 0.7247 GB, free: 18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08897/2.285, allocations: 32.7 MB / 0.7567 GB, free: 1.078 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001414/2.286, allocations: 195.3 kB / 0.7568 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007404/2.294, allocations: 100 kB / 0.7569 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004673/2.298, allocations: 2.069 MB / 0.759 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6389/2.937, allocations: 157.6 MB / 0.9129 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/2.946, allocations: 5.253 MB / 0.918 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006268/2.953, allocations: 3.535 MB / 0.9214 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/2.97, allocations: 15.28 MB / 0.9364 GB, free: 21.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/2.971, allocations: 71.72 kB / 0.9364 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 8.176e-06/2.971, allocations: 3.188 kB / 0.9364 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.1609/3.132, allocations: 49.97 MB / 0.9852 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/3.132, allocations: 217.7 kB / 0.9854 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02133/3.153, allocations: 8.773 MB / 0.994 GB, free: 12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007759/3.154, allocations: 25.7 kB / 0.994 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01147/3.165, allocations: 11.02 MB / 1.005 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/3.168, allocations: 1.32 MB / 1.006 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/3.17, allocations: 3.094 kB / 1.006 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002004/3.172, allocations: 1.097 MB / 1.007 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01573/3.188, allocations: 5.738 MB / 1.013 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4462/3.634, allocations: 18.16 MB / 1.03 GB, free: 129.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02335/3.658, allocations: 10.28 MB / 1.041 GB, free: 129.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006369/3.658, allocations: 131.3 kB / 1.041 GB, free: 129.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.055/3.713, allocations: 20.54 MB / 1.061 GB, free: 127.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003989/3.714, allocations: 202.9 kB / 1.061 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000768/3.714, allocations: 452.4 kB / 1.061 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/3.717, allocations: 0.8321 MB / 1.062 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02652/3.743, allocations: 4.524 MB / 1.067 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/3.749, allocations: 3.502 MB / 1.07 GB, free: 125.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01952/3.768, allocations: 0.775 MB / 1.071 GB, free: 125.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005074/3.773, allocations: 1.172 MB / 1.072 GB, free: 125.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2073 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2340): * Single equations (assignments): 2332 * 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.006422/3.78, allocations: 1.135 MB / 1.073 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01402/3.794, allocations: 5.861 MB / 1.079 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002394/3.796, allocations: 0.8041 MB / 1.08 GB, free: 124.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/3.812, allocations: 5.848 MB / 1.085 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001374/3.812, allocations: 36.06 kB / 1.085 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/3.812, allocations: 3 kB / 1.085 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.039e-05/3.813, allocations: 21.53 kB / 1.085 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05752/3.87, allocations: 17.68 MB / 1.103 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/3.87, allocations: 3.875 kB / 1.103 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006237/3.876, allocations: 0.6865 MB / 1.103 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008744/3.877, allocations: 155.2 kB / 1.103 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007335/3.878, allocations: 21.39 kB / 1.103 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/3.881, allocations: 2.06 MB / 1.105 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/3.881, allocations: 10.16 kB / 1.105 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/3.902, allocations: 10.78 MB / 1.116 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004824/3.907, allocations: 1.254 MB / 1.117 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002635/3.91, allocations: 6.125 kB / 1.117 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00764/3.917, allocations: 393.6 kB / 1.118 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/3.919, allocations: 171.6 kB / 1.118 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004609/3.919, allocations: 106.9 kB / 1.118 GB, free: 116.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01582/3.935, allocations: 5.798 MB / 1.123 GB, free: 114.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.82e-07/3.935, allocations: 0 / 1.123 GB, free: 114.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02331/3.958, allocations: 2.495 MB / 1.126 GB, free: 114.7 MB / 0.573 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 () * 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.05453/4.013, allocations: 11.98 MB / 1.138 GB, free: 108.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04233/4.055, allocations: 12.49 MB / 1.15 GB, free: 98.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/4.055, allocations: 4.438 kB / 1.15 GB, free: 98.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008816/4.064, allocations: 2.822 MB / 1.153 GB, free: 95.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01407/4.078, allocations: 1.261 MB / 1.154 GB, free: 94.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.131/4.209, allocations: 30.81 MB / 1.184 GB, free: 67.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02963/4.239, allocations: 10.76 MB / 1.194 GB, free: 60 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01656/4.256, allocations: 6.988 MB / 1.201 GB, free: 53.46 MB / 0.573 GB Notification: Performance of SimCode: time 2.014e-06/4.256, allocations: 0 / 1.201 GB, free: 53.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.572/11.83, allocations: 324.5 MB / 1.518 GB, free: 101.5 MB / 0.573 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