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 1.887/1.887, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006306/0.0006307, allocations: 15.98 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3887, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/0.6189, allocations: 84.79 MB / 416.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.6193, allocations: 67.97 kB / 416.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7029/1.322, allocations: 78 MB / 494.2 MB, free: 82.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.987e-06/1.322, allocations: 4 kB / 494.2 MB, free: 82.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001017/1.323, allocations: 135.4 kB / 494.3 MB, free: 82.58 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.02077/1.344, allocations: 8.221 MB / 0.4908 GB, free: 78.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.344, allocations: 8 kB / 0.4908 GB, free: 78.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002336/1.347, allocations: 0.6494 MB / 0.4914 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/1.351, allocations: 1.132 MB / 0.4925 GB, free: 77.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/1.363, allocations: 4.126 MB / 0.4966 GB, free: 76.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.363, allocations: 190.2 kB / 0.4967 GB, free: 76.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/1.364, allocations: 243.7 kB / 0.497 GB, free: 76.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/1.38, allocations: 6.391 MB / 0.5032 GB, free: 74.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.52e-05/1.38, allocations: 12.09 kB / 0.5032 GB, free: 74.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000582/1.38, allocations: 109.8 kB / 0.5033 GB, free: 74.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/1.382, allocations: 1.011 MB / 0.5043 GB, free: 74.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.393, allocations: 3.99 MB / 0.5082 GB, free: 73.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/1.432, allocations: 20.15 MB / 0.5279 GB, free: 62.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/1.435, allocations: 336.3 kB / 0.5282 GB, free: 61.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006566/1.441, allocations: 3.429 MB / 0.5316 GB, free: 58.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/1.441, allocations: 109.8 kB / 0.5317 GB, free: 58.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.604e-06/1.441, allocations: 0 / 0.5317 GB, free: 58.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.001535/1.443, allocations: 0.8386 MB / 0.5325 GB, free: 57.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.443, allocations: 126.7 kB / 0.5326 GB, free: 57.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0234/1.466, allocations: 9.275 MB / 0.5417 GB, free: 49.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.466, allocations: 25.7 kB / 0.5417 GB, free: 49.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005904/1.472, allocations: 5.012 MB / 0.5466 GB, free: 44.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/1.473, allocations: 95.91 kB / 0.5467 GB, free: 44.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.473, allocations: 84 kB / 0.5468 GB, free: 44.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/1.473, allocations: 491.8 kB / 0.5472 GB, free: 43.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.475, allocations: 0.7381 MB / 0.5479 GB, free: 43.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/1.478, allocations: 3.945 MB / 0.5518 GB, free: 37.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/1.481, allocations: 1.607 MB / 0.5534 GB, free: 35.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-05/1.481, allocations: 36 kB / 0.5534 GB, free: 35.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.00979/1.491, allocations: 4.199 MB / 0.5575 GB, free: 31.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/1.491, allocations: 64.02 kB / 0.5576 GB, free: 31.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/1.491, allocations: 116 kB / 0.5577 GB, free: 31.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/1.491, allocations: 168 kB / 0.5578 GB, free: 31.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004441/1.496, allocations: 0.9786 MB / 0.5588 GB, free: 30.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001699/1.496, allocations: 227.1 kB / 0.559 GB, free: 30.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.502, allocations: 0.6304 MB / 0.5596 GB, free: 29.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/1.502, allocations: 284 kB / 0.5599 GB, free: 29.18 MB / 394.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.007266/1.51, allocations: 3.405 MB / 0.5632 GB, free: 25.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.511, allocations: 0.9108 MB / 0.5641 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/1.514, allocations: 1.011 MB / 0.5651 GB, free: 23.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.514, allocations: 192.2 kB / 0.5653 GB, free: 23.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-05/1.514, allocations: 176.3 kB / 0.5654 GB, free: 23.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/1.514, allocations: 180.2 kB / 0.5656 GB, free: 23.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/1.527, allocations: 5.123 MB / 0.5706 GB, free: 18.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/1.528, allocations: 107.2 kB / 0.5707 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/1.528, allocations: 112.9 kB / 0.5708 GB, free: 17.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.492e-05/1.528, allocations: 176.3 kB / 0.571 GB, free: 17.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/1.528, allocations: 180.2 kB / 0.5712 GB, free: 17.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.092e-05/1.528, allocations: 180.3 kB / 0.5713 GB, free: 17.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.15e-05/1.528, allocations: 184 kB / 0.5715 GB, free: 17.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/1.529, allocations: 1.167 MB / 0.5727 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.531, allocations: 1.065 MB / 0.5737 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.532, allocations: 180.3 kB / 0.5739 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.535, allocations: 137 kB / 0.574 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.535, allocations: 188.2 kB / 0.5742 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.535, allocations: 105 kB / 0.5743 GB, free: 14.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01865/1.554, allocations: 7.126 MB / 0.5812 GB, free: 7.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.554, allocations: 0 / 0.5812 GB, free: 7.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005921/1.56, allocations: 1.155 MB / 0.5824 GB, free: 5.949 MB / 394.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.002087/1.562, allocations: 1.724 MB / 0.584 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003943/1.566, allocations: 1.843 MB / 0.5858 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.566, allocations: 0 / 0.5858 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/1.566, allocations: 0.6875 kB / 0.5858 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02115/1.587, allocations: 3.291 MB / 0.5891 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6919/2.279, allocations: 167.7 MB / 0.7529 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/2.292, allocations: 5.445 MB / 0.7582 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008836/2.301, allocations: 4.127 MB / 0.7622 GB, free: 8.492 MB / 458.7 MB Notification: Performance of SimCode: time 1.442e-06/2.301, allocations: 1.312 kB / 0.7622 GB, free: 8.492 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.82/10.12, allocations: 197.6 MB / 0.9552 GB, free: 90.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat does not exist to compare? outputFormat=mat