Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235 MB / 248 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.931e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3996, allocations: 54.86 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5693, allocations: 90 MB / 454.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.5697, allocations: 75.95 kB / 454.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8795/1.449, allocations: 139 MB / 0.5798 GB, free: 102.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.449, allocations: 0 / 0.5798 GB, free: 102.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002627/1.45, allocations: 118.7 kB / 0.5799 GB, free: 102.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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02163/1.471, allocations: 6.062 MB / 0.5858 GB, free: 99.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.471, allocations: 7.281 kB / 0.5858 GB, free: 99.56 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006612/1.478, allocations: 1.395 MB / 0.5872 GB, free: 98.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04708/1.525, allocations: 6.531 MB / 0.5936 GB, free: 96.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/1.54, allocations: 4.275 MB / 0.5977 GB, free: 94.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006054/1.541, allocations: 0.5062 MB / 0.5982 GB, free: 94.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004529/1.545, allocations: 0.6511 MB / 0.5989 GB, free: 93.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05381/1.599, allocations: 17.98 MB / 0.6164 GB, free: 75.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002614/1.6, allocations: 39.62 kB / 0.6165 GB, free: 75.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003741/1.603, allocations: 309.4 kB / 0.6168 GB, free: 74.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/1.607, allocations: 2.156 MB / 0.6189 GB, free: 72.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04652/1.654, allocations: 17.24 MB / 0.6357 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1267/1.781, allocations: 61.73 MB / 0.696 GB, free: 8.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3735/2.154, allocations: 8.394 MB / 0.7042 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006805/2.161, allocations: 2.545 MB / 0.7067 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0366/2.198, allocations: 11.83 MB / 0.7182 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/2.198, allocations: 57.34 kB / 0.7183 GB, free: 102.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 7.995e-06/2.198, allocations: 0 / 0.7183 GB, free: 102.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.0265/2.224, allocations: 5.79 MB / 0.7239 GB, free: 101.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/2.225, allocations: 98.61 kB / 0.724 GB, free: 101.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/2.237, allocations: 4.946 MB / 0.7288 GB, free: 101.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006129/2.237, allocations: 62.77 kB / 0.7289 GB, free: 101.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004251/2.242, allocations: 4.982 MB / 0.7338 GB, free: 98.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001882/2.244, allocations: 1.195 MB / 0.7349 GB, free: 97.67 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.245, allocations: 179.8 kB / 0.7351 GB, free: 97.67 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001063/2.246, allocations: 0.7199 MB / 0.7358 GB, free: 97.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008211/2.254, allocations: 3.028 MB / 0.7388 GB, free: 96.97 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/2.266, allocations: 8.373 MB / 0.7469 GB, free: 88.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/2.278, allocations: 5.161 MB / 0.752 GB, free: 87.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002378/2.278, allocations: 56.88 kB / 0.752 GB, free: 87.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02882/2.307, allocations: 11.07 MB / 0.7628 GB, free: 83.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.307, allocations: 86.72 kB / 0.7629 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/2.308, allocations: 185.9 kB / 0.7631 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/2.308, allocations: 285.3 kB / 0.7634 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01328/2.321, allocations: 2.065 MB / 0.7654 GB, free: 83.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/2.322, allocations: 369 kB / 0.7657 GB, free: 83.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.332, allocations: 1.29 MB / 0.767 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002236/2.334, allocations: 0.5453 MB / 0.7675 GB, free: 82.76 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * 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.003241/2.338, allocations: 0.777 MB / 0.7683 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/2.339, allocations: 481.5 kB / 0.7688 GB, free: 81.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/2.341, allocations: 0.6547 MB / 0.7694 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001492/2.341, allocations: 56.5 kB / 0.7695 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/2.341, allocations: 0 / 0.7695 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/2.341, allocations: 10.12 kB / 0.7695 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0363/2.378, allocations: 12.62 MB / 0.7818 GB, free: 76.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/2.378, allocations: 14.03 kB / 0.7818 GB, free: 76.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003725/2.382, allocations: 421.3 kB / 0.7822 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.714e-05/2.382, allocations: 27.95 kB / 0.7822 GB, free: 76.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/2.382, allocations: 64.97 kB / 0.7823 GB, free: 76.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.299e-05/2.382, allocations: 32.73 kB / 0.7823 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/2.382, allocations: 23.7 kB / 0.7823 GB, free: 76.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009942/2.392, allocations: 6.538 MB / 0.7887 GB, free: 69.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/2.394, allocations: 0.5857 MB / 0.7893 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/2.396, allocations: 61.67 kB / 0.7894 GB, free: 69.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003792/2.4, allocations: 125.2 kB / 0.7895 GB, free: 69.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/2.401, allocations: 181.8 kB / 0.7896 GB, free: 68.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/2.401, allocations: 96 kB / 0.7897 GB, free: 68.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008639/2.41, allocations: 3.389 MB / 0.7931 GB, free: 65.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.41, allocations: 0 / 0.7931 GB, free: 65.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01045/2.42, allocations: 1.976 MB / 0.795 GB, free: 63.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01101/2.431, allocations: 10.09 MB / 0.8048 GB, free: 53.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/2.446, allocations: 7.028 MB / 0.8117 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/2.446, allocations: 0 / 0.8117 GB, free: 47.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/2.451, allocations: 1.981 MB / 0.8136 GB, free: 45.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/2.455, allocations: 0.5668 MB / 0.8142 GB, free: 45.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04896/2.504, allocations: 16.1 MB / 0.8299 GB, free: 30.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/2.517, allocations: 5.587 MB / 0.8354 GB, free: 26.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008458/2.525, allocations: 3.388 MB / 0.8387 GB, free: 23.51 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/2.525, allocations: 2.078 kB / 0.8387 GB, free: 23.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.162/7.688, allocations: 133.9 MB / 0.9695 GB, free: 98.55 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat