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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.288/2.288, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.161e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5066, allocations: 91.1 MB / 449.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5069, allocations: 75.97 kB / 449.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5817/1.089, allocations: 76.96 MB / 0.5139 GB, free: 53.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.089, allocations: 3.938 kB / 0.5139 GB, free: 53.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001161/1.09, allocations: 140 kB / 0.5141 GB, free: 53.41 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.01556/1.105, allocations: 6.507 MB / 0.5204 GB, free: 46.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.106, allocations: 12.03 kB / 0.5204 GB, free: 46.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/1.11, allocations: 1.127 MB / 0.5215 GB, free: 45.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.121, allocations: 3.891 MB / 0.5253 GB, free: 41.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.121, allocations: 80 kB / 0.5254 GB, free: 41.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/1.122, allocations: 144 kB / 0.5255 GB, free: 41.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008246/1.13, allocations: 4.499 MB / 0.5299 GB, free: 36.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/1.141, allocations: 5.964 MB / 0.5358 GB, free: 30.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/1.142, allocations: 11.94 kB / 0.5358 GB, free: 30.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/1.142, allocations: 4 kB / 0.5358 GB, free: 30.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001287/1.143, allocations: 1.024 MB / 0.5368 GB, free: 29.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03708/1.18, allocations: 20.2 MB / 0.5565 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/1.18, allocations: 169.2 kB / 0.5567 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/1.18, allocations: 80.14 kB / 0.5567 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/1.18, allocations: 75.28 kB / 0.5568 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.18, allocations: 109.8 kB / 0.5569 GB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.617e-06/1.18, allocations: 4 kB / 0.5569 GB, free: 8.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.001574/1.182, allocations: 0.8308 MB / 0.5577 GB, free: 7.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.182, allocations: 51.41 kB / 0.5578 GB, free: 7.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02251/1.205, allocations: 8.595 MB / 0.5662 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/1.205, allocations: 29.64 kB / 0.5662 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007797/1.213, allocations: 5.033 MB / 0.5711 GB, free: 9.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.213, allocations: 95.91 kB / 0.5712 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/1.213, allocations: 0 / 0.5712 GB, free: 9.816 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003436/1.213, allocations: 483.8 kB / 0.5717 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.215, allocations: 0.6407 MB / 0.5723 GB, free: 8.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/1.219, allocations: 3.808 MB / 0.576 GB, free: 3.207 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/1.223, allocations: 1.501 MB / 0.5775 GB, free: 1.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.795e-05/1.223, allocations: 36 kB / 0.5775 GB, free: 1.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01041/1.234, allocations: 3.486 MB / 0.5809 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.234, allocations: 56.22 kB / 0.581 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002184/1.234, allocations: 120 kB / 0.5811 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/1.234, allocations: 168 kB / 0.5812 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005225/1.24, allocations: 0.9785 MB / 0.5822 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002544/1.24, allocations: 227 kB / 0.5824 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.245, allocations: 0.5094 MB / 0.5829 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008975/1.246, allocations: 284 kB / 0.5832 GB, free: 11.85 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 () * 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.001023/1.247, allocations: 466.6 kB / 0.5836 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001894/1.249, allocations: 0.9256 MB / 0.5845 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.251, allocations: 0.912 MB / 0.5854 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/1.255, allocations: 1.014 MB / 0.5864 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.295e-05/1.255, allocations: 180.3 kB / 0.5866 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.037e-05/1.255, allocations: 180.2 kB / 0.5868 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/1.255, allocations: 180.2 kB / 0.5869 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.267, allocations: 3.927 MB / 0.5908 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.101e-05/1.267, allocations: 108.9 kB / 0.5909 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/1.267, allocations: 105 kB / 0.591 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/1.267, allocations: 180.3 kB / 0.5911 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/1.268, allocations: 188.2 kB / 0.5913 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/1.268, allocations: 176.3 kB / 0.5915 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.537e-05/1.268, allocations: 176.3 kB / 0.5917 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/1.269, allocations: 1.155 MB / 0.5928 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002538/1.272, allocations: 0.8859 MB / 0.5937 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.274, allocations: 184.2 kB / 0.5938 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.276, allocations: 101 kB / 0.5939 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/1.276, allocations: 180.3 kB / 0.5941 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/1.276, allocations: 109.3 kB / 0.5942 GB, free: 308 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01916/1.295, allocations: 6.469 MB / 0.6005 GB, free: 9.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.295, allocations: 0 / 0.6005 GB, free: 9.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005999/1.301, allocations: 1.049 MB / 0.6015 GB, free: 8.828 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 () * 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.00245/1.304, allocations: 1.693 MB / 0.6032 GB, free: 7.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004362/1.308, allocations: 1.593 MB / 0.6048 GB, free: 5.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.308, allocations: 1.812 kB / 0.6048 GB, free: 5.531 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/1.308, allocations: 0 / 0.6048 GB, free: 5.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02316/1.332, allocations: 3.261 MB / 0.6079 GB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04943/1.381, allocations: 15.61 MB / 0.6232 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7002/2.081, allocations: 5.44 MB / 0.6285 GB, free: 109.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007624/2.089, allocations: 4.077 MB / 0.6325 GB, free: 109.9 MB / 458.8 MB Notification: Performance of SimCode: time 1.853e-06/2.089, allocations: 0 / 0.6325 GB, free: 109.9 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.731/8.82, allocations: 190 MB / 0.818 GB, free: 102 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