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.AbsoluteSensor2.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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.111/2.111, allocations: 209.2 MB / 224.8 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12 kB / 282.7 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 48.7 MB / 331.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5414, allocations: 92.63 MB / 424 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.5419, allocations: 83.89 kB / 424.1 MB, free: 8.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6223/1.164, allocations: 79.77 MB / 0.492 GB, free: 92.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.466e-06/1.164, allocations: 2.656 kB / 0.492 GB, free: 92.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002109/1.164, allocations: 71.12 kB / 0.4921 GB, free: 92.68 MB / 410.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.01539/1.18, allocations: 3.671 MB / 0.4957 GB, free: 90.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.18, allocations: 8.531 kB / 0.4957 GB, free: 90.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004346/1.184, allocations: 0.8084 MB / 0.4965 GB, free: 90.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/1.211, allocations: 3.383 MB / 0.4998 GB, free: 90.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/1.22, allocations: 2.336 MB / 0.5021 GB, free: 90.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.221, allocations: 310.8 kB / 0.5024 GB, free: 90.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/1.224, allocations: 403.6 kB / 0.5028 GB, free: 90.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/1.256, allocations: 10.73 MB / 0.5132 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/1.256, allocations: 48.23 kB / 0.5133 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/1.258, allocations: 202.3 kB / 0.5135 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/1.261, allocations: 1.13 MB / 0.5146 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/1.286, allocations: 9.428 MB / 0.5238 GB, free: 86.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07206/1.358, allocations: 46.89 MB / 0.5696 GB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00929/1.368, allocations: 3.494 MB / 0.573 GB, free: 49.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/1.382, allocations: 5.312 MB / 0.5782 GB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.382, allocations: 50.55 kB / 0.5782 GB, free: 46.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 6.703e-06/1.382, allocations: 0 / 0.5782 GB, free: 46.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=153): time 0.01203/1.394, allocations: 3.864 MB / 0.582 GB, free: 42.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.394, allocations: 170.7 kB / 0.5822 GB, free: 42.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/1.403, allocations: 3.494 MB / 0.5856 GB, free: 39.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/1.403, allocations: 41.7 kB / 0.5856 GB, free: 39.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/1.406, allocations: 3.304 MB / 0.5888 GB, free: 36.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.407, allocations: 0.6162 MB / 0.5894 GB, free: 36.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008162/1.408, allocations: 131.9 kB / 0.5896 GB, free: 36.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005099/1.409, allocations: 0.5932 MB / 0.5901 GB, free: 35.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.414, allocations: 1.939 MB / 0.592 GB, free: 33.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00803/1.422, allocations: 6.19 MB / 0.5981 GB, free: 25.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/1.429, allocations: 3.474 MB / 0.6015 GB, free: 22.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.43, allocations: 44 kB / 0.6015 GB, free: 22.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01967/1.449, allocations: 7.71 MB / 0.609 GB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.449, allocations: 72.09 kB / 0.6091 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/1.45, allocations: 152 kB / 0.6093 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/1.45, allocations: 224 kB / 0.6095 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008717/1.459, allocations: 1.501 MB / 0.6109 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002972/1.459, allocations: 298.8 kB / 0.6112 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006893/1.466, allocations: 0.9277 MB / 0.6121 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.467, allocations: 408 kB / 0.6125 GB, free: 11.76 MB / 410.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 () * Number of clocked 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.006869/1.474, allocations: 2.276 MB / 0.6147 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/1.475, allocations: 319.6 kB / 0.615 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.476, allocations: 423.9 kB / 0.6154 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.282e-05/1.477, allocations: 32 kB / 0.6155 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.477, allocations: 4 kB / 0.6155 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.477, allocations: 7.969 kB / 0.6155 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/1.493, allocations: 5.753 MB / 0.6211 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.493, allocations: 8.078 kB / 0.6211 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.495, allocations: 215.7 kB / 0.6213 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/1.495, allocations: 15.84 kB / 0.6213 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.495, allocations: 27.83 kB / 0.6214 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/1.495, allocations: 27.8 kB / 0.6214 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.495, allocations: 11.94 kB / 0.6214 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/1.5, allocations: 3.232 MB / 0.6246 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.501, allocations: 392.5 kB / 0.6249 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.502, allocations: 28 kB / 0.625 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.505, allocations: 71.81 kB / 0.625 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.505, allocations: 76.38 kB / 0.6251 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.506, allocations: 47.98 kB / 0.6251 GB, free: 14.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007045/1.513, allocations: 2.375 MB / 0.6275 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.513, allocations: 0 / 0.6275 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00786/1.521, allocations: 1.136 MB / 0.6286 GB, free: 10.97 MB / 426.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 () * Number of clocked 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.007364/1.528, allocations: 5.378 MB / 0.6338 GB, free: 5.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.54, allocations: 4.437 MB / 0.6382 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.54, allocations: 4 kB / 0.6382 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.542, allocations: 0.9572 MB / 0.6391 GB, free: 28 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2882/1.83, allocations: 325.6 kB / 0.6394 GB, free: 97.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09811/1.928, allocations: 135.3 MB / 0.7716 GB, free: 9.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007179/1.936, allocations: 3.365 MB / 0.7749 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004364/1.94, allocations: 1.793 MB / 0.7766 GB, free: 8.324 MB / 458.7 MB Notification: Performance of SimCode: time 1.292e-06/1.94, allocations: 0 / 0.7766 GB, free: 8.324 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.354/6.294, allocations: 77.62 MB / 0.8524 GB, free: 121.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat