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.ColorMaps.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.ColorMaps,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 234.9 MB / 250.5 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006347/0.0006346, allocations: 8 kB / 314.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4015, allocations: 54.85 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5737, allocations: 91.85 MB / 461.2 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5741, allocations: 79.95 kB / 461.3 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6881/1.262, allocations: 78.88 MB / 0.5275 GB, free: 95.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.262, allocations: 0 / 0.5275 GB, free: 95.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001335/1.264, allocations: 140.8 kB / 0.5276 GB, free: 95.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.02318/1.287, allocations: 7.977 MB / 0.5354 GB, free: 91.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.287, allocations: 6.938 kB / 0.5354 GB, free: 91.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002433/1.289, allocations: 0.6498 MB / 0.5361 GB, free: 90.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/1.294, allocations: 1.132 MB / 0.5372 GB, free: 90.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/1.31, allocations: 3.923 MB / 0.541 GB, free: 87.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/1.31, allocations: 187.9 kB / 0.5412 GB, free: 87.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/1.312, allocations: 241.5 kB / 0.5414 GB, free: 87.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/1.331, allocations: 6.387 MB / 0.5477 GB, free: 81.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.504e-05/1.331, allocations: 7.938 kB / 0.5477 GB, free: 81.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008296/1.332, allocations: 121.6 kB / 0.5478 GB, free: 81.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/1.333, allocations: 1.007 MB / 0.5488 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.345, allocations: 3.997 MB / 0.5527 GB, free: 77.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/1.383, allocations: 19.94 MB / 0.5721 GB, free: 57.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/1.386, allocations: 342.2 kB / 0.5725 GB, free: 57.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006401/1.392, allocations: 3.26 MB / 0.5756 GB, free: 53.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.392, allocations: 105.8 kB / 0.5758 GB, free: 53.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/1.392, allocations: 7.938 kB / 0.5758 GB, free: 53.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.001363/1.394, allocations: 0.8308 MB / 0.5766 GB, free: 52.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.394, allocations: 126.7 kB / 0.5767 GB, free: 52.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02301/1.417, allocations: 9.245 MB / 0.5857 GB, free: 43.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/1.417, allocations: 25.7 kB / 0.5857 GB, free: 43.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005861/1.423, allocations: 5.015 MB / 0.5906 GB, free: 38.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.423, allocations: 91.91 kB / 0.5907 GB, free: 37.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/1.423, allocations: 84 kB / 0.5908 GB, free: 37.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002669/1.424, allocations: 487.8 kB / 0.5913 GB, free: 37.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/1.425, allocations: 0.7458 MB / 0.592 GB, free: 36.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/1.428, allocations: 3.941 MB / 0.5959 GB, free: 31.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/1.432, allocations: 1.603 MB / 0.5974 GB, free: 29.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.383e-05/1.432, allocations: 40 kB / 0.5975 GB, free: 29.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009572/1.441, allocations: 4.206 MB / 0.6016 GB, free: 25.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/1.442, allocations: 59.95 kB / 0.6016 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/1.442, allocations: 119.9 kB / 0.6017 GB, free: 25.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/1.442, allocations: 168 kB / 0.6019 GB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.446, allocations: 0.9824 MB / 0.6029 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001919/1.447, allocations: 226.7 kB / 0.6031 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.452, allocations: 0.5989 MB / 0.6037 GB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006715/1.453, allocations: 284 kB / 0.6039 GB, free: 22.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 534 * Number of states: 0 () * Number of discrete variables: 27 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 534 * Array equations: 0 * 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.007492/1.46, allocations: 3.395 MB / 0.6072 GB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.462, allocations: 0.9043 MB / 0.6081 GB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/1.465, allocations: 1.034 MB / 0.6091 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/1.465, allocations: 176.3 kB / 0.6093 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.482e-05/1.465, allocations: 182.5 kB / 0.6095 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-05/1.465, allocations: 184.2 kB / 0.6097 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.479, allocations: 5.119 MB / 0.6146 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/1.479, allocations: 108.9 kB / 0.6148 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/1.479, allocations: 105 kB / 0.6149 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.595e-05/1.479, allocations: 176.3 kB / 0.615 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.479, allocations: 180.2 kB / 0.6152 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-05/1.479, allocations: 192.2 kB / 0.6154 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.171e-05/1.479, allocations: 188.1 kB / 0.6156 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.48, allocations: 1.143 MB / 0.6167 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/1.483, allocations: 0.9091 MB / 0.6176 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/1.485, allocations: 176.3 kB / 0.6177 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.487, allocations: 112.8 kB / 0.6178 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/1.487, allocations: 180.2 kB / 0.618 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/1.488, allocations: 109 kB / 0.6181 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02481/1.512, allocations: 7.098 MB / 0.625 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.512, allocations: 0 / 0.625 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008614/1.521, allocations: 1.128 MB / 0.6261 GB, free: 15.78 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.00304/1.524, allocations: 1.697 MB / 0.6278 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006286/1.53, allocations: 1.843 MB / 0.6296 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.531, allocations: 1 kB / 0.6296 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.791e-06/1.531, allocations: 0 / 0.6296 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02936/1.56, allocations: 3.288 MB / 0.6328 GB, free: 8.949 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6179/2.178, allocations: 163 MB / 0.792 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/2.191, allocations: 5.444 MB / 0.7973 GB, free: 20.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007395/2.198, allocations: 4.084 MB / 0.8013 GB, free: 16.81 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/2.198, allocations: 1.531 kB / 0.8013 GB, free: 16.81 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.642/8.841, allocations: 194.3 MB / 0.9911 GB, free: 40.28 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat does not exist to compare? outputFormat=mat