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.001397/0.001397, allocations: 109.4 kB / 16.41 MB, free: 6.016 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.001532/0.001532, allocations: 192 kB / 17.34 MB, free: 5.609 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.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2158/0.2158, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.002149/0.002149, allocations: 81.45 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1032, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01213/0.1153, allocations: 10.39 MB / 0.4975 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006469/0.1218, allocations: 3.029 MB / 0.5005 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.123, allocations: 63.81 kB / 0.5006 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005127/0.1282, allocations: 2.675 MB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.1308, allocations: 1.031 MB / 0.5042 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006714/0.1314, allocations: 271.5 kB / 0.5044 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.1335, allocations: 1.517 MB / 0.5059 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.1363, allocations: 2.453 MB / 0.5083 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1376, allocations: 0.946 MB / 0.5092 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.142, allocations: 3.32 MB / 0.5125 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.1425, allocations: 188 kB / 0.5127 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007241/0.1432, allocations: 271.8 kB / 0.5129 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.1456, allocations: 2.919 MB / 0.5158 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003274/0.1489, allocations: 3.341 MB / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.159, allocations: 9.808 MB / 0.5286 GB, free: 1.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1591, allocations: 0 / 0.5286 GB, free: 1.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1591, allocations: 0 / 0.5286 GB, free: 1.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000336/0.1594, allocations: 0 / 0.5286 GB, free: 1.879 MB / 414.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.2095/0.3689, allocations: 9.111 MB / 0.5375 GB, free: 33.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.369, allocations: 15.02 kB / 0.5375 GB, free: 33.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/0.3701, allocations: 0.6148 MB / 0.5381 GB, free: 33.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.3721, allocations: 1.031 MB / 0.5391 GB, free: 32.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/0.3788, allocations: 3.827 MB / 0.5429 GB, free: 30.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3789, allocations: 134.5 kB / 0.543 GB, free: 30.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.3792, allocations: 164.5 kB / 0.5431 GB, free: 30.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.3893, allocations: 6.605 MB / 0.5496 GB, free: 28.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.3893, allocations: 11.25 kB / 0.5496 GB, free: 28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.3895, allocations: 74.45 kB / 0.5497 GB, free: 27.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001866/0.3914, allocations: 1.562 MB / 0.5512 GB, free: 27.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/0.3997, allocations: 4.144 MB / 0.5553 GB, free: 26.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02619/0.4259, allocations: 20.31 MB / 0.5751 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4274, allocations: 341.9 kB / 0.5754 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.4275, allocations: 56.83 kB / 0.5755 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004346/0.4319, allocations: 3.288 MB / 0.5787 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4319, allocations: 105.8 kB / 0.5788 GB, free: 3.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 3.075e-06/0.4319, allocations: 6.859 kB / 0.5788 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008617/0.4328, allocations: 0.8748 MB / 0.5796 GB, free: 3.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4328, allocations: 126.7 kB / 0.5798 GB, free: 2.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01603/0.4488, allocations: 10.57 MB / 0.5901 GB, free: 8.422 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4489, allocations: 25.7 kB / 0.5901 GB, free: 8.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005763/0.4547, allocations: 5.954 MB / 0.5959 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4549, allocations: 92.55 kB / 0.596 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.4559, allocations: 0.8299 MB / 0.5968 GB, free: 1.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4561, allocations: 305.1 kB / 0.5971 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4572, allocations: 0.7577 MB / 0.5979 GB, free: 420 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.4612, allocations: 4.002 MB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006212/0.4674, allocations: 5.197 MB / 0.6068 GB, free: 3.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.834e-05/0.4675, allocations: 32 kB / 0.6069 GB, free: 3.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009074/0.4766, allocations: 4.967 MB / 0.6117 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/0.4767, allocations: 59.98 kB / 0.6118 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.4769, allocations: 123.9 kB / 0.6119 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.477, allocations: 152.7 kB / 0.612 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.4795, allocations: 0.9825 MB / 0.613 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.4797, allocations: 227.1 kB / 0.6132 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.4844, allocations: 0.6204 MB / 0.6138 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004594/0.4849, allocations: 288 kB / 0.6141 GB, free: 12.43 MB / 462.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.005567/0.4905, allocations: 3.405 MB / 0.6174 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/0.4922, allocations: 0.9522 MB / 0.6184 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.4945, allocations: 1.015 MB / 0.6193 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-05/0.4946, allocations: 192.2 kB / 0.6195 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/0.4947, allocations: 176.3 kB / 0.6197 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-05/0.4948, allocations: 184.2 kB / 0.6199 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5049, allocations: 5.141 MB / 0.6249 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-05/0.505, allocations: 104.9 kB / 0.625 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.5051, allocations: 108.9 kB / 0.6251 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.856e-05/0.5052, allocations: 176.3 kB / 0.6253 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.5053, allocations: 184.2 kB / 0.6254 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.928e-05/0.5054, allocations: 184.2 kB / 0.6256 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.858e-05/0.5054, allocations: 176.3 kB / 0.6258 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.5078, allocations: 1.203 MB / 0.627 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/0.5105, allocations: 0.9492 MB / 0.6279 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/0.512, allocations: 180.3 kB / 0.6281 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5134, allocations: 109 kB / 0.6282 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.5135, allocations: 184.2 kB / 0.6283 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.5136, allocations: 101 kB / 0.6284 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01417/0.5277, allocations: 7.146 MB / 0.6354 GB, free: 6.402 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.687e-06/0.5278, allocations: 0 / 0.6354 GB, free: 6.402 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005345/0.5331, allocations: 1.137 MB / 0.6365 GB, free: 5.262 MB / 478.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.002198/0.5354, allocations: 1.756 MB / 0.6382 GB, free: 3.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.5386, allocations: 1.87 MB / 0.6401 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5387, allocations: 0 / 0.6401 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.5387, allocations: 0 / 0.6401 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01648/0.5552, allocations: 3.455 MB / 0.6434 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1334/0.6886, allocations: 62.49 MB / 0.7045 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009436/0.6981, allocations: 5.281 MB / 0.7096 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006741/0.7049, allocations: 2.098 MB / 0.7117 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005949/0.7109, allocations: 4.061 MB / 0.7156 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.7109, allocations: 0 / 0.7156 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6209/1.332, allocations: 154.3 MB / 0.8663 GB, free: 90.43 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.23/37.56, allocations: 7.25 kB / 0.8663 GB, free: 90.43 MB / 0.5763 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)