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.331/2.331, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.368e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3843, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.5776, allocations: 104.7 MB / 469.3 MB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.578, allocations: 75.97 kB / 469.3 MB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.701, allocations: 235 MB / 0.6878 GB, free: 3.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.701, allocations: 4 kB / 0.6878 GB, free: 3.539 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008157/1.702, allocations: 379.8 kB / 0.6882 GB, free: 3.168 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.05212/1.754, allocations: 13.13 MB / 0.701 GB, free: 5.926 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.754, allocations: 12.03 kB / 0.701 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01358/1.767, allocations: 2.966 MB / 0.7039 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4092/2.177, allocations: 5.808 MB / 0.7096 GB, free: 40.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03967/2.216, allocations: 10.5 MB / 0.7198 GB, free: 40.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002284/2.219, allocations: 1.475 MB / 0.7213 GB, free: 40.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009046/2.228, allocations: 1.943 MB / 0.7232 GB, free: 40.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1347/2.363, allocations: 41.22 MB / 0.7634 GB, free: 31.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001716/2.364, allocations: 197.8 kB / 0.7636 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008048/2.372, allocations: 0.9021 MB / 0.7645 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004147/2.377, allocations: 2.043 MB / 0.7665 GB, free: 31.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1015/2.478, allocations: 29.84 MB / 0.7956 GB, free: 23.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6985/3.177, allocations: 165.2 MB / 0.9569 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0871/3.264, allocations: 13.24 MB / 0.9699 GB, free: 22.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009089/3.273, allocations: 3.608 MB / 0.9734 GB, free: 22.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0193/3.292, allocations: 15.28 MB / 0.9883 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/3.293, allocations: 67.39 kB / 0.9884 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 1.089e-05/3.293, allocations: 4.688 kB / 0.9884 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.4412/3.734, allocations: 75.09 MB / 1.062 GB, free: 10.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/3.734, allocations: 205.9 kB / 1.062 GB, free: 10.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02718/3.761, allocations: 9.438 MB / 1.071 GB, free: 4.785 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008075/3.762, allocations: 73.98 kB / 1.071 GB, free: 4.742 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.012/3.774, allocations: 10.93 MB / 1.082 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/3.776, allocations: 1.363 MB / 1.083 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/3.779, allocations: 358.6 kB / 1.084 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002457/3.782, allocations: 1.091 MB / 1.085 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01708/3.799, allocations: 5.949 MB / 1.09 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03053/3.829, allocations: 18.35 MB / 1.108 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02702/3.856, allocations: 10.72 MB / 1.119 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005718/3.857, allocations: 128 kB / 1.119 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.4969/4.354, allocations: 22.99 MB / 1.141 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004451/4.354, allocations: 195.8 kB / 1.142 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009068/4.355, allocations: 446.8 kB / 1.142 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/4.358, allocations: 0.8164 MB / 1.143 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02785/4.386, allocations: 4.464 MB / 1.147 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/4.393, allocations: 3.588 MB / 1.151 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01959/4.412, allocations: 1.129 MB / 1.152 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00462/4.417, allocations: 1.151 MB / 1.153 GB, free: 158.3 MB / 0.6198 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 () * 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.006741/4.424, allocations: 1.513 MB / 1.154 GB, free: 158 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/4.425, allocations: 0.8271 MB / 1.155 GB, free: 158 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/4.443, allocations: 6.066 MB / 1.161 GB, free: 157.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001398/4.443, allocations: 41.81 kB / 1.161 GB, free: 157.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/4.444, allocations: 3.438 kB / 1.161 GB, free: 157.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.314e-05/4.444, allocations: 15.56 kB / 1.161 GB, free: 157.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06935/4.513, allocations: 21.09 MB / 1.182 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/4.513, allocations: 10.84 kB / 1.182 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006072/4.519, allocations: 0.6783 MB / 1.182 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008792/4.52, allocations: 165.9 kB / 1.183 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007402/4.521, allocations: 62.34 kB / 1.183 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/4.524, allocations: 2.152 MB / 1.185 GB, free: 155 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/4.524, allocations: 7.219 kB / 1.185 GB, free: 155 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/4.546, allocations: 11.03 MB / 1.195 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005134/4.552, allocations: 1.285 MB / 1.197 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002584/4.554, allocations: 51.56 kB / 1.197 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007403/4.562, allocations: 438.3 kB / 1.197 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/4.563, allocations: 183 kB / 1.197 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004835/4.563, allocations: 104.9 kB / 1.197 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.01773/4.581, allocations: 6.426 MB / 1.204 GB, free: 152.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.112e-06/4.581, allocations: 0 / 1.204 GB, free: 152.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02664/4.608, allocations: 2.902 MB / 1.207 GB, free: 152.5 MB / 0.6198 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.03694/4.645, allocations: 12.25 MB / 1.219 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.04664/4.691, allocations: 13.37 MB / 1.232 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/4.691, allocations: 448 / 1.232 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.009625/4.701, allocations: 2.9 MB / 1.234 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01474/4.716, allocations: 1.369 MB / 1.236 GB, free: 144.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.116/4.832, allocations: 31.34 MB / 1.266 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03019/4.862, allocations: 10.76 MB / 1.277 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01638/4.879, allocations: 7.018 MB / 1.284 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.244e-06/4.879, allocations: 0 / 1.284 GB, free: 116.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.689/12.57, allocations: 329.2 MB / 1.605 GB, free: 151 MB / 0.6198 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