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.31/2.31, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.559e-05, allocations: 8 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 54.85 MB / 364.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5658, allocations: 91.77 MB / 456.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5661, allocations: 75.95 kB / 456.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3694/0.9355, allocations: 78.92 MB / 0.5228 GB, free: 5.391 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.9356, allocations: 0 / 0.5228 GB, free: 5.391 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001695/0.9373, allocations: 136 kB / 0.523 GB, free: 5.258 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.6979/1.635, allocations: 6.511 MB / 0.5293 GB, free: 99.99 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.635, allocations: 9.375 kB / 0.5293 GB, free: 99.99 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002565/1.638, allocations: 0.644 MB / 0.53 GB, free: 99.92 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/1.643, allocations: 1.125 MB / 0.5311 GB, free: 99.32 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/1.658, allocations: 3.894 MB / 0.5349 GB, free: 98.59 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/1.658, allocations: 185.3 kB / 0.535 GB, free: 98.58 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/1.659, allocations: 243.4 kB / 0.5353 GB, free: 98.58 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/1.68, allocations: 6.348 MB / 0.5415 GB, free: 97.95 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.581e-05/1.68, allocations: 10.81 kB / 0.5415 GB, free: 97.95 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005817/1.68, allocations: 107.7 kB / 0.5416 GB, free: 97.95 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/1.682, allocations: 1.011 MB / 0.5426 GB, free: 97.94 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/1.695, allocations: 3.906 MB / 0.5464 GB, free: 97.9 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04155/1.737, allocations: 19.95 MB / 0.5659 GB, free: 88.89 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/1.739, allocations: 334.9 kB / 0.5662 GB, free: 88.85 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.739, allocations: 63.34 kB / 0.5662 GB, free: 88.83 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006934/1.746, allocations: 3.258 MB / 0.5694 GB, free: 86.25 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.747, allocations: 111.6 kB / 0.5695 GB, free: 86.14 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 2.545e-06/1.747, allocations: 0 / 0.5695 GB, free: 86.14 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001769/1.748, allocations: 0.8357 MB / 0.5703 GB, free: 85.65 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.748, allocations: 126.7 kB / 0.5705 GB, free: 85.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02297/1.771, allocations: 9.146 MB / 0.5794 GB, free: 82.71 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.771, allocations: 25.7 kB / 0.5794 GB, free: 82.68 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005767/1.777, allocations: 5.02 MB / 0.5843 GB, free: 78.42 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/1.777, allocations: 89.7 kB / 0.5844 GB, free: 78.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.778, allocations: 84.75 kB / 0.5845 GB, free: 78.32 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002268/1.778, allocations: 484.8 kB / 0.585 GB, free: 77.94 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.779, allocations: 0.7195 MB / 0.5857 GB, free: 77.74 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.783, allocations: 3.922 MB / 0.5895 GB, free: 73.06 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/1.786, allocations: 1.621 MB / 0.5911 GB, free: 72.65 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.049e-05/1.786, allocations: 36.05 kB / 0.5911 GB, free: 72.64 MB / 458.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009838/1.796, allocations: 4.154 MB / 0.5952 GB, free: 71.17 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/1.796, allocations: 53.69 kB / 0.5952 GB, free: 71.17 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/1.796, allocations: 118 kB / 0.5953 GB, free: 71.17 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/1.796, allocations: 170.7 kB / 0.5955 GB, free: 71.17 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/1.801, allocations: 0.9768 MB / 0.5964 GB, free: 71.04 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001919/1.801, allocations: 234.1 kB / 0.5967 GB, free: 70.99 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/1.807, allocations: 0.5933 MB / 0.5972 GB, free: 70.61 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007207/1.808, allocations: 284.7 kB / 0.5975 GB, free: 70.57 MB / 458.8 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 () * 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.0005821/1.808, allocations: 0.5291 MB / 0.598 GB, free: 70.12 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.81, allocations: 0.9127 MB / 0.5989 GB, free: 69.55 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/1.813, allocations: 1.02 MB / 0.5999 GB, free: 69.17 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/1.813, allocations: 183 kB / 0.6001 GB, free: 68.98 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-05/1.813, allocations: 183.2 kB / 0.6003 GB, free: 68.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-05/1.813, allocations: 176.3 kB / 0.6004 GB, free: 68.62 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/1.828, allocations: 5.127 MB / 0.6054 GB, free: 66.11 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/1.828, allocations: 104 kB / 0.6055 GB, free: 66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/1.828, allocations: 108.9 kB / 0.6057 GB, free: 65.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.861e-05/1.828, allocations: 179.7 kB / 0.6058 GB, free: 65.71 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/1.828, allocations: 180.3 kB / 0.606 GB, free: 65.53 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.39e-05/1.828, allocations: 180.2 kB / 0.6062 GB, free: 65.34 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/1.828, allocations: 179.5 kB / 0.6063 GB, free: 65.16 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.829, allocations: 1.155 MB / 0.6075 GB, free: 63.98 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/1.832, allocations: 0.906 MB / 0.6083 GB, free: 63.06 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.833, allocations: 184.8 kB / 0.6085 GB, free: 62.88 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.835, allocations: 108.6 kB / 0.6086 GB, free: 62.77 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/1.835, allocations: 184.2 kB / 0.6088 GB, free: 62.58 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.835, allocations: 102.1 kB / 0.6089 GB, free: 62.47 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0175/1.853, allocations: 6.998 MB / 0.6157 GB, free: 56.41 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.042e-06/1.853, allocations: 0 / 0.6157 GB, free: 56.41 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005644/1.858, allocations: 1.123 MB / 0.6168 GB, free: 55.29 MB / 458.8 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 () * 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.001929/1.86, allocations: 1.707 MB / 0.6185 GB, free: 53.54 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003882/1.864, allocations: 1.813 MB / 0.6203 GB, free: 51.91 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.864, allocations: 0 / 0.6203 GB, free: 51.91 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/1.864, allocations: 0 / 0.6203 GB, free: 51.91 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02082/1.885, allocations: 3.294 MB / 0.6235 GB, free: 49.47 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0432/1.928, allocations: 15.72 MB / 0.6388 GB, free: 35.79 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/1.941, allocations: 5.44 MB / 0.6442 GB, free: 31.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007217/1.948, allocations: 4.08 MB / 0.6481 GB, free: 28.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.392e-06/1.948, allocations: 0 / 0.6481 GB, free: 28.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.468/8.416, allocations: 191.9 MB / 0.8355 GB, free: 32.96 MB / 490.8 MB 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