Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001467/0.001467, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.578/1.578, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3477/0.3477, allocations: 39.93 MB / 309.3 MB, free: 9.617 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2668/0.3971, allocations: 55.86 MB / 489.7 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.4184, allocations: 10.37 MB / 0.4883 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.4289, allocations: 239.8 kB / 0.4885 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004685/0.4337, allocations: 2.676 MB / 0.4911 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.4378, allocations: 0.9571 MB / 0.4921 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.4387, allocations: 250.4 kB / 0.4923 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.4425, allocations: 2.545 MB / 0.4948 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.446, allocations: 2.483 MB / 0.4972 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.4479, allocations: 0.8933 MB / 0.4981 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.4535, allocations: 3.55 MB / 0.5016 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000582/0.4541, allocations: 165.3 kB / 0.5017 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.455, allocations: 267.9 kB / 0.502 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002401/0.4574, allocations: 2.988 MB / 0.5049 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.46, allocations: 3.3 MB / 0.5081 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.4683, allocations: 8.405 MB / 0.5163 GB, free: 0.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4683, allocations: 0 / 0.5163 GB, free: 0.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4684, allocations: 2.312 kB / 0.5163 GB, free: 0.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004063/0.4688, allocations: 0 / 0.5163 GB, free: 0.75 MB / 382.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.01714/0.4859, allocations: 8.775 MB / 0.5249 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.486, allocations: 9.031 kB / 0.5249 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.4883, allocations: 0.9704 MB / 0.5259 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006806/0.4952, allocations: 3.729 MB / 0.5295 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4953, allocations: 131.3 kB / 0.5296 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.4956, allocations: 164 kB / 0.5298 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.5062, allocations: 6.604 MB / 0.5362 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.5063, allocations: 7.938 kB / 0.5362 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.5065, allocations: 75.95 kB / 0.5363 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.5082, allocations: 1.568 MB / 0.5378 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/0.5157, allocations: 4.134 MB / 0.5419 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.5463, allocations: 20.39 MB / 0.5618 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5479, allocations: 342.2 kB / 0.5621 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.548, allocations: 60.81 kB / 0.5622 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004946/0.553, allocations: 3.269 MB / 0.5654 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.553, allocations: 109.8 kB / 0.5655 GB, free: 1.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.553, allocations: 4 kB / 0.5655 GB, free: 1.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.001027/0.5541, allocations: 0.8385 MB / 0.5663 GB, free: 448 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.5542, allocations: 134.7 kB / 0.5664 GB, free: 300 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0266/0.5808, allocations: 10.55 MB / 0.5767 GB, free: 5.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5808, allocations: 25.7 kB / 0.5768 GB, free: 5.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008593/0.5894, allocations: 5.83 MB / 0.5824 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.5898, allocations: 95.89 kB / 0.5825 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/0.5923, allocations: 0.8135 MB / 0.5833 GB, free: 14.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5925, allocations: 309.1 kB / 0.5836 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.5942, allocations: 0.7615 MB / 0.5844 GB, free: 13.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/0.5984, allocations: 3.999 MB / 0.5883 GB, free: 8.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/0.6044, allocations: 5.193 MB / 0.5933 GB, free: 1.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.6046, allocations: 35.94 kB / 0.5934 GB, free: 1.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009759/0.6143, allocations: 4.924 MB / 0.5982 GB, free: 12.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.6145, allocations: 56 kB / 0.5982 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/0.6147, allocations: 126.2 kB / 0.5984 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.6149, allocations: 155.9 kB / 0.5985 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.6175, allocations: 0.9786 MB / 0.5995 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001895/0.6178, allocations: 231.1 kB / 0.5997 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/0.6226, allocations: 0.6031 MB / 0.6003 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006837/0.6233, allocations: 288 kB / 0.6006 GB, free: 9.965 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.008317/0.6317, allocations: 3.405 MB / 0.6039 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002701/0.6344, allocations: 0.9081 MB / 0.6048 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/0.6379, allocations: 1.019 MB / 0.6058 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-05/0.638, allocations: 188.1 kB / 0.6059 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/0.6381, allocations: 180.3 kB / 0.6061 GB, free: 4.219 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.56e-05/0.6382, allocations: 188.2 kB / 0.6063 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.6564, allocations: 5.127 MB / 0.6113 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/0.6565, allocations: 104.9 kB / 0.6114 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.6566, allocations: 108.9 kB / 0.6115 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.6567, allocations: 180.3 kB / 0.6117 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/0.6568, allocations: 184.2 kB / 0.6118 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.937e-05/0.6569, allocations: 184.2 kB / 0.612 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.487e-05/0.657, allocations: 184.2 kB / 0.6122 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.6598, allocations: 1.148 MB / 0.6133 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003649/0.6634, allocations: 0.9052 MB / 0.6142 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002626/0.6661, allocations: 180.2 kB / 0.6144 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/0.6687, allocations: 112.8 kB / 0.6145 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.6688, allocations: 180.3 kB / 0.6147 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.6689, allocations: 101 kB / 0.6148 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01927/0.6881, allocations: 7.146 MB / 0.6217 GB, free: 4.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.6882, allocations: 0 / 0.6217 GB, free: 4.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007169/0.6954, allocations: 1.128 MB / 0.6228 GB, free: 2.922 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.0003278/0.6957, allocations: 178.4 kB / 0.623 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.6994, allocations: 1.866 MB / 0.6248 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6994, allocations: 0 / 0.6248 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.6994, allocations: 3.938 kB / 0.6248 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2611/0.9605, allocations: 3.237 MB / 0.628 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/0.997, allocations: 18.84 MB / 0.6464 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/1.009, allocations: 5.28 MB / 0.6515 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009895/1.019, allocations: 2.1 MB / 0.6536 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.021, allocations: 402.4 kB / 0.654 GB, free: 135.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.021, allocations: 3.156 kB / 0.654 GB, free: 135.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1623/1.183, allocations: 86.83 MB / 0.7388 GB, free: 66.93 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)