Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="// No comparison signals available. Just an animation test.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000789/0.0007897, allocations: 8 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3028, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0706/0.3735, allocations: 45.83 MB / 415 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0249/0.3984, allocations: 9.646 MB / 424.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008846/0.4073, allocations: 227.5 kB / 424.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007285/0.4147, allocations: 2.368 MB / 427.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02202/0.4367, allocations: 6.561 MB / 433.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.4391, allocations: 287.6 kB / 434.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.4414, allocations: 0.8807 MB / 435 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005191/0.4466, allocations: 2.827 MB / 437.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.4477, allocations: 0.5486 MB / 438.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.4516, allocations: 2.147 MB / 440.5 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.4521, allocations: 68 kB / 440.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009836/0.4531, allocations: 307.5 kB / 440.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.4563, allocations: 2.894 MB / 443.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.4579, allocations: 1.391 MB / 445.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009155/0.4671, allocations: 6.863 MB / 452 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4671, allocations: 0 / 452 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.462e-06/0.4671, allocations: 3.938 kB / 452 MB, free: 7.605 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001984/0.4673, allocations: 0 / 452 MB, free: 7.605 MB / 378.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.01473/0.4821, allocations: 7.98 MB / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4821, allocations: 12.03 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.484, allocations: 0.9666 MB / 461 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.492, allocations: 3.702 MB / 464.7 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.4922, allocations: 135.3 kB / 464.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.4925, allocations: 163.9 kB / 465 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.5046, allocations: 6.627 MB / 471.6 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/0.5047, allocations: 7.938 kB / 471.6 MB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.5049, allocations: 75.94 kB / 471.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.5071, allocations: 1.561 MB / 473.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5728/1.08, allocations: 4.141 MB / 477.4 MB, free: 89.75 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/1.112, allocations: 20.67 MB / 498 MB, free: 76.21 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/1.114, allocations: 334.2 kB / 498.4 MB, free: 75.87 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005258/1.119, allocations: 3.59 MB / 0.4902 GB, free: 71.93 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.119, allocations: 113.8 kB / 0.4903 GB, free: 71.81 MB / 394.8 MB Notification: Performance of pre-optimization done (n=0): time 3.088e-06/1.119, allocations: 0 / 0.4903 GB, free: 71.81 MB / 394.8 MB Notification: Performance of matching and sorting (n=0): time 0.001123/1.12, allocations: 0.8347 MB / 0.4911 GB, free: 70.96 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.12, allocations: 130.7 kB / 0.4912 GB, free: 70.82 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01787/1.138, allocations: 10.57 MB / 0.5016 GB, free: 60.3 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-06/1.138, allocations: 25.7 kB / 0.5016 GB, free: 60.27 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004031/1.142, allocations: 5.013 MB / 0.5065 GB, free: 55.26 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.142, allocations: 87.91 kB / 0.5066 GB, free: 55.18 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.143, allocations: 84 kB / 0.5066 GB, free: 55.09 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001947/1.143, allocations: 483.8 kB / 0.5071 GB, free: 54.61 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/1.144, allocations: 0.742 MB / 0.5078 GB, free: 53.86 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/1.147, allocations: 3.957 MB / 0.5117 GB, free: 48.23 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/1.149, allocations: 1.611 MB / 0.5133 GB, free: 46.62 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-05/1.149, allocations: 35.94 kB / 0.5133 GB, free: 46.58 MB / 394.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008363/1.158, allocations: 4.209 MB / 0.5174 GB, free: 42.37 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.158, allocations: 55.95 kB / 0.5175 GB, free: 42.31 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.158, allocations: 120.8 kB / 0.5176 GB, free: 42.2 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/1.158, allocations: 164 kB / 0.5177 GB, free: 42.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/1.161, allocations: 0.9863 MB / 0.5187 GB, free: 41.05 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001689/1.161, allocations: 231.1 kB / 0.5189 GB, free: 40.82 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/1.166, allocations: 0.6578 MB / 0.5196 GB, free: 40.16 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/1.167, allocations: 288 kB / 0.5198 GB, free: 39.88 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.005159/1.172, allocations: 3.398 MB / 0.5232 GB, free: 36.46 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.173, allocations: 0.9082 MB / 0.524 GB, free: 35.54 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/1.175, allocations: 1.026 MB / 0.525 GB, free: 34.5 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.175, allocations: 176.3 kB / 0.5252 GB, free: 34.32 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-05/1.175, allocations: 184.2 kB / 0.5254 GB, free: 34.13 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/1.175, allocations: 184.2 kB / 0.5256 GB, free: 33.95 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007959/1.183, allocations: 5.122 MB / 0.5306 GB, free: 28.75 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.183, allocations: 101 kB / 0.5307 GB, free: 28.65 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/1.183, allocations: 105 kB / 0.5308 GB, free: 28.54 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.128e-05/1.183, allocations: 184.1 kB / 0.5309 GB, free: 28.35 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/1.183, allocations: 186.1 kB / 0.5311 GB, free: 28.16 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.952e-05/1.183, allocations: 188.2 kB / 0.5313 GB, free: 27.97 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-05/1.183, allocations: 180.3 kB / 0.5315 GB, free: 27.79 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.184, allocations: 1.143 MB / 0.5326 GB, free: 26.61 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.186, allocations: 1.225 MB / 0.5338 GB, free: 25.35 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007773/1.187, allocations: 185.1 kB / 0.534 GB, free: 25.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.189, allocations: 180.9 kB / 0.5341 GB, free: 24.98 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/1.189, allocations: 180.2 kB / 0.5343 GB, free: 24.79 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.189, allocations: 108.9 kB / 0.5344 GB, free: 24.68 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01262/1.201, allocations: 7.172 MB / 0.5414 GB, free: 17.56 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.202e-06/1.201, allocations: 0 / 0.5414 GB, free: 17.56 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005097/1.206, allocations: 1.143 MB / 0.5425 GB, free: 16.41 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.0002702/1.207, allocations: 200.8 kB / 0.5427 GB, free: 16.22 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003211/1.21, allocations: 1.84 MB / 0.5445 GB, free: 14.41 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.21, allocations: 4.062 kB / 0.5445 GB, free: 14.4 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 5.241e-06/1.21, allocations: 3.938 kB / 0.5445 GB, free: 14.4 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/1.223, allocations: 3.283 MB / 0.5477 GB, free: 11.11 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/1.256, allocations: 18.96 MB / 0.5662 GB, free: 8.102 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/1.268, allocations: 5.449 MB / 0.5716 GB, free: 2.617 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.269, allocations: 0.5188 MB / 0.5721 GB, free: 2.098 MB / 410.8 MB Notification: Performance of SimCode: time 1.613e-06/1.269, allocations: 0 / 0.5721 GB, free: 2.098 MB / 410.8 MB Notification: Performance of Templates: time 0.5453/1.814, allocations: 134.5 MB / 0.7034 GB, free: 122.7 MB / 490.8 MB