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.AbsoluteSensor2.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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.3e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 54.85 MB / 364.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.5662, allocations: 99.18 MB / 463.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5665, allocations: 75.95 kB / 463.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6367/1.203, allocations: 79.86 MB / 0.531 GB, free: 109.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.203, allocations: 4.75 kB / 0.531 GB, free: 109.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002081/1.203, allocations: 73.84 kB / 0.5311 GB, free: 109.8 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01413/1.218, allocations: 3.561 MB / 0.5346 GB, free: 108.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/1.218, allocations: 8.25 kB / 0.5346 GB, free: 108.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003799/1.221, allocations: 0.8072 MB / 0.5353 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/1.247, allocations: 3.375 MB / 0.5386 GB, free: 107.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009085/1.257, allocations: 2.329 MB / 0.5409 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/1.257, allocations: 313.9 kB / 0.5412 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/1.26, allocations: 399.7 kB / 0.5416 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03079/1.291, allocations: 10.67 MB / 0.552 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/1.291, allocations: 46.88 kB / 0.5521 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002092/1.293, allocations: 203.6 kB / 0.5523 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002291/1.296, allocations: 1.135 MB / 0.5534 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/1.32, allocations: 9.289 MB / 0.5624 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06921/1.389, allocations: 46.89 MB / 0.6082 GB, free: 69.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008396/1.398, allocations: 3.461 MB / 0.6116 GB, free: 67.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/1.4, allocations: 1.247 MB / 0.6128 GB, free: 67.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01421/1.415, allocations: 5.323 MB / 0.618 GB, free: 64.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.415, allocations: 46.16 kB / 0.6181 GB, free: 64.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 8.587e-06/1.415, allocations: 0 / 0.6181 GB, free: 64.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01012/1.425, allocations: 2.527 MB / 0.6205 GB, free: 62.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.425, allocations: 178.7 kB / 0.6207 GB, free: 62.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006711/1.432, allocations: 3.458 MB / 0.6241 GB, free: 59.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/1.432, allocations: 41.7 kB / 0.6241 GB, free: 59.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.435, allocations: 3.299 MB / 0.6273 GB, free: 56.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008666/1.435, allocations: 0.6177 MB / 0.6279 GB, free: 55.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/1.436, allocations: 124 kB / 0.6281 GB, free: 55.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003743/1.436, allocations: 0.5943 MB / 0.6286 GB, free: 54.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004193/1.44, allocations: 1.902 MB / 0.6305 GB, free: 53.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006846/1.447, allocations: 6.152 MB / 0.6365 GB, free: 45.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007247/1.455, allocations: 3.483 MB / 0.6399 GB, free: 42.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.455, allocations: 44 kB / 0.64 GB, free: 42.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01867/1.474, allocations: 7.628 MB / 0.6474 GB, free: 35.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.474, allocations: 68 kB / 0.6475 GB, free: 35.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/1.474, allocations: 156.1 kB / 0.6476 GB, free: 35.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/1.474, allocations: 220 kB / 0.6478 GB, free: 34.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00857/1.483, allocations: 1.501 MB / 0.6493 GB, free: 33.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002609/1.483, allocations: 297.1 kB / 0.6496 GB, free: 33.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.49, allocations: 0.9244 MB / 0.6505 GB, free: 32.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/1.491, allocations: 408.1 kB / 0.6509 GB, free: 32.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (813): * Single equations (assignments): 807 * Array equations: 6 * 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.001273/1.493, allocations: 0.6034 MB / 0.6515 GB, free: 31.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/1.493, allocations: 319.7 kB / 0.6518 GB, free: 31.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.494, allocations: 423.4 kB / 0.6522 GB, free: 30.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/1.495, allocations: 39.19 kB / 0.6522 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.495, allocations: 0 / 0.6522 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.495, allocations: 8.734 kB / 0.6522 GB, free: 30.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.508, allocations: 5.744 MB / 0.6578 GB, free: 25.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.508, allocations: 15.97 kB / 0.6578 GB, free: 25.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/1.51, allocations: 207.3 kB / 0.658 GB, free: 25.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/1.51, allocations: 12 kB / 0.658 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/1.51, allocations: 35.52 kB / 0.6581 GB, free: 25.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/1.51, allocations: 11.94 kB / 0.6581 GB, free: 25.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/1.51, allocations: 8 kB / 0.6581 GB, free: 25.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/1.514, allocations: 3.22 MB / 0.6612 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/1.515, allocations: 392.5 kB / 0.6616 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004926/1.516, allocations: 27.91 kB / 0.6616 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.518, allocations: 71.77 kB / 0.6617 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/1.518, allocations: 88.25 kB / 0.6618 GB, free: 21.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.518, allocations: 47.98 kB / 0.6618 GB, free: 21.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004826/1.523, allocations: 2.343 MB / 0.6641 GB, free: 19.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.523, allocations: 0 / 0.6641 GB, free: 19.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006444/1.529, allocations: 1.133 MB / 0.6652 GB, free: 18.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * 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.005048/1.534, allocations: 5.36 MB / 0.6705 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009402/1.544, allocations: 4.388 MB / 0.6748 GB, free: 8.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.544, allocations: 0 / 0.6748 GB, free: 8.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/1.546, allocations: 0.9534 MB / 0.6757 GB, free: 7.246 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.548, allocations: 340.8 kB / 0.676 GB, free: 6.934 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/1.574, allocations: 9.006 MB / 0.6848 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006618/1.581, allocations: 3.356 MB / 0.6881 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004387/1.585, allocations: 1.792 MB / 0.6898 GB, free: 8.629 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/1.585, allocations: 0 / 0.6898 GB, free: 8.629 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.225/5.811, allocations: 77.58 MB / 0.7656 GB, free: 107.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat