Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus.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.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.278e-05, allocations: 3.938 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.392, allocations: 54.85 MB / 364.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5526, allocations: 89.38 MB / 454 MB, free: 6.977 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.553, allocations: 71.97 kB / 454.1 MB, free: 6.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2849/0.8379, allocations: 67.85 MB / 0.5097 GB, free: 2.426 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8379, allocations: 0 / 0.5097 GB, free: 2.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.8381, allocations: 67.94 kB / 0.5098 GB, free: 2.359 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.0103/0.8484, allocations: 3.032 MB / 0.5127 GB, free: 15.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8485, allocations: 8.031 kB / 0.5127 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003011/0.8515, allocations: 0.7254 MB / 0.5134 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/0.8764, allocations: 3.278 MB / 0.5166 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/0.8845, allocations: 2.06 MB / 0.5186 GB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/0.885, allocations: 283 kB / 0.5189 GB, free: 8.852 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.8874, allocations: 351.9 kB / 0.5192 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.337/1.224, allocations: 8.973 MB / 0.528 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002161/1.225, allocations: 19.22 kB / 0.528 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/1.227, allocations: 165.3 kB / 0.5282 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/1.23, allocations: 1.038 MB / 0.5292 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.256, allocations: 8.515 MB / 0.5375 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05771/1.314, allocations: 29.11 MB / 0.5659 GB, free: 99.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/1.321, allocations: 3.037 MB / 0.5689 GB, free: 98.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/1.324, allocations: 0.9703 MB / 0.5699 GB, free: 97.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/1.338, allocations: 4.882 MB / 0.5746 GB, free: 95.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.339, allocations: 42.91 kB / 0.5747 GB, free: 95.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 5.851e-06/1.339, allocations: 0 / 0.5747 GB, free: 95.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.009081/1.348, allocations: 2.09 MB / 0.5767 GB, free: 94.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.348, allocations: 67.44 kB / 0.5768 GB, free: 94.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/1.353, allocations: 2.238 MB / 0.579 GB, free: 93.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/1.353, allocations: 41.33 kB / 0.579 GB, free: 93.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/1.355, allocations: 2.647 MB / 0.5816 GB, free: 92.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/1.356, allocations: 0.4895 MB / 0.5821 GB, free: 91.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.356, allocations: 83.75 kB / 0.5821 GB, free: 91.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002767/1.356, allocations: 0.495 MB / 0.5826 GB, free: 91.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.359, allocations: 1.304 MB / 0.5839 GB, free: 90.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00497/1.364, allocations: 4.033 MB / 0.5878 GB, free: 86.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/1.369, allocations: 2.345 MB / 0.5901 GB, free: 86.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-05/1.369, allocations: 30.97 kB / 0.5902 GB, free: 86.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01242/1.382, allocations: 5.109 MB / 0.5951 GB, free: 84.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/1.382, allocations: 53.19 kB / 0.5952 GB, free: 84.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.382, allocations: 97.08 kB / 0.5953 GB, free: 84.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/1.382, allocations: 143 kB / 0.5954 GB, free: 84.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/1.387, allocations: 0.967 MB / 0.5964 GB, free: 84.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001773/1.388, allocations: 195.3 kB / 0.5966 GB, free: 84.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/1.392, allocations: 0.5948 MB / 0.5971 GB, free: 83.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009338/1.393, allocations: 281.5 kB / 0.5974 GB, free: 83.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (535): * Single equations (assignments): 529 * 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.001214/1.394, allocations: 434.9 kB / 0.5978 GB, free: 83.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/1.395, allocations: 212 kB / 0.598 GB, free: 83.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/1.396, allocations: 267 kB / 0.5983 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/1.396, allocations: 19.03 kB / 0.5983 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.396, allocations: 0.8125 kB / 0.5983 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.396, allocations: 7.844 kB / 0.5983 GB, free: 82.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.411, allocations: 5.612 MB / 0.6038 GB, free: 79.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.411, allocations: 4 kB / 0.6038 GB, free: 79.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.412, allocations: 137.9 kB / 0.6039 GB, free: 78.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.412, allocations: 13.41 kB / 0.6039 GB, free: 78.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.412, allocations: 19.5 kB / 0.6039 GB, free: 78.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/1.412, allocations: 8 kB / 0.604 GB, free: 78.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.412, allocations: 12.47 kB / 0.604 GB, free: 78.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/1.416, allocations: 2.1 MB / 0.606 GB, free: 76.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/1.417, allocations: 297.3 kB / 0.6063 GB, free: 76.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/1.417, allocations: 24.94 kB / 0.6063 GB, free: 76.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.418, allocations: 42.31 kB / 0.6064 GB, free: 76.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.418, allocations: 59.58 kB / 0.6064 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.418, allocations: 42.11 kB / 0.6065 GB, free: 76.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003145/1.422, allocations: 1.51 MB / 0.6079 GB, free: 74.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.272e-06/1.422, allocations: 0 / 0.6079 GB, free: 74.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004878/1.427, allocations: 1.009 MB / 0.6089 GB, free: 73.94 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * 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.004033/1.431, allocations: 3.857 MB / 0.6127 GB, free: 70.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006645/1.437, allocations: 3.059 MB / 0.6157 GB, free: 67.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.437, allocations: 5.625 kB / 0.6157 GB, free: 67.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/1.439, allocations: 0.7366 MB / 0.6164 GB, free: 66.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/1.44, allocations: 235.4 kB / 0.6166 GB, free: 66.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.462, allocations: 7.409 MB / 0.6239 GB, free: 59.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005824/1.468, allocations: 3.044 MB / 0.6268 GB, free: 57.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003369/1.471, allocations: 1.524 MB / 0.6283 GB, free: 56.14 MB / 458.7 MB Notification: Performance of SimCode: time 2.124e-06/1.471, allocations: 0 / 0.6283 GB, free: 56.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.602/5.073, allocations: 61.51 MB / 0.6884 GB, free: 11.73 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus_res.mat does not exist to compare? outputFormat=mat