Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.2 MB / 224.8 MB, free: 304 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006154/0.0006154, allocations: 12 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.396, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5464, allocations: 83.52 MB / 414.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5467, allocations: 79.95 kB / 415 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8913/1.438, allocations: 138.8 MB / 0.5408 GB, free: 55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.438, allocations: 4 kB / 0.5408 GB, free: 55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002738/1.438, allocations: 123.9 kB / 0.5409 GB, free: 54.88 MB / 394.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.02518/1.464, allocations: 6.265 MB / 0.547 GB, free: 48.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.064e-05/1.464, allocations: 8.031 kB / 0.547 GB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01035/1.474, allocations: 1.381 MB / 0.5484 GB, free: 47.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04899/1.523, allocations: 6.541 MB / 0.5547 GB, free: 40.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/1.537, allocations: 4.28 MB / 0.5589 GB, free: 36.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006599/1.538, allocations: 0.5052 MB / 0.5594 GB, free: 35.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004717/1.543, allocations: 0.656 MB / 0.5601 GB, free: 35.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05356/1.596, allocations: 18.12 MB / 0.5778 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003165/1.597, allocations: 39.62 kB / 0.5778 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004425/1.601, allocations: 311.8 kB / 0.5781 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004437/1.606, allocations: 2.153 MB / 0.5802 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04989/1.656, allocations: 17.48 MB / 0.5973 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5114/2.167, allocations: 61.71 MB / 0.6575 GB, free: 55.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03708/2.204, allocations: 8.435 MB / 0.6658 GB, free: 53.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03495/2.239, allocations: 11.84 MB / 0.6773 GB, free: 49.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/2.239, allocations: 61.88 kB / 0.6774 GB, free: 49.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 7.304e-06/2.239, allocations: 0 / 0.6774 GB, free: 49.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03289/2.272, allocations: 8.552 MB / 0.6857 GB, free: 48.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/2.272, allocations: 102.6 kB / 0.6858 GB, free: 48.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0162/2.289, allocations: 4.988 MB / 0.6907 GB, free: 47.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006506/2.289, allocations: 62.64 kB / 0.6908 GB, free: 47.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005577/2.295, allocations: 4.987 MB / 0.6956 GB, free: 44.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002452/2.297, allocations: 1.199 MB / 0.6968 GB, free: 44.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/2.299, allocations: 177.7 kB / 0.697 GB, free: 44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001191/2.3, allocations: 0.7157 MB / 0.6977 GB, free: 43.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01083/2.311, allocations: 3.086 MB / 0.7007 GB, free: 42.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01557/2.326, allocations: 8.436 MB / 0.7089 GB, free: 34.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/2.342, allocations: 5.166 MB / 0.714 GB, free: 32.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002384/2.343, allocations: 52.62 kB / 0.714 GB, free: 32.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02851/2.371, allocations: 11.2 MB / 0.725 GB, free: 29.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/2.371, allocations: 87.78 kB / 0.725 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002573/2.372, allocations: 186.2 kB / 0.7252 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/2.372, allocations: 280.2 kB / 0.7255 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/2.384, allocations: 2.07 MB / 0.7275 GB, free: 28.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004917/2.385, allocations: 374.7 kB / 0.7279 GB, free: 28.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009933/2.395, allocations: 1.294 MB / 0.7291 GB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/2.397, allocations: 0.5433 MB / 0.7297 GB, free: 27.83 MB / 426.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 () * Number of clocked 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.009966/2.407, allocations: 3.692 MB / 0.7333 GB, free: 25.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/2.408, allocations: 485.3 kB / 0.7337 GB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/2.411, allocations: 0.6608 MB / 0.7344 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001478/2.411, allocations: 57.08 kB / 0.7344 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/2.411, allocations: 0 / 0.7344 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/2.411, allocations: 14.22 kB / 0.7344 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03459/2.445, allocations: 12.65 MB / 0.7468 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/2.446, allocations: 16.84 kB / 0.7468 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/2.449, allocations: 425.3 kB / 0.7472 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/2.449, allocations: 28 kB / 0.7472 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003632/2.45, allocations: 64.3 kB / 0.7473 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-05/2.45, allocations: 31.36 kB / 0.7473 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/2.45, allocations: 19.88 kB / 0.7473 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00952/2.459, allocations: 6.569 MB / 0.7538 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/2.461, allocations: 0.5871 MB / 0.7543 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.462, allocations: 60.81 kB / 0.7544 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/2.466, allocations: 125.3 kB / 0.7545 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000727/2.466, allocations: 181.3 kB / 0.7547 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/2.467, allocations: 93.56 kB / 0.7548 GB, free: 5.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00851/2.475, allocations: 3.439 MB / 0.7581 GB, free: 2.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.475, allocations: 0 / 0.7581 GB, free: 2.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01067/2.486, allocations: 1.982 MB / 0.7601 GB, free: 356 kB / 426.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 () * Number of clocked 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.01449/2.5, allocations: 10.12 MB / 0.7699 GB, free: 6.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01899/2.519, allocations: 7.134 MB / 0.7769 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.169e-05/2.519, allocations: 4.078 kB / 0.7769 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005595/2.525, allocations: 2.029 MB / 0.7789 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/2.53, allocations: 0.5784 MB / 0.7795 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4846/3.014, allocations: 182.6 MB / 0.9577 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01565/3.03, allocations: 5.586 MB / 0.9632 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009355/3.039, allocations: 3.393 MB / 0.9665 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/3.039, allocations: 3.75 kB / 0.9665 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.312/8.351, allocations: 133.4 MB / 1.097 GB, free: 110.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat