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.0007948/0.0007948, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008295/0.0008296, allocations: 185.8 kB / 16.92 MB, free: 6.918 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.289/1.289, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.314/0.314, allocations: 43.57 MB / 315 MB, free: 8.766 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.0004934/0.0004934, allocations: 12 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2305/0.3394, allocations: 54.45 MB / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02239/0.3618, allocations: 10.32 MB / 0.4964 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/0.372, allocations: 239.4 kB / 0.4966 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009977/0.373, allocations: 259 kB / 0.4969 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.3753, allocations: 0.9623 MB / 0.4978 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.3759, allocations: 260 kB / 0.4981 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.3785, allocations: 2.539 MB / 0.5005 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003922/0.3824, allocations: 3.162 MB / 0.5036 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.3837, allocations: 0.6829 MB / 0.5043 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005147/0.3889, allocations: 3.274 MB / 0.5075 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.3893, allocations: 72.25 kB / 0.5076 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.39, allocations: 178.2 kB / 0.5077 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00313/0.3931, allocations: 2.85 MB / 0.5105 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3971, allocations: 3.157 MB / 0.5136 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4077, allocations: 8.192 MB / 0.5216 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4078, allocations: 0 / 0.5216 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4078, allocations: 5.188 kB / 0.5216 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004832/0.4083, allocations: 0 / 0.5216 GB, free: 13.37 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.0156/0.4239, allocations: 7.477 MB / 0.5289 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.424, allocations: 13.84 kB / 0.5289 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/0.4258, allocations: 0.616 MB / 0.5295 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.4277, allocations: 0.9718 MB / 0.5305 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.4337, allocations: 3.726 MB / 0.5341 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4338, allocations: 123.4 kB / 0.5342 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.434, allocations: 171.9 kB / 0.5344 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009032/0.4431, allocations: 6.601 MB / 0.5408 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.4432, allocations: 11.92 kB / 0.5408 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.4433, allocations: 79.94 kB / 0.5409 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/0.4451, allocations: 1.564 MB / 0.5424 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007462/0.4525, allocations: 4.136 MB / 0.5465 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/0.4847, allocations: 20.4 MB / 0.5664 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.4864, allocations: 330.2 kB / 0.5667 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4865, allocations: 64.83 kB / 0.5668 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005175/0.4917, allocations: 3.263 MB / 0.57 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.4918, allocations: 105.8 kB / 0.5701 GB, free: 13.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.4918, allocations: 3.938 kB / 0.5701 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001009/0.4928, allocations: 0.8423 MB / 0.5709 GB, free: 12.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4929, allocations: 126.7 kB / 0.571 GB, free: 12.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0187/0.5116, allocations: 10.55 MB / 0.5813 GB, free: 1.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5116, allocations: 25.7 kB / 0.5813 GB, free: 1.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005472/0.5171, allocations: 5.834 MB / 0.587 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.5173, allocations: 95.84 kB / 0.5871 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.5176, allocations: 350.8 kB / 0.5875 GB, free: 11.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5178, allocations: 305.1 kB / 0.5878 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5188, allocations: 0.7577 MB / 0.5885 GB, free: 10.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.5221, allocations: 4.003 MB / 0.5924 GB, free: 4.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/0.5273, allocations: 5.197 MB / 0.5975 GB, free: 13.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.359e-05/0.5274, allocations: 36 kB / 0.5975 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009149/0.5365, allocations: 4.92 MB / 0.6023 GB, free: 8.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.5366, allocations: 59.94 kB / 0.6024 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/0.5367, allocations: 119.9 kB / 0.6025 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.5369, allocations: 152 kB / 0.6026 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.5393, allocations: 0.9792 MB / 0.6036 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.5395, allocations: 231.1 kB / 0.6038 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.5442, allocations: 0.6069 MB / 0.6044 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/0.5446, allocations: 291.9 kB / 0.6047 GB, free: 6.242 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.006924/0.5516, allocations: 3.405 MB / 0.608 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/0.5531, allocations: 0.9043 MB / 0.6089 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.5552, allocations: 1.027 MB / 0.6099 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/0.5553, allocations: 184.2 kB / 0.6101 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.427e-05/0.5554, allocations: 176.3 kB / 0.6102 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.5554, allocations: 188.2 kB / 0.6104 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007635/0.5631, allocations: 5.134 MB / 0.6154 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.5631, allocations: 101 kB / 0.6155 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.5632, allocations: 104.9 kB / 0.6156 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.5632, allocations: 180.3 kB / 0.6158 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.5633, allocations: 188.1 kB / 0.616 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.458e-05/0.5634, allocations: 184.3 kB / 0.6162 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.568e-05/0.5635, allocations: 176.3 kB / 0.6163 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.5647, allocations: 1.155 MB / 0.6175 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.566, allocations: 0.9091 MB / 0.6183 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.5665, allocations: 184.2 kB / 0.6185 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.5673, allocations: 101 kB / 0.6186 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.5674, allocations: 184.5 kB / 0.6188 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.5674, allocations: 105 kB / 0.6189 GB, free: 7.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01312/0.5805, allocations: 7.146 MB / 0.6259 GB, free: 336 kB / 494.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.5806, allocations: 0 / 0.6259 GB, free: 336 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2256/0.8062, allocations: 1.125 MB / 0.627 GB, free: 138 MB / 494.1 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 (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.001655/0.8079, allocations: 1.711 MB / 0.6286 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.8108, allocations: 1.873 MB / 0.6305 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8109, allocations: 0 / 0.6305 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.8109, allocations: 0 / 0.6305 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/0.8231, allocations: 3.232 MB / 0.6336 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2217/1.045, allocations: 96.91 MB / 0.7283 GB, free: 61.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008309/1.053, allocations: 5.281 MB / 0.7334 GB, free: 57.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007453/1.061, allocations: 2.099 MB / 0.7355 GB, free: 55.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005575/1.066, allocations: 4.065 MB / 0.7394 GB, free: 51.6 MB / 494.1 MB Notification: Performance of SimCode: time 3.015e-06/1.066, allocations: 4 kB / 0.7394 GB, free: 51.59 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4447/1.511, allocations: 156.5 MB / 0.8923 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/1.511, allocations: 201.8 kB / 0.8925 GB, free: 127.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.067/7.578, allocations: 4 kB / 0.8925 GB, free: 127.3 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)