Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 103.8 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 189.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.363/0.363, allocations: 43.5 MB / 313.6 MB, free: 8.562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 63.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.167, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2816/0.4487, allocations: 55.87 MB / 496 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02676/0.4755, allocations: 10.31 MB / 0.4944 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01527/0.4908, allocations: 238.5 kB / 0.4946 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005662/0.4965, allocations: 2.584 MB / 0.4972 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.5001, allocations: 0.9583 MB / 0.4981 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.5011, allocations: 249.2 kB / 0.4983 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.5037, allocations: 1.532 MB / 0.4998 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.5067, allocations: 2.577 MB / 0.5023 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.5083, allocations: 0.9672 MB / 0.5033 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006131/0.5145, allocations: 3.583 MB / 0.5068 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007332/0.5152, allocations: 186.8 kB / 0.507 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009279/0.5162, allocations: 271.7 kB / 0.5072 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003392/0.5196, allocations: 3.01 MB / 0.5102 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003882/0.5235, allocations: 3.344 MB / 0.5134 GB, free: 132 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.5369, allocations: 9.228 MB / 0.5224 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.5369, allocations: 0 / 0.5224 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.537, allocations: 2.219 kB / 0.5224 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005465/0.5375, allocations: 0 / 0.5224 GB, free: 11.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01941/0.5569, allocations: 8.779 MB / 0.531 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/0.557, allocations: 15.89 kB / 0.531 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001115/0.5581, allocations: 0.6157 MB / 0.5316 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.5594, allocations: 0.9666 MB / 0.5326 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.5652, allocations: 3.727 MB / 0.5362 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.5653, allocations: 135.3 kB / 0.5363 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.5655, allocations: 163.9 kB / 0.5365 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008329/0.5738, allocations: 6.604 MB / 0.543 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.5739, allocations: 7.938 kB / 0.543 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.574, allocations: 75.94 kB / 0.543 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.5756, allocations: 1.564 MB / 0.5446 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006529/0.5821, allocations: 4.135 MB / 0.5486 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.6139, allocations: 20.4 MB / 0.5685 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.6157, allocations: 338.2 kB / 0.5688 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.6159, allocations: 60.77 kB / 0.5689 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005241/0.6211, allocations: 3.269 MB / 0.5721 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.6212, allocations: 109.8 kB / 0.5722 GB, free: 8.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.6212, allocations: 0 / 0.5722 GB, free: 8.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.00096/0.6222, allocations: 0.8424 MB / 0.573 GB, free: 7.871 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.6222, allocations: 126.7 kB / 0.5731 GB, free: 7.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01786/0.6401, allocations: 10.54 MB / 0.5834 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6402, allocations: 29.7 kB / 0.5835 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005175/0.6453, allocations: 5.838 MB / 0.5892 GB, free: 7.324 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6455, allocations: 87.91 kB / 0.5893 GB, free: 7.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009486/0.6465, allocations: 0.8289 MB / 0.5901 GB, free: 6.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6466, allocations: 301.1 kB / 0.5904 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.6476, allocations: 0.7615 MB / 0.5911 GB, free: 5.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.6507, allocations: 3.995 MB / 0.595 GB, free: 15.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005203/0.656, allocations: 5.208 MB / 0.6001 GB, free: 8.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.204e-05/0.656, allocations: 36 kB / 0.6001 GB, free: 8.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007896/0.6639, allocations: 4.916 MB / 0.6049 GB, free: 3.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.664, allocations: 52 kB / 0.605 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.805e-05/0.6641, allocations: 120 kB / 0.6051 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.6643, allocations: 155.9 kB / 0.6052 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.6665, allocations: 0.9864 MB / 0.6062 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001699/0.6666, allocations: 231 kB / 0.6064 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.6708, allocations: 0.5962 MB / 0.607 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/0.6711, allocations: 289.6 kB / 0.6073 GB, free: 1.402 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (537): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006378/0.6775, allocations: 3.417 MB / 0.6106 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/0.679, allocations: 0.9082 MB / 0.6115 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.6812, allocations: 1.027 MB / 0.6125 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.716e-05/0.6813, allocations: 176.3 kB / 0.6127 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-05/0.6813, allocations: 176.8 kB / 0.6128 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/0.6814, allocations: 184.2 kB / 0.613 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009528/0.6909, allocations: 5.135 MB / 0.618 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/0.691, allocations: 104.9 kB / 0.6181 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.691, allocations: 106.1 kB / 0.6182 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.706e-05/0.6911, allocations: 176.3 kB / 0.6184 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.6912, allocations: 200.2 kB / 0.6186 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-05/0.6913, allocations: 176.3 kB / 0.6188 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.987e-05/0.6914, allocations: 184.2 kB / 0.6189 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.6928, allocations: 1.155 MB / 0.6201 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.6942, allocations: 0.9013 MB / 0.6209 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006124/0.6948, allocations: 184.2 kB / 0.6211 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.6956, allocations: 110.4 kB / 0.6212 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.6957, allocations: 176.3 kB / 0.6214 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.6957, allocations: 101 kB / 0.6215 GB, free: 2.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01525/0.711, allocations: 7.15 MB / 0.6285 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.711, allocations: 3.938 kB / 0.6285 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005004/0.716, allocations: 1.128 MB / 0.6296 GB, free: 10.34 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/0.718, allocations: 1.7 MB / 0.6312 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003426/0.7214, allocations: 1.871 MB / 0.6331 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7214, allocations: 0 / 0.6331 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.7214, allocations: 0 / 0.6331 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/0.7362, allocations: 3.459 MB / 0.6364 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4314/1.168, allocations: 96.89 MB / 0.7311 GB, free: 88.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008151/1.176, allocations: 5.273 MB / 0.7362 GB, free: 84.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006982/1.183, allocations: 2.093 MB / 0.7382 GB, free: 83.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005225/1.188, allocations: 4.059 MB / 0.7422 GB, free: 79.73 MB / 0.4981 GB Notification: Performance of SimCode: time 1.422e-06/1.188, allocations: 8 kB / 0.7422 GB, free: 79.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4451/1.633, allocations: 160.3 MB / 0.8988 GB, free: 136.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.633, allocations: 205.8 kB / 0.899 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/8.701, allocations: 3.938 kB / 0.899 GB, free: 136.6 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)