Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009528/0.009532, allocations: 162.9 kB / 15.11 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.734/1.734, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.001771, allocations: 110.8 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.451/0.451, allocations: 38.05 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 11.94 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.4365/0.5699, allocations: 48.45 MB / 460.2 MB, free: 22.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0279/0.5978, allocations: 9.149 MB / 469.3 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.6096, allocations: 226.1 kB / 469.5 MB, free: 16.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008312/0.618, allocations: 2.395 MB / 471.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0273/0.6453, allocations: 8.059 MB / 480 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.6488, allocations: 288.3 kB / 480.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.653, allocations: 2.028 MB / 482.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006266/0.6594, allocations: 2.852 MB / 485.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.6614, allocations: 0.6677 MB / 485.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00611/0.6676, allocations: 2.704 MB / 488.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009087/0.6686, allocations: 70.97 kB / 488.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.6704, allocations: 317.8 kB / 488.9 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003861/0.6743, allocations: 2.976 MB / 491.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.6767, allocations: 1.387 MB / 493.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009335/0.686, allocations: 6.875 MB / 0.4884 GB, free: 2.219 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.6861, allocations: 2.219 kB / 0.4884 GB, free: 2.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.6861, allocations: 0 / 0.4884 GB, free: 2.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004931/0.6866, allocations: 0 / 0.4884 GB, free: 2.219 MB / 330.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.02023/0.7069, allocations: 7.976 MB / 0.4962 GB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.707, allocations: 15.97 kB / 0.4962 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001951/0.7089, allocations: 0.6117 MB / 0.4968 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.7118, allocations: 0.9704 MB / 0.4978 GB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.7227, allocations: 3.695 MB / 0.5014 GB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.7229, allocations: 144.1 kB / 0.5015 GB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/0.7235, allocations: 160 kB / 0.5017 GB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.7381, allocations: 6.58 MB / 0.5081 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.7382, allocations: 3.938 kB / 0.5081 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/0.7385, allocations: 79.94 kB / 0.5082 GB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/0.7413, allocations: 1.561 MB / 0.5097 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.7537, allocations: 4.09 MB / 0.5137 GB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04828/0.8021, allocations: 20.67 MB / 0.5339 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.8049, allocations: 342.1 kB / 0.5342 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.8051, allocations: 60.81 kB / 0.5342 GB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008824/0.814, allocations: 3.568 MB / 0.5377 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.914e-05/0.8141, allocations: 113.1 kB / 0.5378 GB, free: 412 kB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.8141, allocations: 4 kB / 0.5378 GB, free: 408 kB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.001996/0.8161, allocations: 0.831 MB / 0.5387 GB, free: 15.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.8162, allocations: 126.7 kB / 0.5388 GB, free: 15.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03367/0.8499, allocations: 10.58 MB / 0.5491 GB, free: 4.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.85, allocations: 25.7 kB / 0.5491 GB, free: 4.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01351/0.8636, allocations: 5.819 MB / 0.5548 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.8639, allocations: 91.91 kB / 0.5549 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.8644, allocations: 84 kB / 0.555 GB, free: 14.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005029/0.8649, allocations: 487 kB / 0.5554 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/0.8682, allocations: 0.7381 MB / 0.5562 GB, free: 13.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007889/0.8761, allocations: 3.957 MB / 0.56 GB, free: 7.949 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00643/0.8827, allocations: 1.611 MB / 0.5616 GB, free: 6.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001462/0.8829, allocations: 40 kB / 0.5616 GB, free: 6.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.02241/0.9053, allocations: 4.858 MB / 0.5664 GB, free: 1.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.9056, allocations: 60.06 kB / 0.5664 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002911/0.9059, allocations: 116 kB / 0.5666 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.9063, allocations: 168 kB / 0.5667 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007741/0.914, allocations: 0.9747 MB / 0.5677 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/0.9145, allocations: 231.1 kB / 0.5679 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/0.9247, allocations: 0.677 MB / 0.5685 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/0.9258, allocations: 284 kB / 0.5688 GB, free: 14.93 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 () * 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.01201/0.9378, allocations: 3.393 MB / 0.5721 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/0.94, allocations: 0.912 MB / 0.573 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.9429, allocations: 1.015 MB / 0.574 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-05/0.943, allocations: 192.2 kB / 0.5742 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-05/0.9431, allocations: 180.2 kB / 0.5744 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/0.9432, allocations: 180.2 kB / 0.5745 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.9579, allocations: 5.13 MB / 0.5795 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/0.958, allocations: 101 kB / 0.5796 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.9581, allocations: 108.9 kB / 0.5797 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.882e-05/0.9581, allocations: 184.2 kB / 0.5799 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.9582, allocations: 180.3 kB / 0.5801 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.07e-05/0.9583, allocations: 180.2 kB / 0.5803 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-05/0.9584, allocations: 176.5 kB / 0.5804 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.9606, allocations: 1.167 MB / 0.5816 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003412/0.964, allocations: 1.213 MB / 0.5828 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/0.966, allocations: 180.2 kB / 0.5829 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/0.9691, allocations: 173 kB / 0.5831 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2842/1.253, allocations: 188.3 kB / 0.5833 GB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/1.253, allocations: 106.3 kB / 0.5834 GB, free: 120.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02178/1.275, allocations: 7.175 MB / 0.5904 GB, free: 120.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.275, allocations: 0 / 0.5904 GB, free: 120.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006299/1.282, allocations: 1.136 MB / 0.5915 GB, free: 120.2 MB / 426.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.002642/1.284, allocations: 1.722 MB / 0.5932 GB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004302/1.289, allocations: 1.844 MB / 0.595 GB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.289, allocations: 0 / 0.595 GB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/1.289, allocations: 3.344 kB / 0.595 GB, free: 118.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02273/1.311, allocations: 3.284 MB / 0.5982 GB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8513/2.163, allocations: 276.8 MB / 0.8685 GB, free: 42.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/2.173, allocations: 5.448 MB / 0.8738 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01516/2.189, allocations: 2.247 MB / 0.876 GB, free: 35.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01341/2.202, allocations: 4.143 MB / 0.8801 GB, free: 31.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/2.202, allocations: 3.5 kB / 0.8801 GB, free: 31.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7345/2.937, allocations: 171.2 MB / 1.047 GB, free: 24.69 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.937, allocations: 196.2 kB / 1.047 GB, free: 24.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/12.11, allocations: 0 / 1.047 GB, free: 24.44 MB / 442.7 MB