Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.039/2.039, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 16 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3457, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.07176/0.4175, allocations: 45.83 MB / 377.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.4475, allocations: 9.626 MB / 386.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01046/0.458, allocations: 227.5 kB / 387 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00884/0.4669, allocations: 2.368 MB / 389.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02708/0.494, allocations: 6.561 MB / 395.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.4974, allocations: 291.6 kB / 396.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00306/0.5005, allocations: 0.8814 MB / 397.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006284/0.5069, allocations: 2.839 MB / 399.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.5084, allocations: 0.5525 MB / 400.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00498/0.5134, allocations: 2.139 MB / 402.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006237/0.5141, allocations: 72 kB / 402.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.5154, allocations: 303.5 kB / 402.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003842/0.5193, allocations: 2.894 MB / 405.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.5214, allocations: 1.391 MB / 407.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.5322, allocations: 6.867 MB / 414.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5323, allocations: 7.938 kB / 414.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5323, allocations: 0 / 414.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000316/0.5326, allocations: 0 / 414.1 MB, free: 11.41 MB / 346.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.01972/0.5524, allocations: 7.977 MB / 422.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5525, allocations: 12.03 kB / 422.1 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001769/0.5542, allocations: 0.6117 MB / 422.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.5568, allocations: 0.9704 MB / 423.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.5671, allocations: 3.702 MB / 427.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.5673, allocations: 131.3 kB / 427.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/0.5678, allocations: 163.9 kB / 427.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.5822, allocations: 6.627 MB / 434.3 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.5824, allocations: 7.938 kB / 434.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.5826, allocations: 75.94 kB / 434.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/0.5854, allocations: 1.565 MB / 435.9 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.5981, allocations: 4.144 MB / 440.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04632/0.6445, allocations: 20.67 MB / 460.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.6472, allocations: 338.2 kB / 461.1 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008101/0.6553, allocations: 3.58 MB / 464.7 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.053e-05/0.6555, allocations: 117.8 kB / 464.8 MB, free: 7.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.885e-06/0.6555, allocations: 0 / 464.8 MB, free: 7.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.002049/0.6576, allocations: 0.8308 MB / 465.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.6577, allocations: 134.6 kB / 465.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5836/1.241, allocations: 10.56 MB / 476.3 MB, free: 110.3 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/1.241, allocations: 25.7 kB / 476.3 MB, free: 110.3 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008071/1.249, allocations: 5.019 MB / 481.3 MB, free: 106.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.25, allocations: 95.7 kB / 481.4 MB, free: 106.4 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/1.25, allocations: 79.84 kB / 481.5 MB, free: 106.3 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0003411/1.25, allocations: 487.3 kB / 482 MB, free: 105.9 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/1.253, allocations: 0.7424 MB / 482.7 MB, free: 105.7 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005114/1.258, allocations: 3.957 MB / 486.7 MB, free: 101.1 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/1.263, allocations: 1.612 MB / 488.3 MB, free: 100.5 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000203/1.263, allocations: 34.28 kB / 488.3 MB, free: 100.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01459/1.278, allocations: 4.203 MB / 492.5 MB, free: 98.97 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/1.278, allocations: 60.16 kB / 492.6 MB, free: 98.97 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002847/1.279, allocations: 116.5 kB / 492.7 MB, free: 98.97 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/1.279, allocations: 174.4 kB / 492.9 MB, free: 98.97 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/1.285, allocations: 0.9778 MB / 493.9 MB, free: 98.84 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002884/1.285, allocations: 222.6 kB / 494.1 MB, free: 98.79 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00895/1.294, allocations: 0.6608 MB / 494.7 MB, free: 98.41 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007987/1.295, allocations: 285.9 kB / 495 MB, free: 98.38 MB / 394.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 () * 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.009461/1.304, allocations: 3.399 MB / 498.4 MB, free: 97.06 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/1.306, allocations: 0.9126 MB / 499.3 MB, free: 96.5 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.309, allocations: 1.016 MB / 0.4886 GB, free: 96.06 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/1.309, allocations: 185.4 kB / 0.4888 GB, free: 95.88 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-05/1.309, allocations: 184.2 kB / 0.489 GB, free: 95.69 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.412e-05/1.309, allocations: 184.2 kB / 0.4891 GB, free: 95.5 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/1.32, allocations: 5.119 MB / 0.4941 GB, free: 92.58 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.32, allocations: 102.3 kB / 0.4942 GB, free: 92.48 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/1.32, allocations: 104.9 kB / 0.4943 GB, free: 92.37 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-05/1.32, allocations: 181.5 kB / 0.4945 GB, free: 92.19 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/1.32, allocations: 188.9 kB / 0.4947 GB, free: 92 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.137e-05/1.32, allocations: 181.6 kB / 0.4949 GB, free: 91.82 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.18e-05/1.32, allocations: 181.6 kB / 0.495 GB, free: 91.63 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/1.322, allocations: 1.15 MB / 0.4962 GB, free: 90.81 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/1.324, allocations: 1.224 MB / 0.4974 GB, free: 89.81 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.326, allocations: 185.5 kB / 0.4975 GB, free: 89.62 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/1.328, allocations: 175 kB / 0.4977 GB, free: 89.52 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/1.328, allocations: 180.2 kB / 0.4979 GB, free: 89.33 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/1.328, allocations: 107 kB / 0.498 GB, free: 89.22 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01675/1.345, allocations: 7.174 MB / 0.505 GB, free: 82.2 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.81e-07/1.345, allocations: 0 / 0.505 GB, free: 82.2 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.006079/1.351, allocations: 1.139 MB / 0.5061 GB, free: 81.05 MB / 394.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 () * 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.002272/1.353, allocations: 1.728 MB / 0.5078 GB, free: 79.3 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00407/1.357, allocations: 1.837 MB / 0.5096 GB, free: 77.52 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.357, allocations: 0 / 0.5096 GB, free: 77.52 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/1.357, allocations: 0 / 0.5096 GB, free: 77.52 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02246/1.38, allocations: 3.294 MB / 0.5128 GB, free: 74.39 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2632/1.643, allocations: 84.06 MB / 0.5949 GB, free: 15.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/1.656, allocations: 5.449 MB / 0.6002 GB, free: 10.11 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008357/1.664, allocations: 4.174 MB / 0.6043 GB, free: 5.934 MB / 426.8 MB Notification: Performance of SimCode: time 1.193e-06/1.664, allocations: 0 / 0.6043 GB, free: 5.934 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.463/9.127, allocations: 200.4 MB / 0.8 GB, free: 117.1 MB / 458.8 MB